"Shippy!" wrote:
> 
> Is there any way to make it so a letter in a button label
> will be underlined and then you can hook that letter up
> to an accelerator button? I know you can do that with
> menus, but being able to do it with buttons would be handy
> as well.

I just ran across that, hmm.

Oh. It was for the label widget. I'd guess that the button contains a
label widget. If you can get at it, you can use the
gtk_label_set_pattern on it to underline the text you want to underline.
You're on your own with accelerators, though. I haven't needed to do
anything with them yet.

--
Bruce Ide                                           
[EMAIL PROTECTED]
"C has all the power of assembly language combined with all the ease of
programming of assembly language."

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to