Re: [gtkmm] Another Events problem
- From: Phillip Neiswanger <sigsegv prodigy net>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Another Events problem
- Date: Wed, 18 Feb 2004 15:08:37 -0700
On Wed, 18 Feb 2004 09:13:00 +0100, Christer Palm <palm nogui se> wrote:
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).
Just so noone gets confused by my last reply to this message, I tried this
again. It does work, but doesn't help with the events problem.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]