Re: Three state check button



It worked but I would say partially. I tested with a GtkCheckButton
and its appearance is a shaded tick. However I cannot see how I can
get and set the "third" state.  Is the button supposed to change its
state automatically as it does with not-inconsistent buttons or I have
to receive the pressed and released and change the state accordingly
up to my preference.

I also have another problem. I would like to know whether the button
is pressed at some moment or not. I could not find a function which
returns this aspect of the button state. Is there any other solution
apart from trapping pressed and released and keeping a flag of the
state.

Atanas



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