Re: [gtk-list] what keeps its size when hidden ?
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] what keeps its size when hidden ?
- Date: 17 Dec 1999 23:27:49 -0500
Paul Barton-Davis <pbd@Op.Net> writes:
> what can i put the arrow into so that when i hide the arrow, the event
> box will keep its size ?
>
You could write a trivial GtkBin subclass that never shrinks; it could
use the default implementation of every method but size allocate I
think (in size allocate you would set widget->requisition to the size
allocation, since the default size request method requests the value
of widget->requisition). There might be another detail or two but
basically that would work. GtkNoShrink.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]