[gtkmm] radiobutton group and delete instance



hi

i'm having problem with radio buttons

i have derived a Gtk::Window class wich contains radio buttons 
all belong to the same group (which is global for all instance of the
window class)

user can instanciate multiple instance of this window and delete them at
any time

the problem comes either when creating or deleting a new window (after
at least one instance was created and deleted)

it just seg faults

when each instance of the class has its own group it works (but i want
all radio from all instance to belong to the same group)

my question is 
 does deleting a radio button removes it automaticaly from the group it
belongs to

if not i supose the problem comes from this fact 
 so how can i remove it manualy?
(i could'nt find on the docs)

otherwise does anyone has a clue on what is going wrong?
the segfaults occure at any time when creating or deleting a new class
it's quit hard to trace

Thank's a lot for your help

PS this is my first app in gtkmm, it's great  and i would like to thank
everyone who has made it possible

Philippe


-- 
Philippe Leroux <leroux00 yahoo fr>




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