RE: [gtk-list] Radio_Menu_Item problem in 0.99.8




On 25-Mar-98 Steve Hosgood wrote:
> Basically - there's (apparently) a bug in radio-menu-items:
> Here's a fragment of code to build a set of three such items in a
> submenu:

The handling of radio button groups is rather tricky and you have to
get it right or you get strange behaviour. Specifically, creating a
group and using it as the argument in every call to create a new
radio button is not correct. You have to create a chain.

The GTK+ Tutorial has an example that tries to make it clear, and
testgtk.c has a slightly more compact version.

It is somewhat counter intuative.

Tony
--
E-Mail: Tony Gale <gale@daedalus.dera.gov.uk>
The end of the human race will be that it will eventually die of
civilization.
                -- Ralph Waldo Emerson

The views expressed above are entirely those of the writer
and do not represent the views, policy or understanding of
any other person or official body.



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