position of widget / widget at position
- From: Etienne Grossmann <etienne anonimo isr ist utl pt>
- To: gtk-list redhat com
- CC: etienne isr ist utl pt
- Subject: position of widget / widget at position
- Date: Mon, 1 Feb 1999 11:05:17 +0000 (LMT)
Hello,
I learned from the "Window size" thread how to determin the size of
a widget.
I looked into the doc, and found no way of doing the following :
- What is the x,y position (absolute screen coordinates, or relative
to the "toplevel" gtk window) of a widget?
I know of the functions,
void gdk_window_get_position (GdkWindow *window,
gint *x,
gint *y);
void gdk_window_get_size (GdkWindow *window,
gint *width,
gint *height);
but I can't find how to use them with gtk objects.
- What is the widget at position x,y?
Thanks,
Etienne
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]