[10137] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] Accelerator Feature request (maybe?)

daemon@ATHENA.MIT.EDU (sml13@cornell.edu)
Sun Nov 15 18:11:09 1998

From: sml13@cornell.edu
Date: Sun, 15 Nov 1998 18:10:30 -0500 (EST)
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hello again,

I don't know if this functionality already exists in GTK+ 1.1 and I just 
can't find it.  If it doesn't, it might be something to consider for 
future releases.  What I want to do specifically is attach an accelerator 
key to a widget BUT have the accelerator underscore (you know how _F_ile 
is underscored on the menu's of M$ apps) actually appear on a label right 
next to the widget.  I am trying to have a combo box in a CD player app 
with a label next to it that says "Artist".  I want the letter "A" of 
"Artist" to be underscored, but I want the actual accelerator to be 
attached to the combo box next to it, as I believe you can do in Win32. 

My motivation for doing this is that I want to make a clone of the Win95 
CD Player which is laid out just like this.  I think it would be really 
neat if you could attach accelerators like this.

Also, if anyone has any insights on the question I had earlier about 
setting the font and background of GtkEntries (or any widget, for that 
matter), I would greatly appreciate your advice there too.

Gtk Newbie,
shane

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


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