Re: [gtk-list] Re: x and y location?
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: x and y location?
- Date: Fri, 8 May 1998 22:50:01 +0200 (CEST)
On 8 May 1998, Rob Browning wrote:
> Doug South <dsouth@squirrel.net> writes:
>
> > How can I find the x and y location of a widget?
>
> gdk_window_get_origin(widget->window, ...);
uhm, i seem to have missed the original post, but anyways it's usually
easier (and won't fail for unrealized widgets) if you use
widget->allocation.x and widget->allocation.y ;)
>
> --
> Rob Browning <rlb@cs.utexas.edu>
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]