pike.git / src / post_modules / GTK2 / source / gtksizegroup.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksizegroup.pre:75:   endrequire;      void add_widget(GTK2.Widget widget);   //! Adds a widget to the group. In the future, the requisition of the widget   //! will be determined as the maximum of its requisition and the requisition   //! of the other widgets in the size group. Whether this applies horizontally,   //! vertically, or in both directions depends on the mode.      void remove_widget(GTK2.Widget widget);   //! Removes a widget. +  + require gtk210; + array(GTK2.Widget) get_widgets() + //! Returns the list of widgets associated with this size group. + { +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args); +  { +  GSList *gl,*g2; +  int i=0; +  +  gl=g2=gtk_size_group_get_widgets(); +  while (g2) { +  push_gobject(g2->data); +  g_object_ref(GTK_WIDGET(g2->data)); +  i++; +  g2=g_slist_next(g2); +  } +  f_aggregate(i); +  } + } + endrequire;