Re: [gtkmm] getting mouse pointer position



>hi
>when i put a label into a eventbox, i can get the
>signal_button_press_event but when i connect that
>signal to a button i cannnot get that signal. i need
>to handle it because i need the mouse pointer
>position.
>does anyone can help me?

myeventbox.add_events (GDK_BUTTON_PRESS_MASK|GDK_BUTTON_RELEASE_MASK)

event boxes do not receive *any* events by default.

--p



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