RE: [gtkmm] showing same isntance of a widget in multiple places
- From: Murray Cumming Comneon com
- To: pgasper designadvantage com, gtkmm-list gnome org
- Subject: RE: [gtkmm] showing same isntance of a widget in multiple places
- Date: Tue, 24 Jun 2003 16:50:49 +0200
> 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]