Re: Underlined characaters on GtkButton label?
- From: kelch act org
- To: <gtk-list gnome org>
- Subject: Re: Underlined characaters on GtkButton label?
- Date: Tue, 26 Sep 2000 12:12:51 -0500
>>Hi all,
>>Having a great time learning GTK+, but have a question. I've
>>implemented key accelerators for the application I'm working on,
>>specifically for buttons.
>>I'd like the text on the buttons to include an underline of the
>>character that is the keyboard accelerator. Easy to do on a menu
>>item, but I don't see a way to do it on a button label. Anyone know
>>a way to do this?
>>Joe Kelch
>>joek magnus1 com
Nevermind, figured it out for myself. Created the label seperately
and used gtk_label_set_pattern to create the underline, then
gtk_container_add the label to the button. Cool.
Joe Kelch
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]