Re: [gtk-list] drawing_area size



Hi!

You may use gtk_window_get_size to find out the size of a widget.

The communication with scrollbars has to be programmed by you, if you do
not want to use scrolled windows.

You can find an example for such a communication at

http://www.eudoxos.net/gtk/gtkdatabox/

The GtkDatabox widget represents numerical data as curves on a drawing
area. You may zoom in and out and scroll your way through the data with
this widget. Several expamples show the use. 

Greetings,
Roland Bock

Victor STANESCU wrote:
> 
> how can i find out the allocated size of a drawing area? or if i make it
> bigger enough and attach to it scrollbars, will they work correctly?
> 
> Victor STANESCU-network administrator
> The  Numerical  Methods  Laboratory,
> Politehnica  University of Bucharest
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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