Re: pixmap width and height
- From: Michael Rothwell <rothwell holly-springs nc us>
- To: Ian Bell <ian ruffrecords worldonline co uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: pixmap width and height
- Date: 20 Jan 2002 12:33:41 -0500
On Sun, 2002-01-20 at 12:24, Ian Bell wrote:
But this refers to a Pixbuf not a Pixmap.
Oops. You're right. Pixmaps are Drawables, like windows. Try "man
XGetGeometry".
Or Taura's suggestion:
pixmap = load_pixmap(data);
if(pixmap != NULL)
{
gdk_window_get_size((GdkWindow *)pixmap, &width, &height);
}
... sorry about the confusion. I'll read more carefully next time. :)
-Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]