Thank you,
I'll try the gtk-sharp trunk.
On Wed, Dec 9, 2009 at 1:53 AM, Christian Hoff wrote:
> Matt Guo wrote:
>>
>> I want to send a mouse event to a given window. The C code for this
>> would be like:
>>
>> bool SendMousePress (MouseButton type, x, y) {
>> GdkEvent* event = gdk_event_new(GDK
Matt Guo wrote:
> I want to send a mouse event to a given window. The C code for this
> would be like:
>
> bool SendMousePress (MouseButton type, x, y) {
> GdkEvent* event = gdk_event_new(GDK_BUTTON_PRESS);
> event->button.button = type == LEFT ? 1 : (type == MIDDLE ? 2 : 3);
> event->button.
Hey,
I want to send a mouse event to a given window. The C code for this
would be like:
bool SendMousePress (MouseButton type, x, y) {
GdkEvent* event = gdk_event_new(GDK_BUTTON_PRESS);
event->button.button = type == LEFT ? 1 : (type == MIDDLE ? 2 : 3);
event->button.x = x;
event->button.