public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Stan Pinte <alto_stan@wanadoo.be>
To: guile-gtk <guile-gtk@sources.redhat.com>
Subject: pixmap problem
Date: Fri, 27 Dec 2002 08:06:00 -0000	[thread overview]
Message-ID: <20021227172903.5a4b26f4.alto_stan@wanadoo.be> (raw)

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

             reply	other threads:[~2002-12-27 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-27  8:06 Stan Pinte [this message]
2002-12-27  9:14 ` Stan Pinte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021227172903.5a4b26f4.alto_stan@wanadoo.be \
    --to=alto_stan@wanadoo.be \
    --cc=guile-gtk@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).