summaryrefslogtreecommitdiff
path: root/gtk/gtkbindings.h
Commit message (Collapse)AuthorAgeFilesLines
* gtk: port missing array annotations from Vala bindingsEvan Nemerson2014-05-271-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730745
* docs: enum cleanupMatthias Clasen2014-05-201-6/+0
| | | | | Move types that are only used in binding parsing to gtkrc, together with the deprecated api.
* docs: don't use <anchor>William Jon McCann2014-02-071-1/+0
|
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+11
| | | | Add annotations to all exported functions in GTK+ headers.
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-4/+4
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: Use versioned deprecationsMatthias Clasen2012-02-271-1/+1
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* Drop use of GDK_DISABLE_DEPRECATED guards in gtkMatthias Clasen2011-11-091-2/+0
| | | | | We now use function attributes for deprecation so the build-breaking guards are no longer needed.
* Add deprecation annotations for deprecated functionsMatthias Clasen2011-10-111-0/+1
| | | | | | We define our own GDK_DEPRECATED[_FOR] macros for this and allow it to be turned off by defining the GDK_DISABLE_DEPRECATION_WARNINGS macro.
* Small optimizationMatthias Clasen2011-01-301-0/+2
| | | | | We can use the fact that all involved strings are interned; also deprecate gtk_binding_set_add_path() in the headers, too.
* Move GtkBindings docs inlineMatthias Clasen2011-01-301-0/+53
|
* Add a gtkbindingsprivate.h headerMatthias Clasen2011-01-301-89/+73
|
* Improve binding-set parserMatthias Clasen2011-01-301-2/+2
| | | | | | | | Make gtk_binding_entry_add_signal_from_string() return the expected token in case of parsing error, so that we can return a GError instead of spewing. Also, add a separate scope for binding-set, since allowing {} in identifiers in SCOPE_VALUE breaks the fact that the ; after the last assignment in a rule is optional.
* Add gtk_binding_entry_add_signal_from_string()Carlos Garnacho2011-01-301-0/+4
| | | | | | This function rescues part of the old parser (which is now standalone) to load a bind/unbind definition string into a GtkBindingSet.
* Remove GtkObject completelyMatthias Clasen2010-09-261-6/+5
|
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* Remove deprecated gtk_binding_entry functionsChristian Dywan2010-05-031-8/+0
|
* Undeprecate gtk_binding_entry_add_signallMatthias Clasen2009-02-111-5/+5
| | | | svn path=/trunk/; revision=22314
* no need to include <gtk/gtkenums.h> in headers which somehow includeMichael Natterer2008-10-301-1/+0
| | | | | | | | | | 2008-10-30 Michael Natterer <mitch@imendio.com> * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which somehow include gtkobject.h or another header which includes it. svn path=/trunk/; revision=21734
* remove _gtk_binding_signal_new().Michael Natterer2008-07-211-15/+0
| | | | | | | | | | | | | | | | | | 2008-07-21 Michael Natterer <mitch@imendio.com> * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new(). * gtk/gtkfilechooserdefault.c * gtk/gtkmenu.c * gtk/gtkmenushell.c * gtk/gtkscalebutton.c * gtk/gtktextview.c * gtk/gtktoolbar.c * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add some missing I_() to the signal names. svn path=/trunk/; revision=20874
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-1/+1
| | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* added new scanner token "unbind" which gets rid of a key binding (in fact,Michael Natterer2006-10-051-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-05 Michael Natterer <mitch@imendio.com> * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets rid of a key binding (in fact, it only lets it appear unbound). * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added "guint marks_unbound : 1" (gtk_binding_entry_skip): new API which marks the entry as unbound. Changed code so it returns FALSE when "marks_unbound == TRUE" is encountered while activating bindings, effectively letting the binding appear unbound (regardless of still existing bindings in lower binding priority levels). Fixes bug #358329. (gtk_binding_entry_add) (gtk_binding_entry_clear) (gtk_binding_entry_add_signall) (gtk_binding_parse_binding): deprected these functions. (_gtk_binding_parse_binding) (_gtk_binding_entry_add_signall): new internal API. * gtk/gtk.symbols: changed accordingly.
* Revert questionable changes.Matthias Clasen2006-01-051-1/+1
| | | | | | | | | | 2006-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkbindings.h (struct _GtkBindingSignal): Revert questionable changes. * gtk/gtkbindings.c: Use the slice allocator and allocate signal and arguments in one block.
* Make the args a flexible array inside the struct, and allocate themMatthias Clasen2005-12-281-8/+7
| | | | | | | | | 2005-12-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkbindings.h (GtkBindingSignal): * gtk/gtkbindings.c (binding_signal_new): Make the args a flexible array inside the struct, and allocate them together.
* Trivial cleanups. (#169647, #303455, Fabricio Barros Cabral, BenoitMatthias Clasen2005-06-211-6/+3
| | | | | | | 2005-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/*.h: Trivial cleanups. (#169647, #303455, Fabricio Barros Cabral, Benoit Carpentier)
* === Released 2.3.5 ===GTK_2_3_5Owen Taylor2004-03-021-2/+2
| | | | | | | | | | | Tue Mar 2 17:06:05 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.3.5 === * NEWS: Updates * configure.in: Version 2.3.5, interface age 0. Require glib-2.3.5, pango-1.3.5.
* expose gtk_bindings_activate_event(), changed callers.Tim Janik2004-03-021-1/+1
| | | | | | | | | | | | Mon Mar 1 23:52:15 2004 Tim Janik <timj@gtk.org> * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed callers. * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose the key event propagation mechanism used for focus widgets. (gtk_window_key_release_event): use the same key event propagation logic as gtk_window_key_press_event().
* Add a new binding signal, "move_scroll", and use it to hook upOwen Taylor2002-12-141-0/+13
| | | | | | | | | | | | | | | | | | | | Sat Dec 14 14:19:16 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c: Add a new binding signal, "move_scroll", and use it to hook up Home/End/Page_Up/Page_Down keybindings. (#80484, Narayana Pattipati, Marius Andreiana) * gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some bugs in the computation of when an item is visible. (#99545) * gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c: Move here, export privately. * gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export privately. * gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't select the item if it is already selected.
* Deprecation cleanupManish Singh2002-10-091-1/+1
| | | | | | | | Wed Oct 9 15:07:08 2002 Manish Singh <yosh@gimp.org> * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch] gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]: Deprecation cleanup
* Implement "fuzzy" key binding lookups; allow matches on key and level butOwen Taylor2002-02-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; allow matches on key and level but not group. Also, implement ignoring "consumed modifiers correctly." * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using GtkKeyHash. * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in the group for key release events as well as key press events. * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Rename unused_modifiers to consumed_modifiers, make the docs and non-Xkb implementation match the Xkb implementation. * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate doc and parameter name changes. * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): XkbTranslateKeyCode doesn't handle LockMask, we need to handle it ourselves. * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency to allow dealing with ISO_Left_Tab. * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c gtk/gtkpaned.c gtk/gtkcombo.c gtk/gtknotebook.c: Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab or <Shift>Tab both are equivalent as a binding specifier.) * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate GTK_RUN_ACTION, so you can bind an accelerator to it. * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call gdk_unicode_to_keyval on the mnemonic character. * tests/testgtk.c: Add a test for the new fuzzy key binding matching.
* Add prototype for _gtk_binding_reset_parsed().Owen Taylor2002-02-091-0/+2
| | | | | | | Sat Feb 9 13:27:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.h: Add prototype for _gtk_binding_reset_parsed().
* Add a function to delete all bindings add by gtk_binding_parse_binding()Owen Taylor2002-02-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fri Feb 8 18:46:13 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.[ch] (_gtk_binding_reset_parsed): Add a function to delete all bindings add by gtk_binding_parse_binding() when rereading RC files. * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Reset binding set content as well as RC content. * gtk/gtkbindings.c (binding_compose_params): Fix various GValue handling problems. * gtk/gtkentry.c (gtk_entry_class_init): Remove bindings for C-b, C-f, M-b, M-f, C-a, C-e, C-w, C-y, M-space, C-u, C-k, M-\, M-d, C-d. * gtk/gtktextview.c (gtk_text_view_class_init): Remove same bindings as GtkEntry, plus C-n, C-p, C-space * gtk/gtkrc.key.default gtk/gtkrc.key.emacs gtk/Makefile.am: Add Emacs and Default key themes.
* Consistently use GdkModifierType. (#66950, Mark Patton)Owen Taylor2002-01-301-7/+7
| | | | | | | | | | | | | | | Tue Jan 29 21:50:28 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelmap.[ch] gtk/gtkbindings.[ch] gtk/gtkwidget.[ch]: Consistently use GdkModifierType. (#66950, Mark Patton) * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): For consistency with gtk_button_new_from_stock(), fall back to gtk_image_menu_item_new_with_mnemnonic(). (#65944, Havoc Pennington) * gtk/gtkitemfactory.[ch] (gtk_item_factory_path_from_widget): Make G_CONST_RETURN. (#68527, Matt Wilson)
* changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc()Tim Janik2001-04-031-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Apr 3 13:52:57 2001 Tim Janik <timj@gtk.org> * gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() GtkPatternSpec argument to GPatternSpec. this is actually unlikely to cause breakage in third-party apps since except for gle, pretty much ever caller passes NULL here. * gtk/gtkbindings.[hc]: removed gtk_pattern_*() API. * *.c: use g_pattern_*() API. * docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates. * gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled directions aren't passed in. * gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion functionality to be usable from gtkstyle.c as well, give precedence for conversion to user-supplied parsers. s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/; * gtk/gtkstyle.c (_gtk_style_peek_property_value): use _gtk_settings_parse_convert() for rcporperty value conversion.
* applied patch from Andreas Persenius <ndap@swipnet.se> that updates theTim Janik2000-07-261-4/+4
| | | | | | | | Wed Jul 26 12:59:31 2000 Tim Janik <timj@gtk.org> * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that updates the license headers to the GNU Lesser General Public License, as well as updating the copyright year to 2000.
* Added notice to look in AUTHORS and ChangeLog files for a list of changes.CST 1999 Shawn T. Amundson1999-02-241-0/+8
| | | | | | | Wed Feb 24 01:22:39 CST 1999 Shawn T. Amundson <amundson@gtk.org> * *.[ch]: Added notice to look in AUTHORS and ChangeLog files for a list of changes.
* removed all occourances of #pragma } and #pragma { which were in place toTim Janik1998-10-071-1/+0
| | | | | | | | | | | Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org> * gtk/gtk*.h: * gdk/gdk.h: removed all occourances of #pragma } and #pragma { which were in place to fixup emacs' cc-mode indentation. putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the proper way to achive this and doesn't produce problems for stupid pragma-related compiler bugs. ;)
* introduce testbindings on C-1 for buttons, to check out bindingTim Janik1998-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org> * gtk/testgtkrc: introduce testbindings on C-1 for buttons, to check out binding priorities. someone should really write gtkrc-mode for emacs. * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test. * gtk/testgtk.c (main): and move it here ;). this test says something on release of C-9. (this works only if the mouse pointer is on a spinbutton and there is no focus widget). * gtk/gtkrc.h: * gtk/gtkrc.c: export gtk_rc_parse_color, gtk_rc_parse_state and a new function gtk_rc_parse_priority to parse path priority types. export rc tokens. feature binding parsing. Wed Jul 22 23:41:17 1998 Tim Janik <timj@gtk.org> * gtk/gtkbindings.h: * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to feature binding parsing in rc files. * gtk/gtkbindings.c (gtk_binding_set_new): bug fix. * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to order the bindings with lowest priority first.
* added a new internal type GTK_TYPE_IDENTIFIER which is derived fromTim Janik1998-07-101-10/+14
| | | | | | | | | | Fri Jul 10 04:20:35 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.h: * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER which is derived from GTK_TYPE_STRING. * gtk/gtkbindings.c: reworked the argument type handling.
* deleted most of the argument handling code, since that is now implementedTim Janik1998-07-091-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Jul 10 00:02:04 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.h: * gtk/gtkcontainer.c: deleted most of the argument handling code, since that is now implemented in gtkarg.c. similar to gtk_object_args_collect, we now export a new function gtk_container_child_args_collect(). for consistency with the object arguments, a few functions got renamed: gtk_container_child_arg_get -> gtk_container_child_get, gtk_container_child_arg_set -> gtk_container_child_set, gtk_container_child_arg_getv -> gtk_container_child_getv, gtk_container_child_arg_setv -> gtk_container_child_setv, gtk_container_add_with_argv -> gtk_container_addv. note, gtk_container_add_with_args() remained, because its equivalent would be gtk_container_add(,, ...) which would break all existing code. (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type, we expect the `arg_name' argument to be a const static string now. (gtk_container_get_child_arg_type): function removed. Thu Jul 9 07:03:04 1998 Tim Janik <timj@gtk.org> * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value(). this is a static inline function that collects command line arguments from a va_list. this file can just be included in all places that need this functionality. * gtk/gtkarg.h: * gtk/gtkarg.c: new files which implement most of the argument handling stuff from gtkobject.c. also collected a few more gtk_arg_* utility functions from else places. * gtk/gtkobject.h: * gtk/gtkobject.c: moved most of the argument handling code into gtkarg.c. we now export gtk_object_args_collect() as a non-public method with a blind va_list pointer. (gtk_object_add_arg_type): the `arg_name' argument is required to be a const static string now. (gtk_object_get_arg_type): function got removed. * gtk/gtkwidget.c: (gtk_widget_set): (gtk_widget_new): adaptions for gtk_object_args_collect(). * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal fundamental type name so as to have a valid prefix, e.g. "bool"-> "gboolean", "string"->"GtkString" and somesuch, left "void" as is, though that should probably be something like GtkNone since the type itself is called GTK_TYPE_NONE. even the internal type names need to avoid name clashes and must live in their own namespace, several code portions rely on that. we should relly have typedefs such as typedef gchar* GtkString; so the fundamental type names can be used for code dumpers just like with all the Gtk/Gdk types.
* temporary implementation of action signal "debug_msg"Tim Janik1998-07-011-2/+4
| | | | | | | | | | | Wed Jul 1 20:58:46 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.h: * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg" * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one error that prevented signal to entry addition for signals with parameters.
* fixed an assertment.Tim Janik1998-06-071-0/+166
Sat Jun 6 06:01:24 1998 Tim Janik <timj@gtk.org> * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment. * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from, this should eventually be done by gentypeinfo.el somewhen. * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays. * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the enum values of an enum type. * gtk/gtk.defs: * gtk/gtkcurve.h: * gtk/gtkobject.h: * gtk/gtkprivate.h: * gtk/gtkwidget.h: * gtk/gtkenums.h: brought enum/flags definitions in sync, added a few more enum definitions for bindings and pattern matching. * some more macro and GtkType fixups in various places. * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used as a key-release modifier for the binding system. Fri Jun 5 06:06:06 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it was a stale list pointer that is already present in GtkMenuShell. * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal GtkMenuShell::selection_done which is emitted after the menu shell poped down again and all possible menu items have been activated. Thu Jun 4 02:20:42 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue before activation of the menuitem, so the menu is actually taken off the screen prior to any menu item activation. * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation for NULL nodes. * gtk/gtkwidget.h: * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop the emission of the "add-accelerator" signal on a widget. this is usefull to prevent accelerator installation on certain widgets. * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu labels left justified, by setting their alignment. stop accelerator installation for the menu items, since we use dynamic menus. Wed Jun 3 06:41:22 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people should *really* use GtkItemFactory. this is only for preserving source compatibility where possible, use of GtkMenuFactory is deprecated as of now. * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function to create user signals of type GTK_RUN_NO_RECURSE. don't know why i missed this possibility when i added gtk_object_class_add_user_signal in late january. * gtk/gtkmain.c (gtk_init): ignore subsequent function calls. Sun May 31 07:31:09 1998 Tim Janik <timj@gtk.org> * gtk/gtkaccelgroup.h: * gtk/gtkaccelgroup.c: new implementation of the accelerator concept. * gtk/gtkaccellabel.h: * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features display of the accelerators associated with a certain widget. * gtk/gtkitemfactory.h: * gtk/gtkitemfactory.c: new widget, item factory with automatic rc parsing and accelerator handling. * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for positioning a menu. (gtk_menu_map): removed the allocation code. (gtk_menu_size_allocate): care for redrawing of children and resize our widget->window correctly. (gtk_menu_key_press): feature the new accelerator groups. * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the submenu if neccessary. * gtk/gtkmenuitem.c: * gtk/gtkcheckmenuitem.c: * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label() function variants. * gdk/gdk.c: (gdk_keyval_from_name): (gdk_keyval_name): new functions for keyval<->key-name associations. (gdk_keyval_to_upper): (gdk_keyval_to_lower): (gdk_keyval_is_upper): (gdk_keyval_is_lower): new functions to check/translate keyvalues with regards to their cases. Wed May 27 00:48:10 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a widget's class path. (gtk_widget_path): new function to calculate a widget's name path. * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up pattern matching, features reversed pattern matches.