Re: Size of a drawable: how?
- From: Owen Taylor <otaylor redhat com>
- To: serge physics unc edu
- Cc: gtk-list redhat com
- Subject: Re: Size of a drawable: how?
- Date: 17 Oct 1998 11:22:27 -0400
"Sergei O. Naoumov" <firstname.lastname@example.org> writes:
> How do I get the size of a drawable after it is created? It is clear if the
> drawable is a widget. In this case it's just widget->allocation.width and
> widget->allocation.height. But... What do I do if my drawable is a pixmap?
> Is there any universal way to get the drawable's size?
void gdk_window_get_geometry (GdkWindow *window,
Yep, that really works for pixmaps.
] [Thread Prev