Re: Want a button which looks like it is always in the pushed state
- From: Carlos Pereira <carlos pehoe civil ist utl pt>
- To: gtk-app-devel-list gnome org
- Subject: Re: Want a button which looks like it is always in the pushed state
- Date: Wed, 8 Nov 2000 15:42:34 GMT
I want to have a button that always looks like it has been pushed. Is
there anyway I can do this?
All I want is that my button looks like the default button when the
mouse is over the button or when someone clicks the button.
Perhaps you can use a toggle button?
button = gtk_toggle_button_new_with_label ("Button");
gtk_button_clicked (button);
Note that a toggle button is derived from a normal button.
You can connect to the "toggle" signal if you want
to monitor user changes to the button state.
Carlos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]