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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtknotebook.pre:43:   signal change_current_page;   signal focus_tab;   signal move_focus_out;   signal select_page;   signal switch_page;   //! Called when a different page is selected      void create(?mapping(string:mixed) props)   //! Create a W(Notebook) widget with no pages.   { -  pgtk_verify_not_inited(); -  pgtk_verify_setup(); +  pgtk2_verify_not_inited(); +  pgtk2_verify_setup();    if (args) {    INIT_WITH_PROPS(GTK_TYPE_NOTEBOOK); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    } else {    GtkWidget *gn;    gn=gtk_notebook_new();    THIS->obj=G_OBJECT(gn);    } -  pgtk__init_this_object(); +  pgtk2__init_this_object();   }      void append_page(GTK2.Widget contents, ?GTK2.Widget label);   //! Add a new 'page' to the notebook. The first argument is the contents of   //! the page, the second argument is the label.      void append_page_menu(GTK2.Widget contents,    ?GTK2.Widget label,    ?GTK2.Widget menu);   //! Add a new 'page' to the notebook. The first argument is the
pike.git/src/post_modules/GTK2/source/gtknotebook.pre:194:   {    struct object *o;    gboolean expand=0, fill=0;    GtkPackType pack_type=0;    get_all_args("query_tab_label_packing",args,"%o",&o);    gtk_notebook_query_tab_label_packing(GTK_NOTEBOOK(THIS->obj),    GTK_WIDGET(get_gobject(o)),    &expand,    &fill,    &pack_type); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    ref_push_string(_STR("expand")); push_int(expand);    ref_push_string(_STR("fill")); push_int(fill);    ref_push_string(_STR("pack_type")); push_int(pack_type);    f_aggregate_mapping(6);   }