RE: [gtkmm] showing same isntance of a widget in multiple places
- From: Peter Gasper <pgasper designadvantage com>
- To: Murray Cumming Comneon com
- Cc: gtkmm-list gnome org
- Subject: RE: [gtkmm] showing same isntance of a widget in multiple places
- Date: 24 Jun 2003 10:09:04 -0600
You're right. I'll look into the model/view stuff.
thanks.
PG
On Tue, 2003-06-24 at 08:50, Murray Cumming Comneon com wrote:
> > 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
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
Peter Gasper <pgasper designadvantage com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]