Sets our main struct and passes it to the parent class
Creates a new GtkToggleAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel(). Since 2.4
Creates a new GtkToggleAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel(). Since 2.4
Returns the checked state of the toggle action. Since 2.4
Returns whether the action should have proxies like a radio action. Since 2.4
the main Gtk struct as a void*
Sets the checked state on the toggle action. Since 2.4
Sets whether the action should have proxies like a radio action. Since 2.4
Emits the "toggled" signal on the toggle action. Since 2.4
the main Gtk struct
the main Gtk struct
the main Gtk struct as a void*
Gets the stock id of action. Since 2.16
Sets the stock id on action Since 2.16
This function is intended for use by action implementations to create icons displayed in the proxy widgets. Since 2.4
Creates a menu item widget that proxies for the given action. Since 2.4
Creates a toolbar item widget that proxies for the given action. Since 2.4
If action provides a GtkMenu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu. Since 2.12
The "activate" signal is emitted when the action is activated. Since 2.4 See Also GtkActionGroup, GtkUIManager
Returns the name of the action. Since 2.4
Returns whether the action is effectively sensitive. Since 2.4
Returns whether the action itself is sensitive. Note that this doesn't necessarily mean effective sensitivity. See gtk_action_is_sensitive() for that. Since 2.4
Sets the ::sensitive property of the action to sensitive. Note that this doesn't necessarily mean effective sensitivity. See gtk_action_is_sensitive() for that. Since 2.6
Returns whether the action is effectively visible. Since 2.4
Returns whether the action itself is visible. Note that this doesn't necessarily mean effective visibility. See gtk_action_is_sensitive() for that. Since 2.4
Sets the ::visible property of the action to visible. Note that this doesn't necessarily mean effective visibility. See gtk_action_is_visible() for that. Since 2.6
Emits the "activate" signal on the specified action, if it isn't insensitive. This gets called by the proxy widgets when they get activated. It can also be used to manually activate an action. Since 2.4
Warning gtk_action_connect_proxy has been deprecated since version 2.16 and should not be used in newly-written code. Use gtk_activatable_set_related_action() instead. 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. If the widget is already connected to an action, it is disconnected first. Since 2.4
Warning gtk_action_disconnect_proxy has been deprecated since version 2.16 and should not be used in newly-written code. Use gtk_activatable_set_related_action() instead. Disconnects a proxy widget from an action. Does not destroy the widget, however. Since 2.4
Returns the proxy widgets for an action. See also gtk_widget_get_action(). Since 2.4
Installs the accelerator for action if action has an accel path and group. See gtk_action_set_accel_path() and gtk_action_set_accel_group() Since multiple proxies may independently trigger the installation of the accelerator, the action counts the number of times this function has been called and doesn't remove the accelerator until gtk_action_disconnect_accelerator() has been called as many times. Since 2.4
Undoes the effect of one call to gtk_action_connect_accelerator(). Since 2.4
Disable activation signals from the action This is needed when updating the state of your proxy GtkActivatable widget could result in calling gtk_action_activate(), this is a convenience function to avoid recursing in those cases (updating toggle state for instance). Since 2.16
Reenable activation signals from the action Since 2.16
Warning gtk_action_block_activate_from has been deprecated since version 2.16 and should not be used in newly-written code. activatables are now responsible for activating the action directly so this doesnt apply anymore. Disables calls to the gtk_action_activate() function by signals on the given proxy widget. This is used to break notification loops for things like check or radio actions. This function is intended for use by action implementations. Since 2.4
Warning gtk_action_unblock_activate_from has been deprecated since version 2.16 and should not be used in newly-written code. activatables are now responsible for activating the action directly so this doesnt apply anymore. Re-enables calls to the gtk_action_activate() function by signals on the given proxy widget. This undoes the blocking done by gtk_action_block_activate_from(). This function is intended for use by action implementations. Since 2.4
Returns whether action's menu item proxies will ignore the "gtk-menu-images" setting and always show their image, if available. Since 2.20
Sets whether action's menu item proxies will ignore the "gtk-menu-images" setting and always show their image, if available. Use this if the menu item would be useless or hard to use without their image. Since 2.20
Returns the accel path for this action. Since 2.6
Sets the accel path for this action. All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent. Note that accel_path string will be stored in a GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with g_intern_static_string(). Since 2.4
Returns the accel closure for this action. Since 2.8
Sets the GtkAccelGroup in which the accelerator for this action will be installed. Since 2.4
Sets the label of action. Since 2.16
Gets the label text of action. Since 2.16
Sets a shorter label text on action. Since 2.16
Gets the short label text of action. Since 2.16
Sets the tooltip text on action Since 2.16
Gets the tooltip text of action. Since 2.16
Sets the icon of action. Since 2.16
Gets the gicon of action. Since 2.16
Sets the icon name on action Since 2.16
Gets the icon name of action. Since 2.16
Sets whether action is visible when horizontal Since 2.16
Checks whether action is visible when horizontal Since 2.16
Sets whether action is visible when vertical Since 2.16
Checks whether action is visible when horizontal Since 2.16
Sets whether the action is important, this attribute is used primarily by toolbar items to decide whether to show a label or not. Since 2.16
Checks whether action is important or not Since 2.16
Description A GtkToggleAction corresponds roughly to a GtkCheckMenuItem. It has an "active" state specifying whether the action has been checked or not.