Re: About Gtk::Bin?
- From: Armin Burgmeier <armin arbur net>
- To: Simon Fuhrmann <simonfuhrmann gmx de>
- Cc: gtkmm-list gnome org
- Subject: Re: About Gtk::Bin?
- Date: Sun, 14 Dec 2008 14:15:43 +0100
On Sun, 2008-12-14 at 13:30 +0100, Simon Fuhrmann wrote:
> Hi Robert,
> yes, I changed the code a bit, but with no affect. There seems to be a
> bug with Gtk::Bin or a reason I don't know. Here is a simplest-possible
> testcase that confirms that it does not work (at least for me and Zhu):
GtkBin does not handle size requisition or allocation. You'll need to do
this yourself by overriding the on_size_request and on_size_allocate
Alternatively, you can derive from a container which handles this
already, such as GtkFrame, maybe setting the shadow type to SHADOW_NONE
to remove the visible border around it.
] [Thread Prev