Re: Button accelerators
- From: Bruce Ide <bruce ide echostar com>
- To: "Shippy!" <shippy cs nmt edu>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: Button accelerators
- Date: Fri, 26 May 2000 08:58:17 -0600
"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
bruce.ide@echostar.com
"C has all the power of assembly language combined with all the ease of
programming of assembly language."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]