Re: Size (Width) of a widget



Matthias Schäfer <m schaefer koios de> writes:

is there a easy way to get the actual size of a widget?

$widget->allocation, though might be zeros until packed into a toplevel,
or until realized, or something like that.

zentara <zentara1 sbcglobal net> writes:

configure event 

I think gdk records the size in $drawable->get_size, set by either
configure events from the server or resize requests client-side.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]