Re: Accessor function for application.width ?

2010-07-13 Thread Florian Müllner
El mar, 13-07-2010 a las 06:56 +0100, N James Bridge escribió:
 It's useful to blank out a drawing area by drawing a filled rectangle
 with the same size as the window. The examples I have seen get the
 dimensions from widget-allocation.width but Devhelp says that the
 GtkAllocation structure is GSEALed. At present the method works but is
 there an accessor function to use instead? I can't find one.

I guess your GTK+ ducumentation is a little outdated then -
gtk_widget_get_allocation() shouldn't be too hard to discover ;-)

Florian
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Accessor function for application.width ?

2010-07-12 Thread N James Bridge
It's useful to blank out a drawing area by drawing a filled rectangle
with the same size as the window. The examples I have seen get the
dimensions from widget-allocation.width but Devhelp says that the
GtkAllocation structure is GSEALed. At present the method works but is
there an accessor function to use instead? I can't find one.

TIA

James
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list