*** ptl has quit IRC | 00:04 | |
*** ptl has joined #maemo-devel | 00:04 | |
*** pH5 has joined #maemo-devel | 00:04 | |
*** Spookje has quit IRC | 00:06 | |
*** thomasjfox has quit IRC | 00:15 | |
*** thomasjfox has joined #maemo-devel | 00:16 | |
*** Spookje has joined #maemo-devel | 00:19 | |
*** me|kor has joined #maemo-devel | 00:23 | |
*** BabelO has quit IRC | 00:45 | |
*** pH5 has quit IRC | 01:17 | |
*** thomasjfox has quit IRC | 01:53 | |
*** SpeedEvil1 has joined #maemo-devel | 02:01 | |
*** SpeedEvil has quit IRC | 02:03 | |
*** SpeedEvil1 is now known as SpeedEvil | 02:13 | |
*** JPohlmann has quit IRC | 02:44 | |
*** me|kor has quit IRC | 02:58 | |
*** SpeedEvil has quit IRC | 03:24 | |
*** SpeedEvil has joined #maemo-devel | 03:24 | |
*** OEXPL has quit IRC | 03:25 | |
*** TheXception|off is now known as TheXception | 04:07 | |
*** Rarok has quit IRC | 04:27 | |
*** TheXception is now known as TheXception|off | 05:22 | |
*** TheXception|off is now known as TheXception | 05:25 | |
*** Venemo has quit IRC | 06:32 | |
*** Rarok has joined #maemo-devel | 06:47 | |
*** DocScrutinizer has quit IRC | 07:34 | |
*** DocScrutinizer has joined #maemo-devel | 07:34 | |
*** pH5 has joined #maemo-devel | 10:36 | |
*** silbo has joined #maemo-devel | 12:11 | |
*** me|kor has joined #maemo-devel | 12:49 | |
*** Ian-- has quit IRC | 12:51 | |
*** Ian-- has joined #maemo-devel | 13:01 | |
*** BabelO has joined #maemo-devel | 13:04 | |
*** Ian-- has quit IRC | 13:08 | |
*** Ian-- has joined #maemo-devel | 13:08 | |
*** NIN101 has joined #maemo-devel | 13:16 | |
*** me|kor has quit IRC | 13:35 | |
*** NIN101 has quit IRC | 13:44 | |
*** silbo has quit IRC | 13:51 | |
*** NIN101 has joined #maemo-devel | 13:51 | |
*** Ken-Young has joined #maemo-devel | 13:56 | |
Ken-Young | Running on maemo 5, how can an application know when it has been minimized? | 13:57 |
---|---|---|
pH5 | Ken-Young: it loses input focus, for example | 14:08 |
Ken-Young | pH5, Yes, that's what I mean - if the little pair of boxes on the upper left is clicked, so that the current app is shunk and becomes part of the matirx of running apps. I want to detect that condition, and stop updating the app's display to lower power usage. | 14:11 |
Ken-Young | s/shunk/shrunk/ | 14:12 |
pH5 | Ken-Young: which toolkit? have a look at http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-focus-out-event or http://doc.qt.nokia.com/4.7/qwidget.html#focusOutEvent | 14:20 |
Ken-Young | pH5, Thanks. I'm using C and gtk. | 14:21 |
*** silbo_ has joined #maemo-devel | 14:21 | |
*** silbo_ has quit IRC | 14:32 | |
*** 18VABZ164 has joined #maemo-devel | 14:37 | |
Ken-Young | pH5 - I still can't get it to work. Do you know if a specific event is sent to the application when it is minimized or maximized? If so, do you know the name of that event? | 14:48 |
*** ptl has quit IRC | 15:00 | |
pH5 | Ken-Young: you have to connect to the "focus-out-event" signal of your top level window | 15:03 |
Ken-Young | pH5, on the gtk_widget_set_events call, do I enable GDK_FOCUS_CHANGE ? | 15:04 |
pH5 | I think so, but it works here without doing that explicitly. | 15:05 |
Ken-Young | pH5 - hmmm, I'm doing something wrong. I call g_signal_connect with "focus_out_event", but my service routine never gets called. | 15:07 |
pH5 | dashes vs underscores? | 15:07 |
Ken-Young | I'm using underscores, because I also use expose_event, button_release_event, button_press_event, and more, and all those events get properly delivered, and they all use underscores, so I assumed focus_out_event used underscores too. | 15:09 |
Ken-Young | I just tried dashes - it still doesn't get the event. | 15:10 |
pH5 | strange. simple example that works here: http://pastebin.com/Zw1mT9Fu | 15:11 |
Ken-Young | pH5, Thanks, that helped. I was not enabling the signal on the outermost widget, and that seems to have been the problem (even though it isn't a problem for other signals). I get the signal now - thanks again! | 15:19 |
*** JPohlmann has joined #maemo-devel | 15:23 | |
*** JPohlmann has quit IRC | 15:23 | |
*** JPohlmann has joined #maemo-devel | 15:23 | |
*** BabelO_ has joined #maemo-devel | 15:32 | |
*** BabelO_ has joined #maemo-devel | 15:32 | |
*** BabelO has quit IRC | 15:33 | |
*** ptl has joined #maemo-devel | 15:58 | |
*** ptl has quit IRC | 16:01 | |
*** BabelO_ has quit IRC | 16:08 | |
*** BabelO has joined #maemo-devel | 16:20 | |
*** BabelO has joined #maemo-devel | 16:20 | |
*** ptl has joined #maemo-devel | 16:28 | |
*** ptl has quit IRC | 16:28 | |
*** ptl has joined #maemo-devel | 16:28 | |
*** ptl has quit IRC | 16:35 | |
*** BabelO has quit IRC | 16:37 | |
*** me|kor has joined #maemo-devel | 16:45 | |
*** BabelO has joined #maemo-devel | 16:50 | |
*** uvuvquvp has joined #maemo-devel | 17:05 | |
*** uvuvquvp has quit IRC | 17:06 | |
*** me|kor has quit IRC | 17:06 | |
*** ptl has joined #maemo-devel | 17:32 | |
*** ptl has quit IRC | 17:37 | |
*** ptl has joined #maemo-devel | 17:45 | |
*** BabelO has quit IRC | 17:48 | |
*** NIN101 has quit IRC | 17:54 | |
*** NIN101 has joined #maemo-devel | 17:54 | |
*** ptl has quit IRC | 18:02 | |
*** BabelO has joined #maemo-devel | 18:14 | |
*** BabelO has joined #maemo-devel | 18:14 | |
*** ptl has joined #maemo-devel | 18:22 | |
*** JPohlmann has quit IRC | 18:26 | |
*** JPohlmann1 has joined #maemo-devel | 18:26 | |
*** ptl has quit IRC | 18:27 | |
*** GeneralAntilles has quit IRC | 18:30 | |
*** GeneralAntilles has joined #maemo-devel | 18:30 | |
*** BluesLee has joined #maemo-devel | 18:33 | |
*** ptl has joined #maemo-devel | 18:41 | |
*** BluesLee has quit IRC | 18:53 | |
*** BabelO has quit IRC | 19:18 | |
*** JPohlmann1 has quit IRC | 19:31 | |
*** JPohlmann has joined #maemo-devel | 19:32 | |
*** BabelO has joined #maemo-devel | 19:32 | |
*** BabelO has joined #maemo-devel | 19:32 | |
*** SpeedEvil1 has joined #maemo-devel | 20:06 | |
*** uen has joined #maemo-devel | 20:08 | |
*** SpeedEvil has quit IRC | 20:09 | |
*** |uen| has quit IRC | 20:11 | |
*** SpeedEvil1 is now known as SpeedEvil | 20:17 | |
*** JPohlmann has quit IRC | 20:20 | |
*** JPohlmann1 has joined #maemo-devel | 20:20 | |
*** 18VABZ164 has quit IRC | 20:30 | |
*** BabelO has quit IRC | 20:45 | |
*** BabelO has joined #maemo-devel | 20:55 | |
*** JPohlmann1 has quit IRC | 20:56 | |
*** JPohlmann has joined #maemo-devel | 20:56 | |
*** BabelO has quit IRC | 21:21 | |
*** BabelO has joined #maemo-devel | 21:22 | |
*** spiritd has joined #maemo-devel | 21:41 | |
*** SpeedEvil has quit IRC | 21:41 | |
*** SpeedEvil has joined #maemo-devel | 21:42 | |
*** silbo has joined #maemo-devel | 21:42 | |
*** SpeedEvil has quit IRC | 22:06 | |
*** SpeedEvil has joined #maemo-devel | 22:14 | |
*** SpeedEvil1 has joined #maemo-devel | 22:17 | |
*** SpeedEvil has quit IRC | 22:18 | |
*** SpeedEvil1 is now known as speedevil | 22:18 | |
*** pH5 has quit IRC | 22:24 | |
*** speedevil is now known as SpeedEvil | 22:31 | |
*** spiritd has quit IRC | 22:40 | |
*** ptl has quit IRC | 23:48 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!