Can someone explain the following code comment & code block to me (or tell
me where to find the "specs").
/*
* Event handler for button press
* Need to change button1 to button2 before passing this event to
* parent handler. (see specs)
* Also updates button_press variable so that we can draw hilites
* correctly
*/
static gint hildon_controlbar_button_press_event(GtkWidget * widget,
GdkEventButton * event)
Code can be seen here:
https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-libs/hildon-widgets/hildon-controlbar.c
Why does it need to change the button? I have a button handler on my main
window and double left clicks are being passed up to my handler as a middle
clicks I usually do a special operation on the middle click, but I guess I
will need to #ifndef it.
Mike
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers