client area dimensions



I'm trying to get dimensions of my client area.  This seems to work,
but is it the 'preferred' method?

width  = GTK_WIDGET(GNOME_APP(app)->contents)->allocation.width;
height = GTK_WIDGET(GNOME_APP(app)->contents)->allocation.height;

Greg Suing
suing@tconl.com



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