forked from AuroraMiddleware/gtk
ecc13fb5a5
2001-09-08 Havoc Pennington <hp@pobox.com> * gtk/gtk-docs.sgml: remove CellRendererTextPixbuf * gtk/resources.sgml: add section on mailing lists, bugzilla, etc. * gtk/tmpl/gtkaccelgroup.sgml: add long description * gtk/gtk-sections.txt: reorder accel group section; probably need to delete most of it * gtk/tmpl/gtkmain.sgml: Clean it up a little bit * gtk/gtk-docs.sgml: rearrange the list of "core/misc" sections so that useful things are near the top and stupid junk is near the bottom. * gtk/tmpl/gtkfeatures.sgml: fix/finish this section * gtk/gtk-docs.sgml: create a separate section for overview/tutorial material and special notes, and put the reference docs for the "misc non-widget" stuff into its own section. * gtk/compiling.sgml: write this section * gtk/gtk-docs.sgml: The intro section weirdly had two paragraphs that said the same thing. Delete one of them.
293 lines
4.1 KiB
Plaintext
293 lines
4.1 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Keyboard Accelerators
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
global keyboard accelerators (for an entire #GtkWindow)
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
A #GtkAccelGroup represents a group of keyboard accelerators, 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>
|
|
|
|
<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.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
gtk_label_new_with_mnemonic(), gtk_window_add_accel_group()
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkAccelGroup ##### -->
|
|
<para>
|
|
On opaque data type representing a group of accelerators.
|
|
</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_lock ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_unlock ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accelerator_valid ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@keyval:
|
|
@modifiers:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accelerator_parse ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accelerator:
|
|
@accelerator_key:
|
|
@accelerator_mods:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accelerator_name ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accelerator_key:
|
|
@accelerator_mods:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accelerator_set_default_mod_mask ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@default_mod_mask:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accelerator_get_default_mod_mask ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_attach ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
@object:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_detach ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
@object:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_get_entry ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
@accel_key:
|
|
@accel_mods:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_lock_entry ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
@accel_key:
|
|
@accel_mods:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_unlock_entry ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_group:
|
|
@accel_key:
|
|
@accel_mods:
|
|
|
|
|
|
<!-- ##### 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_handle_add ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@object:
|
|
@accel_signal_id:
|
|
@accel_group:
|
|
@accel_key:
|
|
@accel_mods:
|
|
@accel_flags:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_handle_remove ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@object:
|
|
@accel_group:
|
|
@accel_key:
|
|
@accel_mods:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_create_add ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@class_type:
|
|
@signal_flags:
|
|
@handler_offset:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_create_remove ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@class_type:
|
|
@signal_flags:
|
|
@handler_offset:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_groups_from_object ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@object:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_accel_group_entries_from_object ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@object:
|
|
@Returns:
|
|
|
|
|