Re: [gtkmm] Another Events problem
- From: Christer Palm <palm nogui se>
- To: Phillip Neiswanger <sigsegv prodigy net>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Another Events problem
- Date: Wed, 18 Feb 2004 09:13:00 +0100
Hi Phillip!
Phillip Neiswanger wrote:
In this program the main working widget is a drawingarea. It is
contained in a frame. At certain points it makes sense to allow the
user to split this widget. I wrote some code that would remove the
drawingarea from the frame, construct 2 new drawingarea widgets and
place them in a vertical or horizontal paned widget, then add the
paned widget to the frame and delete the original drawingarea.
Not that it has anything to do with the problem you're seeing, but
unless you're worried about keeping the second DrawingArea object
around, why don't you just hide() it until you get to the point where
you want it to show up? The Paned widget is smart enough to handle this
in the expected way (i.e. it disappears when only one of its children is
visible).
--
Christer Palm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]