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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktoolbar.pre:28:   //! int button-relief   //! int internal-padding   //! int shadow-type   //! int space-size   //! int space-style      signal orientation_changed;   signal popup_context_menu;   signal style_changed;    - void create(); + void create(?mapping(string:mixed) props)   //! Creates a new toolbar. -  + { +  pgtk_verify_not_inited(); +  pgtk_verify_setup(); +  if (args) { +  INIT_WITH_PROPS(GTK_TYPE_TOOLBAR); +  my_pop_n_elems(args); +  } else { +  GtkWidget *gt; +  gt=gtk_toolbar_new(); +  THIS->obj=G_OBJECT(gt); +  } +  pgtk__init_this_object(); + }      require gtk24;   void insert(GTK2.ToolItem item, int pos);   //! Insert a W(ToolItem) into the toolbar at position pos. If pos is 0   //! the item is prepended to the start of the toolbar. If pos is negative,   //! the item is appended to the end of the toolbar.      int get_item_index(GTK2.ToolItem item);   //! Returns the position of item on the toolbar, starting from 0.