forked from AuroraMiddleware/gtk
c2c98d9e12
Thu Mar 22 13:01:44 2001 Tim Janik <timj@gtk.org> * gtk/gtklabel.[hc]: some cleanups, fixed mnemonic_widget handling, added PROP_MNEMONIC_WIDGET. * gtk/gtkwindow.c (gtk_window_activate_mnemonic): (gtk_window_remove_mnemonic): (gtk_window_add_mnemonic): fixed assertions. (gtk_window_activate_mnemonic): constrain modifier checks to those permitted by gtk_accelerator_get_default_mod_mask(). got rid of gtk_window_get_default_accel_group(). * gtk/gtkwidget.c (gtk_widget_real_activate_mnemonic): handle non activatable widgets either by focussing or a warning. added a signal accumulator to ::activate_mnemonic which stops the emission once a handler returned TRUE.
385 lines
4.3 KiB
Plaintext
385 lines
4.3 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
GtkItemFactory
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GtkItemFactory ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkPrintFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@func_data:
|
|
@str:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkTranslateFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@path:
|
|
@func_data:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkItemFactoryCallback ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkItemFactoryCallback1 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@callback_data:
|
|
@callback_action:
|
|
@widget:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GtkItemFactoryCallback2 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@widget:
|
|
@callback_data:
|
|
@callback_action:
|
|
|
|
|
|
<!-- ##### STRUCT GtkItemFactoryEntry ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@path:
|
|
@accelerator:
|
|
@callback:
|
|
@callback_action:
|
|
@item_type:
|
|
@extra_data:
|
|
@extra_data2:
|
|
|
|
<!-- ##### STRUCT GtkItemFactoryItem ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@path:
|
|
@accelerator_key:
|
|
@accelerator_mods:
|
|
@modified:
|
|
@in_propagation:
|
|
@dummy:
|
|
@widgets:
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@container_type:
|
|
@path:
|
|
@accel_group:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_construct ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@container_type:
|
|
@path:
|
|
@accel_group:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_parse_rc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@file_name:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_parse_rc_string ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@rc_string:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_parse_rc_scanner ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@scanner:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_add_foreign ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@accel_widget:
|
|
@full_path:
|
|
@accel_group:
|
|
@keyval:
|
|
@modifiers:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_from_widget ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@widget:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_path_from_widget ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@widget:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_get_item ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@path:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_get_widget ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@path:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_get_widget_by_action ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@action:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_get_item_by_action ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@action:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_dump_items ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@path_pspec:
|
|
@modified_only:
|
|
@print_func:
|
|
@func_data:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_dump_rc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@file_name:
|
|
@path_pspec:
|
|
@modified_only:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_print_func ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@FILE_pointer:
|
|
@string:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_create_item ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@entry:
|
|
@callback_data:
|
|
@callback_type:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_create_items ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@n_entries:
|
|
@entries:
|
|
@callback_data:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_create_items_ac ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@n_entries:
|
|
@entries:
|
|
@callback_data:
|
|
@callback_type:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_delete_item ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@path:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_delete_entry ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@entry:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_delete_entries ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@n_entries:
|
|
@entries:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_popup ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@x:
|
|
@y:
|
|
@mouse_button:
|
|
@time:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_popup_with_data ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@popup_data:
|
|
@destroy:
|
|
@x:
|
|
@y:
|
|
@mouse_button:
|
|
@time:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_popup_data ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_popup_data_from_widget ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@widget:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_from_path ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@path:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_create_menu_entries ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@n_entries:
|
|
@entries:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factories_path_delete ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory_path:
|
|
@path:
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_item_factory_set_translate_func ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@ifactory:
|
|
@func:
|
|
@data:
|
|
@notify:
|
|
|
|
|