Re: [gtk-list] Re: Accelerators



> {"/Edit/_Delete", "<delete>", GTK_MENU_FUNC(delete_selection), 0, NULL},
> 
> I've tried both "<delete>", "<Delete>" and "delete", but the accelerator
> definition seems to be silently ignored.

	The "<name>" syntax in the accelerator field is only used for
modifiers: <control>, <alt>, or <shift>.  You wouldn't type "<alt><S>",
for example, but "<alt>S".

	I'm not sure how you would access the Delete key in a modifier,
using the GtkItemFactory.  You can try signifying "GDK_Delete", but I
don't know if that's a valid GDK key signal or not.

	Anyone?  Where is reference documentation on the GDK key
definitions?  (Like GDK_Up, GDK_Down, GDK_Return, GDK_End, GDK_Home,
etc.--I know they exist but I don't know what they're used for, or if
they can be used in a GtkItemFactory)


--Derek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]