--- GtkWidget.xs 02 Jan 2008 11:18:02 +1100 1.72 +++ GtkWidget.xs 19 May 2008 16:56:36 +1000 @@ -66,6 +66,17 @@ MODULE = Gtk2::Widget PACKAGE = Gtk2::Requisition +=for position post_signals + +Note that currently signal_chain_from_overridden doesn't work from a +size-request class closure, because the Gtk2::Requisition parameter +you pass ends up getting copied, so changes made to it by the +superclass are lost. You can still write a class closure for +size-request, but you'll have to calculate the desired size by +yourself, you can't chain up to ask your superclass what it thinks. + +=cut + gint width (requisition, newval=NULL) GtkRequisition * requisition