public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Russell McManus <russell.mcmanus@msdw.com>
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: guile-gtk@sourceware.cygnus.com,
	Russell McManus <russell.mcmanus@msdw.com>
Subject: Re: getting the size and origin of a GtkWindow
Date: Mon, 05 Feb 2001 04:55:00 -0000	[thread overview]
Message-ID: <jqaae8147d6.fsf@msdw.com> (raw)
In-Reply-To: <87snlu74b3.fsf@zagadka.ping.de>

Marius Vollmer <mvo@zagadka.ping.de> writes:

> Ahh, I see.  gdk-window-get-size is already there, but
> gdk-window-get-origin needs to be added (which I have done in CVS).
> You can use them like this:
> 
>     (define w (gtk-window-new 'toplevel))
>     ...
>     (gdk-window-get-size (gtk-widget-window w))
>     => (200 . 200)
> 
> As you can see, the functions return the two coordinates as a cons of
> two numbers.
> 
> Does this help?

You betcha.  Now I just have to figure out how to get anon CVS access
out through my firewall at work (I can 'runsocks ssh' anywhere on the
net, so I think it is possible).  Thanks for looking at this.

-russ

--
A computer lets you make more mistakes faster than any invention in
human history with the possible exceptions of handguns and tequila.
             -- Mitch Ratliffe, Technology Review, April, 1992

      reply	other threads:[~2001-02-05  4:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 13:07 Russell McManus
2001-01-29 15:36 ` Marius Vollmer
2001-01-29 17:50   ` Russell McManus
2001-02-04 10:12     ` Marius Vollmer
2001-02-05  4:55       ` Russell McManus [this message]

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=jqaae8147d6.fsf@msdw.com \
    --to=russell.mcmanus@msdw.com \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=mvo@zagadka.ping.de \
    /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).