Re: GtkAllocation coordinate question



Oisin Boydell <Oisin Boydell Sun COM> writes:

> Are the x and y coordinate values in the GtkAllocation part of a
> GtkWidget (widget->allocation.x and widget->allocation.y) relative
> to screen coordinates or relative to parent window or top level
> window coordinates? It is not clear from the docs.

They are relative to gtk_widget_get_parent_window widget).

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]