Synthesizing a GdkEvent


Is there a way to synthesize a GdkEvent? I would only need the position of
the mouse pointer (if possible, relative to a given GdkWindow) and the
current X timestamp.
What does gdk_event_get return? I tried to use it from the handler of a
pop-up menu, but somehow the X and Y fields don't seem right.


   .--= ULLA! =---------------------.   `We are not here to give users what
   \     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Ha paranoiásokkal akarsz megismerkedni, kezdd el követni ôket.

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