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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtksizegroup.pre:35:   //! GTK2.SIZE_GROUP_BOTH.      //! Properties:   //! int mode   //! The directions in which the size group effects the requested sizes of   //! its componenent widgets.      void create(int|mapping(string:mixed) mode_or_props)   //! Create a new group.   { -  pgtk_verify_not_inited(); -  pgtk_verify_setup(); +  pgtk2_verify_not_inited(); +  pgtk2_verify_setup();    if (Pike_sp[-args].type==PIKE_T_INT) {    INT_TYPE mode;    GtkSizeGroup *gs;    get_all_args("create",args,"%i",&mode);    gs=gtk_size_group_new(mode);    THIS->obj=G_OBJECT(gs);    } else {    INIT_WITH_PROPS(GTK_TYPE_SIZE_GROUP);    } -  my_pop_n_elems(args); -  pgtk__init_this_object(); +  pgtk2_pop_n_elems(args); +  pgtk2__init_this_object();   }      void set_mode(int mode);   //! Sets the mode of the size group. One of CONST(GTK_SIZE_GROUP_). The mode   //! of the size group determines whether the widgets in the size group should   //! all have the same horizontal requisition, all have the same vertical   //! requisition, or should all have the same requisition in both directions.      int get_mode();   //! Gets the current mode.