C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 10-13-2007, 02:28 AM   #1
Registered User
 
Join Date: Dec 2006
Posts: 124
to get coardinates

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
munna_dude is offline   Reply With Quote
Old 10-14-2007, 11:12 PM   #2
Registered User
 
Join Date: Dec 2006
Posts: 124
yes exactly this is

http://www.cm.cf.ac.uk/Dave/X_lectur...l#fig:win_menu

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
munna_dude is offline   Reply With Quote
Old 10-15-2007, 06:36 AM   #3
Registered User
 
Join Date: Dec 2006
Posts: 124
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.

Thanks,
munna_dude is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 10:44 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22