Re: [gtk-list] Setting accelerators in GtkItemFactoryEntry
- From: Daniel Hops <Daniel Hops eed ericsson se>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Setting accelerators in GtkItemFactoryEntry
- Date: Mon, 04 Oct 1999 12:30:52 +0200
Jens Askengren wrote:
> Is it possible to use keys as return, delete etc. as acceleratorkeys
> in a GtkItemFactoryEntry? I have tried the obvious "<return>" and
> "<delete>" but it doesen't seem to work.
Hi,
try s.th. like this:
if( (event->keyval) == GDK_Return ){
main_find_product();
}
The correct names of the key signals are probably in the GDK reference. If not
they are surely in the source code of GDK to be found.
Regards
Daniel
--
("`-''-/").___..--''"`-._ UNIX *is* user-friendly, he is just very
`6_ 6 ) `-. ( ).`-.__.`) picky about who his friends are...
(_Y_.)' ._ ) `._ `. ``-..-' Daniel Hops
_..`--'_..-_/ /--'_.' ,'
(il),-'' (li),' ((!.-'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]