gtk2/docs/reference/gtk/tmpl/gtkaccelgroup.sgml

198 lines
3.0 KiB
Plaintext
Raw Normal View History

1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
Keyboard Accelerators
<!-- ##### SECTION Short_Description ##### -->
global keyboard accelerators (for an entire #GtkWindow)
1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Long_Description ##### -->
<para>
A #GtkAccelGroup represents a group of keyboard accelerators,
typically attached to a toplevel #GtkWindow (with
gtk_window_add_accel_group()). Usually you won't need to create a
#GtkAccelGroup directly; instead, when using #GtkItemFactory, GTK+
automatically sets up the accelerators for your menus.
</para>
1999-08-16 18:51:52 +00:00
<para>
Note that <firstterm>accelerators</firstterm> are different from
<firstterm>mnemonics</firstterm>. Accelerators are shortcuts for
activating a menu item; they appear alongside the menu item they're a
shortcut for, for example "Ctrl+Q" might appear alongside the "Quit"
menu item. Mnemonics are shortcuts for GUI elements such as text
entries or buttons; they appear as underlined characters. See
gtk_label_new_with_mnemonic(). Menu items can have both accelerators
and mnemonics, of course.
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
gtk_label_new_with_mnemonic(), gtk_window_add_accel_group()
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### STRUCT GtkAccelGroup ##### -->
<para>
On opaque data type representing a group of accelerators.
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### FUNCTION gtk_accel_group_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_accel_group_get_default ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_accel_group_ref ##### -->
<para>
</para>
@accel_group:
@Returns:
<!-- ##### FUNCTION gtk_accel_group_unref ##### -->
<para>
</para>
@accel_group:
<!-- ##### FUNCTION gtk_accel_group_activate ##### -->
<para>
</para>
@accel_group:
@accel_key:
@accel_mods:
@Returns:
<!-- ##### FUNCTION gtk_accel_groups_activate ##### -->
<para>
</para>
@object:
@accel_key:
@accel_mods:
@Returns:
<!-- ##### FUNCTION gtk_accel_group_attach ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@accel_group:
@object:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_accel_group_detach ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@accel_group:
@object:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_accel_group_add ##### -->
<para>
</para>
@accel_group:
@accel_key:
@accel_mods:
@accel_flags:
@object:
@accel_signal:
<!-- ##### FUNCTION gtk_accel_group_remove ##### -->
<para>
</para>
@accel_group:
@accel_key:
@accel_mods:
@object:
<!-- ##### FUNCTION gtk_accel_group_lock ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@accel_group:
<!-- ##### FUNCTION gtk_accel_group_unlock ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@accel_group:
<!-- ##### FUNCTION gtk_accelerator_valid ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@keyval:
@modifiers:
1999-08-16 18:51:52 +00:00
@Returns:
<!-- ##### FUNCTION gtk_accelerator_parse ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@accelerator:
@accelerator_key:
@accelerator_mods:
1999-08-16 18:51:52 +00:00
<!-- ##### FUNCTION gtk_accelerator_name ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@accelerator_key:
@accelerator_mods:
1999-08-16 18:51:52 +00:00
@Returns:
<!-- ##### FUNCTION gtk_accelerator_set_default_mod_mask ##### -->
<para>
</para>
@default_mod_mask:
<!-- ##### FUNCTION gtk_accelerator_get_default_mod_mask ##### -->
1999-08-16 18:51:52 +00:00
<para>
</para>
@Returns: