[gtk-list] Re: coordinates problem.
- From: Patrice Fortier <Patrice Fortier aquarel fr>
- To: gtk-list redhat com
- Subject: [gtk-list] Re: coordinates problem.
- Date: Sat, 15 Nov 1997 13:00:11 +0100
Sorry for the title, I deleted the original message.
This message is for the guy who find a (0,0) coords for his
main application window (I think it'll be the same thing for
any main apps window or dialog window).
Unnder X(t), if you create a window and ask for its coords,
you'll recieve the coords relative to the parent window, exept
for your main window which will be (0,0), the window itself.
There is a function to get the coords relative to the root
window: XTranslateCoordinates().
Maybe this is not handled (yet ;)) by gtk.
I can't assure you about all this here, but I hope that it'll be
useful for you anyway.
Patrice.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]