Thread: to get coardinates

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    136

    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

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    136
    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

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    136
    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,

Popular pages Recent additions subscribe to a feed