Re: Mouse activate and key pressed signal



Marco Quezada <mquezada nlxcorp com> writes:
Hi, how can I capture a key press - mouse click combination (for example
SHIFT + RIGHT_MOUSE_BTN) for a callback ?


Connect to button_press_event, and check "if (event->state &
GDK_SHIFT_MASK)"

Havoc




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