Re: [gtk-list] what keeps its size when hidden ?



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]