To: lablgtk at kaba.or.jp Subject: Re: How to get the size of a pixmap From: ITO Tsuyoshi In-Reply-To: <20010213113855S.garrigue at kurims.kyoto-u.ac.jp> References: <20010210010704N.tsuyoshi at is.s.u-tokyo.ac.jp> <20010213113855S.garrigue@kurims.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010214162331L.tsuyoshi at is.s.u-tokyo.ac.jp> Date: Wed, 14 Feb 2001 16:23:31 +0900 Lines: 20 Hello, > Sorry, but I see no gdk_drawable_get_size. Only a gdk_window_get_size. I have mistaken preliminary GTK+ 2.0 API Reference for GTK+ 1.2 Reference. Sorry. In GTK+ 2.0, gdk_drawable_get_size exists and gdk_window_get_size is #define'd as alias for it (maybe for backward compatibility). > However, after testing, it seems that you can use gdk_window_get_size > on a pixmap also... confusing. After reading the follow-up, I found some explanation about gdk_window_get_size and GdkPixmap at: http://mail.gnome.org/archives/gnome-devel-list/1999-October/msg00029.html I got the new snapshot and it worked well. Thank you for rapid response. ITO Tsuyoshi