This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pixmap problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]