RE: [gtkmm] showing same isntance of a widget in multiple places



> From: Peter Gasper [mailto:pgasper designadvantage com] 
> When I add the same label to two halves of a vpaned container only one
> shows at a time. Why is this? Obviously, without doing something
> special, it appears that a widget can only have one parent. 

Yes.

> What I am trying to do is display the same widget in two different
> places of a notebook (ie. only one will be showing at a time), but I
> don't want to declare multiple instances of that same widget. 

Maybe we could help if we knew why you want to do this. You might actually
need some model/view separation such as is available for Gtk::TreeView and
Gtk::TextView.

Murray Cumming
murrayc usa net
www.murrayc.com 



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