logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

geometry of gtk window relative to root window: msg#00047

Subject: geometry of gtk window relative to root window
HI

How does one get the geometry of a gtk window relative to the root?
I tried

   my $width  = $widget->allocation->[0];
   my $height = $widget->allocation->[1];

but that always returns 0...

jos


<Prev in Thread] Current Thread [Next in Thread>