Branch: Tag:

2006-08-03

2006-08-03 16:47:20 by Lance Dillon <riffraff169@yahoo.com>

added new widgets for GTK 2.10
conditionally removed obselete widgets
made changes so inherited widgets get returned properlly

Rev: src/post_modules/GTK2/source/constants.pre:1.5
Rev: src/post_modules/GTK2/source/ginitiallyunowned.pre:1.1
Rev: src/post_modules/GTK2/source/gladexml.pre:1.10
Rev: src/post_modules/GTK2/source/gnomedruid.pre:1.4
Rev: src/post_modules/GTK2/source/gnomedruidpage.pre:1.4
Rev: src/post_modules/GTK2/source/gnomedruidpageedge.pre:1.8
Rev: src/post_modules/GTK2/source/gnomedruidpagestandard.pre:1.8
Rev: src/post_modules/GTK2/source/gtkaboutdialog.pre:1.7
Rev: src/post_modules/GTK2/source/gtkaccellabel.pre:1.5
Rev: src/post_modules/GTK2/source/gtkaction.pre:1.7
Rev: src/post_modules/GTK2/source/gtkactiongroup.pre:1.6
Rev: src/post_modules/GTK2/source/gtkassistant.pre:1.1
Rev: src/post_modules/GTK2/source/gtkbin.pre:1.3
Rev: src/post_modules/GTK2/source/gtkbutton.pre:1.11
Rev: src/post_modules/GTK2/source/gtkcelllayout.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrendereraccel.pre:1.1
Rev: src/post_modules/GTK2/source/gtkcellrendererspin.pre:1.1
Rev: src/post_modules/GTK2/source/gtkcellrenderertext.pre:1.5
Rev: src/post_modules/GTK2/source/gtkcellrenderertoggle.pre:1.5
Rev: src/post_modules/GTK2/source/gtkcellview.pre:1.10
Rev: src/post_modules/GTK2/source/gtkclipboard.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcolorbutton.pre:1.9
Rev: src/post_modules/GTK2/source/gtkcombobox.pre:1.7
Rev: src/post_modules/GTK2/source/gtkcontainer.pre:1.5
Rev: src/post_modules/GTK2/source/gtkdialog.pre:1.5
Rev: src/post_modules/GTK2/source/gtkentry.pre:1.8
Rev: src/post_modules/GTK2/source/gtkentrycompletion.pre:1.8
Rev: src/post_modules/GTK2/source/gtkexpander.pre:1.7
Rev: src/post_modules/GTK2/source/gtkfilechooser.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfilechooserbutton.pre:1.8
Rev: src/post_modules/GTK2/source/gtkframe.pre:1.8
Rev: src/post_modules/GTK2/source/gtkiconview.pre:1.6
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.8
Rev: src/post_modules/GTK2/source/gtkimagemenuitem.pre:1.7
Rev: src/post_modules/GTK2/source/gtkinvisible.pre:1.5
Rev: src/post_modules/GTK2/source/gtklabel.pre:1.8
Rev: src/post_modules/GTK2/source/gtklayout.pre:1.6
Rev: src/post_modules/GTK2/source/gtklinkbutton.pre:1.1
Rev: src/post_modules/GTK2/source/gtkliststore.pre:1.14
Rev: src/post_modules/GTK2/source/gtkmenu.pre:1.4
Rev: src/post_modules/GTK2/source/gtkmenuitem.pre:1.8
Rev: src/post_modules/GTK2/source/gtkmenutoolbutton.pre:1.6
Rev: src/post_modules/GTK2/source/gtkmessagedialog.pre:1.3
Rev: src/post_modules/GTK2/source/gtknotebook.pre:1.6
Rev: src/post_modules/GTK2/source/gtkobject.pre:1.3
Rev: src/post_modules/GTK2/source/gtkpagesetup.pre:1.1
Rev: src/post_modules/GTK2/source/gtkpagesetupunixdialog.pre:1.1
Rev: src/post_modules/GTK2/source/gtkpaned.pre:1.3
Rev: src/post_modules/GTK2/source/gtkpapersize.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintbackend.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintcontext.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprinter.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintjob.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintoperation.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintoperationpreview.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintsettings.pre:1.1
Rev: src/post_modules/GTK2/source/gtkprintunixdialog.pre:1.1
Rev: src/post_modules/GTK2/source/gtkradioaction.pre:1.8
Rev: src/post_modules/GTK2/source/gtkradiobutton.pre:1.9
Rev: src/post_modules/GTK2/source/gtkradiomenuitem.pre:1.6
Rev: src/post_modules/GTK2/source/gtkrange.pre:1.3
Rev: src/post_modules/GTK2/source/gtkrecentchooser.pre:1.1
Rev: src/post_modules/GTK2/source/gtkrecentchooserdialog.pre:1.1
Rev: src/post_modules/GTK2/source/gtkrecentchoosermenu.pre:1.1
Rev: src/post_modules/GTK2/source/gtkrecentchooserwidget.pre:1.1
Rev: src/post_modules/GTK2/source/gtkrecentfilter.pre:1.1
Rev: src/post_modules/GTK2/source/gtkrecentmanager.pre:1.1
Rev: src/post_modules/GTK2/source/gtkscale.pre:1.5
Rev: src/post_modules/GTK2/source/gtkscrolledwindow.pre:1.8
Rev: src/post_modules/GTK2/source/gtksettings.pre:1.5
Rev: src/post_modules/GTK2/source/gtksizegroup.pre:1.6
Rev: src/post_modules/GTK2/source/gtkstatusicon.pre:1.1
Rev: src/post_modules/GTK2/source/gtktextattributes.pre:1.6
Rev: src/post_modules/GTK2/source/gtktextbuffer.pre:1.10
Rev: src/post_modules/GTK2/source/gtktextchildanchor.pre:1.4
Rev: src/post_modules/GTK2/source/gtktextiter.pre:1.9
Rev: src/post_modules/GTK2/source/gtktexttagtable.pre:1.3
Rev: src/post_modules/GTK2/source/gtktextview.pre:1.8
Rev: src/post_modules/GTK2/source/gtktoggleaction.pre:1.5
Rev: src/post_modules/GTK2/source/gtktoolbar.pre:1.6
Rev: src/post_modules/GTK2/source/gtktoolbutton.pre:1.6
Rev: src/post_modules/GTK2/source/gtktoolitem.pre:1.5
Rev: src/post_modules/GTK2/source/gtktreedragsource.pre:1.3
Rev: src/post_modules/GTK2/source/gtktreemodel.pre:1.5
Rev: src/post_modules/GTK2/source/gtktreemodelfilter.pre:1.1
Rev: src/post_modules/GTK2/source/gtktreemodelsort.pre:1.1
Rev: src/post_modules/GTK2/source/gtktreeselection.pre:1.8
Rev: src/post_modules/GTK2/source/gtktreesortable.pre:1.3
Rev: src/post_modules/GTK2/source/gtktreestore.pre:1.13
Rev: src/post_modules/GTK2/source/gtktreeview.pre:1.8
Rev: src/post_modules/GTK2/source/gtktreeviewcolumn.pre:1.9
Rev: src/post_modules/GTK2/source/gtkuimanager.pre:1.6
Rev: src/post_modules/GTK2/source/gtkviewport.pre:1.6
Rev: src/post_modules/GTK2/source/gtkwidget.pre:1.12
Rev: src/post_modules/GTK2/source/gtkwindow.pre:1.8

17:   int get_column_type(int index);   //! Returns the type of the column.    - GTK2.TreeIter get_iter(GTK2.TreePath path) + +GTK2.TreeIter get_iter(GTK2.TreePath path)   //! Returns a valid iterator pointer to path   {    pgtk2_verify_inited();
40:    }   }    - GTK2.TreeIter get_iter_from_string(string path) + +GTK2.TreeIter get_iter_from_string(string path)   //! Returns a valid iterator from a path string.   {    pgtk2_verify_inited();
64:    }   }    - GTK2.TreeIter get_iter_first() + +GTK2.TreeIter get_iter_first()   //! Get GTK2.TreeIter with the first iterator in the tree ("0").   {    pgtk2_verify_inited();
85:    }   }    - GTK2.TreePath get_path(GTK2.TreeIter iter) + +GTK2.TreePath get_path(GTK2.TreeIter iter)   //! Returns a GTK2.TreePath from iter.   {    pgtk2_verify_inited();
115:    gti=(GtkTreeIter *)get_pg2object(o1,pgtk2_tree_iter_program);    pgtk2_pop_n_elems(args);    cols=gtk_tree_model_get_n_columns(GTK_TREE_MODEL(THIS->obj)); - /* fprintf(stderr," cols==%d\n",cols); */ +     for (i=0; i<cols; i++) {    GValue v={0,};    gtk_tree_model_get_value(GTK_TREE_MODEL(THIS->obj),gti,i,&v); -  -  push_gvalue_r(&v,G_VALUE_TYPE(&v)); - /* -  switch (G_VALUE_TYPE(&v)) { -  case G_TYPE_CHAR: -  fputs(" char\n",stderr); -  PGTK_PUSH_INT(g_value_get_char(&v)); -  break; -  case G_TYPE_UCHAR: -  fputs(" uchar\n",stderr); -  PGTK_PUSH_INT(g_value_get_uchar(&v)); -  break; -  case G_TYPE_BOOLEAN: -  fputs(" boolean\n",stderr); -  PGTK_PUSH_INT(g_value_get_boolean(&v)); -  break; -  case G_TYPE_INT: -  fputs(" int\n",stderr); -  PGTK_PUSH_INT(g_value_get_int(&v)); -  break; -  case G_TYPE_UINT: -  fputs(" uint\n",stderr); -  PGTK_PUSH_INT(g_value_get_uint(&v)); -  break; -  case G_TYPE_LONG: -  fputs(" long\n",stderr); -  PGTK_PUSH_INT(g_value_get_long(&v)); -  break; -  case G_TYPE_ULONG: -  fputs(" ulong\n",stderr); -  PGTK_PUSH_INT(g_value_get_ulong(&v)); -  break; -  case G_TYPE_INT64: -  fputs(" int64\n",stderr); -  PGTK_PUSH_INT(g_value_get_int64(&v)); -  break; -  case G_TYPE_UINT64: -  fputs(" uint64\n",stderr); -  PGTK_PUSH_INT(g_value_get_uint64(&v)); -  break; -  case G_TYPE_ENUM: -  fputs(" enum\n",stderr); -  PGTK_PUSH_INT(g_value_get_enum(&v)); -  break; -  case G_TYPE_FLAGS: -  fputs(" flags\n",stderr); -  PGTK_PUSH_INT(g_value_get_flags(&v)); -  break; -  case G_TYPE_FLOAT: -  fputs(" float\n",stderr); -  push_float(g_value_get_float(&v)); -  break; -  case G_TYPE_DOUBLE: -  fputs(" double\n",stderr); -  push_float(g_value_get_double(&v)); -  break; -  case G_TYPE_STRING: -  fputs(" string\n",stderr); -  PGTK_PUSH_GCHAR(g_value_get_string(&v)); -  break; -  case G_TYPE_POINTER: -  fputs(" pointer\n",stderr); -  ref_push_object(g_value_get_pointer(&v)); -  break; -  case G_TYPE_PARAM: -  fputs(" param\n",stderr); -  break; -  case G_TYPE_OBJECT: -  fputs(" object\n",stderr); -  push_gobject(G_OBJECT(g_value_get_object(&v))); -  break; -  default: -  fputs(" unknown\n",stderr); -  break; +  pgtk2_push_gvalue_rt(&v);    } -  g_value_unset(&v); - */ -  } +     f_aggregate(cols);    }   }
214:    gtk_tree_model_get_value(GTK_TREE_MODEL(THIS->obj),    (GtkTreeIter *)get_pg2object(o1,pgtk2_tree_iter_program),col,&v);    pgtk2_pop_n_elems(args); -  -  push_gvalue_r(&v,G_VALUE_TYPE(&v)); - /* -  switch (G_VALUE_TYPE(&v)) { -  case G_TYPE_CHAR: -  PGTK_PUSH_INT(g_value_get_char(&v)); -  break; -  case G_TYPE_UCHAR: -  PGTK_PUSH_INT(g_value_get_uchar(&v)); -  break; -  case G_TYPE_BOOLEAN: -  PGTK_PUSH_INT(g_value_get_boolean(&v)); -  break; -  case G_TYPE_INT: -  PGTK_PUSH_INT(g_value_get_int(&v)); -  break; -  case G_TYPE_UINT: -  PGTK_PUSH_INT(g_value_get_uint(&v)); -  break; -  case G_TYPE_LONG: -  PGTK_PUSH_INT(g_value_get_long(&v)); -  break; -  case G_TYPE_ULONG: -  PGTK_PUSH_INT(g_value_get_ulong(&v)); -  break; -  case G_TYPE_INT64: -  PGTK_PUSH_INT(g_value_get_int64(&v)); -  break; -  case G_TYPE_UINT64: -  PGTK_PUSH_INT(g_value_get_uint64(&v)); -  break; -  case G_TYPE_ENUM: -  PGTK_PUSH_INT(g_value_get_enum(&v)); -  break; -  case G_TYPE_FLAGS: -  PGTK_PUSH_INT(g_value_get_flags(&v)); -  break; -  case G_TYPE_FLOAT: -  push_float(g_value_get_float(&v)); -  break; -  case G_TYPE_DOUBLE: -  push_float(g_value_get_double(&v)); -  break; -  case G_TYPE_STRING: -  PGTK_PUSH_GCHAR(g_value_get_string(&v)); -  break; -  case G_TYPE_POINTER: -  ref_push_object(g_value_get_pointer(&v)); -  break; -  case G_TYPE_PARAM: -  break; -  case G_TYPE_OBJECT: -  push_gobject(G_OBJECT(g_value_get_object(&v))); -  break; -  default: -  break; -  } - */ +  pgtk2_push_gvalue_rt(&v);    g_value_unset(&v);    }   }    - GTK2.TreeIter iter_next(GTK2.TreeIter iter) + +GTK2.TreeIter iter_next(GTK2.TreeIter iter)   //! Go to next node.   {    pgtk2_verify_inited();
291:    }   }    - GTK2.TreeIter iter_children(GTK2.TreeIter parent) + +GTK2.TreeIter iter_children(GTK2.TreeIter parent)   //! Get first child of parent.   {    pgtk2_verify_inited();
343:    }   }    - GTK2.TreeIter iter_nth_child(GTK2.TreeIter parent, int index) + +GTK2.TreeIter iter_nth_child(GTK2.TreeIter parent, int index)   //! Get the child of parent using the given index.   //! Returns valid GTK2.TreeIter if it exists, or 0.   //! If the index is too big, or parent is invalid,
370:    }   }    - GTK2.TreeIter iter_parent(GTK2.TreeIter child) + +GTK2.TreeIter iter_parent(GTK2.TreeIter child)   //! Get parent of child, or 0 if none.   {    pgtk2_verify_inited();