[9344] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Adding a bevel to an hbox (or any widget for that matter)
daemon@ATHENA.MIT.EDU (Havoc Pennington)
Thu Oct 15 23:04:27 1998
Date: Thu, 15 Oct 1998 22:02:39 -0500 (CDT)
From: Havoc Pennington <rhpennin@midway.uchicago.edu>
To: gtk-list@redhat.com
In-Reply-To: <19981016020958.3557.qmail@hotmail.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
On Thu, 15 Oct 1998, Curtiss Howard wrote:
> How can I set a bevel to an hbox or any other widget?
Put it in a GtkFrame and set the shadow type.
> Also, I'm not going to pack it into a handlebox
> because when it's dragged off the GtkDrawingArea widget I'm using likes
> to clear itself... any ideas?
>
If this clears your drawing area, your drawing is broken. You need to
redraw when you get expose and configure events. The drawing area doesn't
know what you drew, so it can't redraw for you.
Havoc
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null