View Full Version : to get coardinates

10-13-2007, 02:28 AM
hi all
we are moving the mouse,it will move in deferent coardinates in the desktop.

how to get these coardinate, while moving mouse.

can you please help me..

c language or any linux scripts

thank you in advance

10-14-2007, 11:12 PM
yes exactly this is


in this i want to excute Move (Meta+F7)

have to do this by programatically or any command to excute this..

please help me

thank you in advance

10-15-2007, 06:36 AM
ok.. i will explain it clearly ...

I am new to GTK+ programming and have had very little luck in answering this question. I hope someone here can help.

Okay, this is what I am trying to do:

I am starting by making a simple calendar program using the calendar widget.

I am currently using: gtk_window_set_decorated(window, FALSE)

This correctly makes the window borderless. However, the compiled and running app can not be moved. Normally I can use <ALT>+Click to drag windows around.

My question is ? ? ?

Is there a way to get around this, or create a handle in the window container to move the window? I have not been able to determine what code is used to do this. How can I make a borderless window movable?

Any and all suggestions, code snips or random statements are welcome.