[9249] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] menu accelerators

daemon@ATHENA.MIT.EDU (padraig@turing.idc.ul.ie)
Tue Oct 13 15:00:14 1998

From: padraig@turing.idc.ul.ie
Date: Tue, 13 Oct 1998 19:55:39 +0100 (IST)
Reply-To: padraig@turing.idc.ul.ie
To: gtk-list@redhat.com
In-Reply-To: <199810131844.OAA04024@chroma.iset.scan.mc.xerox.com>
Resent-From: gtk-list@redhat.com


hi,
I'm new to the list, so forgive me if this has been asked before, I did a
search on the archive but couldn't find it.

simple problem:
I'm trying to create a menu (the hard way) with keyboard accelerators.

I had a look at the 2 examples in the gtk tutorial. One is called 'the
hard way' and one is called 'the easy way'. it shows you how to add
accelerators in the easy method, but not in the hard method, and it
doesn't seem to be transferable to the hard method. I want to use the hard
way, partly because it's 'the hard way' :-), and partly because I may want
to put pixmaps in the menu at some stage. I also want to use accelerators.
(I want it all goddamit!).

can anyone help me out here?

I tried messing around with
gtk_accelerator_table_new
and
gtk_accelerator_table_install

without much success.


Padraig.

--
Padraig Finnerty                        www.csn.ul.ie/~padraig
Interaction Design Centre               www.idc.ul.ie
University Of Limerick                  www.ul.ie





-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post