This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
pixmap problem
- From: Stan Pinte <alto_stan at wanadoo dot be>
- To: guile-gtk <guile-gtk at sources dot redhat dot com>
- Date: Fri, 27 Dec 2002 17:29:03 +0100
- Subject: pixmap problem
- Organization: Alto Software
- Reply-to: alto_stan at wanadoo dot be
hello,
the 'height and 'width of the pixmap of the following example is null...
(let* ((window (gtk-window-new 'toplevel))
(button (gtk-button-new))
(pixmap (gtk-pixmap-new "./my-pic.xpm" button)))
(gtk-container-add window pixmap)
(display (gtk-widget-get pixmap 'height))
(display (gtk-widget-get pixmap 'width))
(gtk-widget-show window)
(gtk-widget-show pixmap)
(gtk-repl))
any idea why?
thanks a lot,
Stan
--
Stanislas Pinte
Computer Consultant
Alto Software
20 Pl St Jacques
B-4000 Liège
web: http://www.altosw.be
email: alto_stan@wanadoo.be