Re: Accessor function for application.width ?
- From: N James Bridge <james xmas demon co uk>
- To: Florian Müllner <florian muellner gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Accessor function for application.width ?
- Date: Tue, 13 Jul 2010 09:57:15 +0100
On Tue, 2010-07-13 at 08:10 +0200, Florian MÃllner wrote:
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
Thanks. Actually, I had seen it, I just hadn't woken up... Works nicely.
James
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]