Re: radio groups in libglade



jacob berkman wrote:

On Sat, 2001-11-17 at 20:29, James Henstridge wrote:

jacob berkman wrote:

so it seems radio groups are currently ignored in libglade.

the groups hash table is in the private field of GladeXML, so some api
is needed to support this.

james, did you have in mind something for this?

That code in libglade should probably be removed. Michael added support for handling radio item groups in libglade-convert. It now uses the "group" property of GtkRadioButtons and GtkRadioMenuItems, which gives the name of the first button/menu item in the group, which means no special support is needed in libglade.


GtkRadioMenuItem has no group property, but i should be able to do a
custom property for it.

It would be more useful to add the property to GtkRadioMenuItem, rather than hacking around the lack of the property. The gtk+ maintainers said that the API freeze didn't cover missing properties, so this is the correct way to fix the problem (and is much more useful to other users of gtk+).

James.\

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






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