[maemo-developers] HildonControlbar
From: Mike Morrison mike_morrison at alumni.uvic.caDate: Tue Apr 3 14:03:03 EEST 2007
- Previous message: Problem with dbus_connection_register_object_path() and Python wrappers
- Next message: HildonControlbar
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070403/d798273a/attachment.htm
- Previous message: Problem with dbus_connection_register_object_path() and Python wrappers
- Next message: HildonControlbar
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]