Re: how to create "client area" widget?
- From: Russell Shaw <rjshaw iprimus com au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how to create "client area" widget?
- Date: Wed, 03 Dec 2003 22:15:02 +1100
Ivan Popivanov wrote:
I guess this question has been asked many times here:-), but I was
unable to find anything in the archives. So, what's the way to create
say a DrawingArea widget that covers the client area of the main window,
drawing_area=gtk_drawing_area_new(); // main drawing area
and have the DrawingArea resize automatically?
configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer data)
return FALSE; // propagate
What will happen if there are toolbars, menus etc? Does GTK
automatically adjust the size and the position of the client area
window, or the application has to take care for that?
gtk does it itself.
] [Thread Prev