[gnome-love] Canvas width...



Hi!

I can't find the right way to get the width and height of a GnomeCanvas.
I tried to get it via GTK_WIDGET(canvas)->allocation.width , but it
just gave back zero.
(See http://cvs.gnome.org/lxr/source/gtk%2b/gtk/gtkwidget.h)

I would be happy if someone told me how to do this.

cu
Günther

-- 
Name : Günther Noack
EMail: gnoack guenthernoack de
URL  : http://www.guenthernoack.de




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