Re: Want a button which looks like it is always in the pushed state

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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]