GtkActionGroup

A group of action objects.

Object Hierarchy

Description

Actions are organised into groups in this manner. An action groups can be understood as a map from action names to GtkAction objects.

All actions that you feel make sense under a partiular context may be grouped under a single action group. Of course, all actions cannot be grouped under a single name, you may use multiple action groups for a particular user interface. In fact, most nontrivial applications will make use of multiple action groups.

As an example, consider an application that edits multiple documents. One group may hold global actions such as new, about and quit; and another group can be used to hold actions that are specific to one document, like save, cut, copy and paste.

Constructors

GtkActionGroup (string name);

-- Creates a new action group.

Methods

add_action()
  Adds an action to the action group.
add_action_with_accel()
  Adds an action to the action group and sets up its accelerator.
get_action()
  Looks up an action in a group.
get_name()
  Returns the name of the action group.
get_sensitive()
  FIXME
get_visible()
  FIXME
remove_action()
  Removes an action object from the action group.
set_sensitive()
  FIXME
set_translation_domain()
  FIXME
set_visible()
  FIXME
translate_string()
  FIXME

Signals

"connect-proxy"
  FIXME
"disconnect-proxy"
  FIXME
"post-activate"
  FIXME
"pre-activate"
  FIXME