To: lablgtk at kaba.or.jp Subject: How to get the size of a pixmap From: ITO Tsuyoshi Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010210010704N.tsuyoshi at is.s.u-tokyo.ac.jp> Date: Sat, 10 Feb 2001 01:07:04 +0900 Lines: 19 Hello, I am new to LablGTK and GTK+. I cannot figure out how I can obtain the size of given pixmap. Because the pixmap whose size I want to know comes from XPM file, I could read the XPM file and parse the header in it---but this seems not the right way. I searched related information in the Web and I thought gdk_drawable_get_size would be what I wanted, but there is no such function as Gdk.Drawable.get_size in LablGTK. Is there another way to get the size information? Or is that function simply missing in LablGTK? I am using LablGTK obtained from the following URL: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-20001220.tar.gz Any comment is welcome. ITO Tsuyoshi