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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkaction.pre:78:   //! Returns whether the action itself is visible.      require gtk26;   void set_visible(int setting);   //! Sets the visible property.   endrequire;      void activate();   //! Emits the "activate" signal, if it isn't insensitive.    - GTK2.Widget create_icon(int icon_size); + +GTK2.Widget create_icon(int icon_size);   //! This function is intended for use by action implementations to create   //! icons displayed in the proxy widgets. One of CONST(GTK_ICON_SIZE_).    - GTK2.Widget create_menu_item(); + +GTK2.Widget create_menu_item();   //! Creates a menu item widget that proxies for the action.    - GTK2.Widget create_tool_item(); + +GTK2.Widget create_tool_item();   //! Creates a toolbar item widget that proxies for the action.      void connect_proxy(GTK2.Widget proxy);   //! Connects a widget to an action object as a proxy. Synchronises various   //! properties of the action with the widget (such as label text, icon,   //! tooltip, etc), and attaches a callback so that the action gets activated   //! when the proxy widget does.      void disconnect_proxy(GTK2.Widget proxy);   //! Disconnects a proxy widget. Does not destroy the widget.