|
| | ToggleAction (ToggleAction &&src) noexcept |
| |
| ToggleAction & | operator= (ToggleAction &&src) noexcept |
| |
| | ~ToggleAction () noexcept override |
| |
| GtkToggleAction * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GtkToggleAction * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| GtkToggleAction * | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| |
| void | toggled () |
| | Emits the “toggled” signal on the toggle action.
|
| |
| void | set_active (bool is_active=true) |
| | Sets the checked state on the toggle action.
|
| |
| bool | get_active () const |
| | Returns the checked state of the toggle action.
|
| |
| void | set_draw_as_radio (bool draw_as_radio=true) |
| | Sets whether the action should have proxies like a radio action.
|
| |
| bool | get_draw_as_radio () const |
| | Returns whether the action should have proxies like a radio action.
|
| |
| Glib::SignalProxy< void > | signal_toggled () |
| |
| Glib::PropertyProxy< bool > | property_draw_as_radio () |
| | Whether the proxies for this action look like radio action proxies.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_draw_as_radio () const |
| | Whether the proxies for this action look like radio action proxies.
|
| |
| Glib::PropertyProxy< bool > | property_active () |
| | Whether the toggle action should be active.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_active () const |
| | Whether the toggle action should be active.
|
| |
| | Action (Action &&src) noexcept |
| |
| Action & | operator= (Action &&src) noexcept |
| |
| | ~Action () noexcept override |
| |
| GtkAction * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GtkAction * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| GtkAction * | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
| |
| Glib::ustring | get_name () const |
| | Returns the name of the action.
|
| |
| bool | is_sensitive () const |
| | Returns whether the action is effectively sensitive.
|
| |
| bool | get_sensitive () const |
| | Returns whether the action itself is sensitive.
|
| |
| void | set_sensitive (bool sensitive=true) |
| | Sets the :sensitive property of the action to sensitive.
|
| |
| bool | is_visible () const |
| | Returns whether the action is effectively visible.
|
| |
| bool | get_visible () const |
| | Returns whether the action itself is visible.
|
| |
| void | set_visible (bool visible=true) |
| | Sets the :visible property of the action to visible.
|
| |
| void | activate () |
| | Emits the “activate” signal on the specified action, if it isn't insensitive.
|
| |
| Image * | create_icon (IconSize icon_size) |
| | This function is intended for use by action implementations to create icons displayed in the proxy widgets.
|
| |
| MenuItem * | create_menu_item () |
| | Creates a menu item widget that proxies for the given action.
|
| |
| ToolItem * | create_tool_item () |
| | Creates a toolbar item widget that proxies for the given action.
|
| |
| Menu * | create_menu () |
| | If action provides a Gtk::Menu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.
|
| |
| std::vector< Widget * > | get_proxies () |
| | Returns the proxy widgets for an action.
|
| |
| std::vector< const Widget * > | get_proxies () const |
| | Returns the proxy widgets for an action.
|
| |
| void | connect_accelerator () |
| | Installs the accelerator for action if action has an accel path and group.
|
| |
| void | disconnect_accelerator () |
| | Undoes the effect of one call to connect_accelerator().
|
| |
| Glib::ustring | get_accel_path () const |
| | Returns the accel path for this action.
|
| |
| Glib::SignalProxy< void > | signal_activate () |
| |
| void | set_accel_path (const Glib::ustring &accel_path) |
| | Sets the accel path for this action.
|
| |
| void | set_accel_group (const Glib::RefPtr< AccelGroup > &accel_group) |
| | Sets the Gtk::AccelGroup in which the accelerator for this action will be installed.
|
| |
| void | set_label (const Glib::ustring &label) |
| | Sets the label of action.
|
| |
| Glib::ustring | get_label () const |
| | Gets the label text of action.
|
| |
| void | set_short_label (const Glib::ustring &short_label) |
| | Sets a shorter label text on action.
|
| |
| Glib::ustring | get_short_label () const |
| | Gets the short label text of action.
|
| |
| void | set_tooltip (const Glib::ustring &tooltip) |
| | Sets the tooltip text on action.
|
| |
| Glib::ustring | get_tooltip () const |
| | Gets the tooltip text of action.
|
| |
| void | set_stock_id (const StockID &stock_id) |
| | Sets the stock id on action.
|
| |
| StockID | get_stock_id () const |
| | Gets the stock id of action.
|
| |
| void | set_gicon (const Glib::RefPtr< Gio::Icon > &icon) |
| | Sets the icon of action.
|
| |
| Glib::RefPtr< Gio::Icon > | get_gicon () |
| | Gets the gicon of action.
|
| |
| Glib::RefPtr< const Gio::Icon > | get_gicon () const |
| | Gets the gicon of action.
|
| |
| void | set_icon_name (const Glib::ustring &icon_name) |
| | Sets the icon name on action.
|
| |
| Glib::ustring | get_icon_name () const |
| | Gets the icon name of action.
|
| |
| void | set_visible_horizontal (bool visible_horizontal=true) |
| | Sets whether action is visible when horizontal.
|
| |
| bool | get_visible_horizontal () const |
| | Checks whether action is visible when horizontal.
|
| |
| void | set_visible_vertical (bool visible_vertical=true) |
| | Sets whether action is visible when vertical.
|
| |
| bool | get_visible_vertical () const |
| | Checks whether action is visible when horizontal.
|
| |
| void | set_is_important (bool is_important=true) |
| | Sets whether the action is important, this attribute is used primarily by toolbar items to decide whether to show a label or not.
|
| |
| bool | get_is_important () const |
| | Checks whether action is important or not.
|
| |
| void | set_always_show_image (bool always_show=true) |
| | Sets whether action's menu item proxies will ignore the Gtk::Settings::property_gtk_menu_images() setting and always show their image, if available.
|
| |
| bool | get_always_show_image () const |
| | Returns whether action's menu item proxies will always show their image, if available.
|
| |
| void | block_activate () |
| | Disable activation signals from the action.
|
| |
| void | unblock_activate () |
| | Reenable activation signals from the action.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| | A unique name for the action.
|
| |
| Glib::PropertyProxy< Glib::ustring > | property_label () |
| | The label used for menu items and buttons that activate this action.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_label () const |
| | The label used for menu items and buttons that activate this action.
|
| |
| Glib::PropertyProxy< Glib::ustring > | property_short_label () |
| | A shorter label that may be used on toolbar buttons.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_short_label () const |
| | A shorter label that may be used on toolbar buttons.
|
| |
| Glib::PropertyProxy< Glib::ustring > | property_tooltip () |
| | A tooltip for this action.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_tooltip () const |
| | A tooltip for this action.
|
| |
| Glib::PropertyProxy< StockID > | property_stock_id () |
| | The stock icon displayed in widgets representing this action.
|
| |
| Glib::PropertyProxy_ReadOnly< StockID > | property_stock_id () const |
| | The stock icon displayed in widgets representing this action.
|
| |
| Glib::PropertyProxy< Glib::RefPtr< Gio::Icon > > | property_gicon () |
| | The Gio::Icon displayed in the Gtk::Action.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gio::Icon > > | property_gicon () const |
| | The Gio::Icon displayed in the Gtk::Action.
|
| |
| Glib::PropertyProxy< Glib::ustring > | property_icon_name () |
| | The name of the icon from the icon theme.
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_icon_name () const |
| | The name of the icon from the icon theme.
|
| |
| Glib::PropertyProxy< bool > | property_visible_horizontal () |
| | Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible_horizontal () const |
| | Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
|
| |
| Glib::PropertyProxy< bool > | property_visible_vertical () |
| | Whether the toolbar item is visible when the toolbar is in a vertical orientation.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible_vertical () const |
| | Whether the toolbar item is visible when the toolbar is in a vertical orientation.
|
| |
| Glib::PropertyProxy< bool > | property_visible_overflown () |
| | When true, toolitem proxies for this action are represented in the toolbar overflow menu.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible_overflown () const |
| | When true, toolitem proxies for this action are represented in the toolbar overflow menu.
|
| |
| Glib::PropertyProxy< bool > | property_is_important () |
| | Whether the action is considered important.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_is_important () const |
| | Whether the action is considered important.
|
| |
| Glib::PropertyProxy< bool > | property_hide_if_empty () |
| | When true, empty menu proxies for this action are hidden.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_hide_if_empty () const |
| | When true, empty menu proxies for this action are hidden.
|
| |
| Glib::PropertyProxy< bool > | property_sensitive () |
| | Whether the action is enabled.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_sensitive () const |
| | Whether the action is enabled.
|
| |
| Glib::PropertyProxy< bool > | property_visible () |
| | Whether the action is visible.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_visible () const |
| | Whether the action is visible.
|
| |
| Glib::PropertyProxy< Glib::RefPtr< ActionGroup > > | property_action_group () |
| | The GtkActionGroup this GtkAction is associated with, or nullptr (for internal use).
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< ActionGroup > > | property_action_group () const |
| | The GtkActionGroup this GtkAction is associated with, or nullptr (for internal use).
|
| |
| Glib::PropertyProxy< bool > | property_always_show_image () |
| | If true, the action's menu item proxies will ignore the Gtk::Settings::property_gtk_menu_images() setting and always show their image, if available.
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_always_show_image () const |
| | If true, the action's menu item proxies will ignore the Gtk::Settings::property_gtk_menu_images() setting and always show their image, if available.
|
| |
| | Buildable (Buildable &&src) noexcept |
| |
| Buildable & | operator= (Buildable &&src) noexcept |
| |
| | ~Buildable () noexcept override |
| |
| GtkBuildable * | gobj () |
| | Provides access to the underlying C GObject.
|
| |
| const GtkBuildable * | gobj () const |
| | Provides access to the underlying C GObject.
|
| |
| void | set_name (const Glib::ustring & name) |
| | Sets the name of the buildable object.
|
| |
| Glib::ustring | get_name () const |
| | Gets the name of the buildable object.
|
| |