IRC log of #maemo-devel for Sunday, 2011-01-02

*** ptl has quit IRC00:04
*** ptl has joined #maemo-devel00:04
*** pH5 has joined #maemo-devel00:04
*** Spookje has quit IRC00:06
*** thomasjfox has quit IRC00:15
*** thomasjfox has joined #maemo-devel00:16
*** Spookje has joined #maemo-devel00:19
*** me|kor has joined #maemo-devel00:23
*** BabelO has quit IRC00:45
*** pH5 has quit IRC01:17
*** thomasjfox has quit IRC01:53
*** SpeedEvil1 has joined #maemo-devel02:01
*** SpeedEvil has quit IRC02:03
*** SpeedEvil1 is now known as SpeedEvil02:13
*** JPohlmann has quit IRC02:44
*** me|kor has quit IRC02:58
*** SpeedEvil has quit IRC03:24
*** SpeedEvil has joined #maemo-devel03:24
*** OEXPL has quit IRC03:25
*** TheXception|off is now known as TheXception04:07
*** Rarok has quit IRC04:27
*** TheXception is now known as TheXception|off05:22
*** TheXception|off is now known as TheXception05:25
*** Venemo has quit IRC06:32
*** Rarok has joined #maemo-devel06:47
*** DocScrutinizer has quit IRC07:34
*** DocScrutinizer has joined #maemo-devel07:34
*** pH5 has joined #maemo-devel10:36
*** silbo has joined #maemo-devel12:11
*** me|kor has joined #maemo-devel12:49
*** Ian-- has quit IRC12:51
*** Ian-- has joined #maemo-devel13:01
*** BabelO has joined #maemo-devel13:04
*** Ian-- has quit IRC13:08
*** Ian-- has joined #maemo-devel13:08
*** NIN101 has joined #maemo-devel13:16
*** me|kor has quit IRC13:35
*** NIN101 has quit IRC13:44
*** silbo has quit IRC13:51
*** NIN101 has joined #maemo-devel13:51
*** Ken-Young has joined #maemo-devel13:56
Ken-YoungRunning on maemo 5, how can an application know when it has been minimized?13:57
pH5Ken-Young: it loses input focus, for example14:08
Ken-YoungpH5, 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-Youngs/shunk/shrunk/14:12
pH5Ken-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#focusOutEvent14:20
Ken-YoungpH5, Thanks.   I'm using C and gtk.14:21
*** silbo_ has joined #maemo-devel14:21
*** silbo_ has quit IRC14:32
*** 18VABZ164 has joined #maemo-devel14:37
Ken-YoungpH5 - 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 IRC15:00
pH5Ken-Young: you have to connect to the "focus-out-event" signal of your top level window15:03
Ken-YoungpH5,  on the gtk_widget_set_events call, do I enable GDK_FOCUS_CHANGE ?15:04
pH5I think so, but it works here without doing that explicitly.15:05
Ken-YoungpH5 - hmmm, I'm doing something wrong.   I call g_signal_connect with "focus_out_event", but my service routine never gets called.15:07
pH5dashes vs underscores?15:07
Ken-YoungI'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-YoungI just tried dashes - it still doesn't get the event.15:10
pH5strange. simple example that works here: http://pastebin.com/Zw1mT9Fu15:11
Ken-YoungpH5, 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-devel15:23
*** JPohlmann has quit IRC15:23
*** JPohlmann has joined #maemo-devel15:23
*** BabelO_ has joined #maemo-devel15:32
*** BabelO_ has joined #maemo-devel15:32
*** BabelO has quit IRC15:33
*** ptl has joined #maemo-devel15:58
*** ptl has quit IRC16:01
*** BabelO_ has quit IRC16:08
*** BabelO has joined #maemo-devel16:20
*** BabelO has joined #maemo-devel16:20
*** ptl has joined #maemo-devel16:28
*** ptl has quit IRC16:28
*** ptl has joined #maemo-devel16:28
*** ptl has quit IRC16:35
*** BabelO has quit IRC16:37
*** me|kor has joined #maemo-devel16:45
*** BabelO has joined #maemo-devel16:50
*** uvuvquvp has joined #maemo-devel17:05
*** uvuvquvp has quit IRC17:06
*** me|kor has quit IRC17:06
*** ptl has joined #maemo-devel17:32
*** ptl has quit IRC17:37
*** ptl has joined #maemo-devel17:45
*** BabelO has quit IRC17:48
*** NIN101 has quit IRC17:54
*** NIN101 has joined #maemo-devel17:54
*** ptl has quit IRC18:02
*** BabelO has joined #maemo-devel18:14
*** BabelO has joined #maemo-devel18:14
*** ptl has joined #maemo-devel18:22
*** JPohlmann has quit IRC18:26
*** JPohlmann1 has joined #maemo-devel18:26
*** ptl has quit IRC18:27
*** GeneralAntilles has quit IRC18:30
*** GeneralAntilles has joined #maemo-devel18:30
*** BluesLee has joined #maemo-devel18:33
*** ptl has joined #maemo-devel18:41
*** BluesLee has quit IRC18:53
*** BabelO has quit IRC19:18
*** JPohlmann1 has quit IRC19:31
*** JPohlmann has joined #maemo-devel19:32
*** BabelO has joined #maemo-devel19:32
*** BabelO has joined #maemo-devel19:32
*** SpeedEvil1 has joined #maemo-devel20:06
*** uen has joined #maemo-devel20:08
*** SpeedEvil has quit IRC20:09
*** |uen| has quit IRC20:11
*** SpeedEvil1 is now known as SpeedEvil20:17
*** JPohlmann has quit IRC20:20
*** JPohlmann1 has joined #maemo-devel20:20
*** 18VABZ164 has quit IRC20:30
*** BabelO has quit IRC20:45
*** BabelO has joined #maemo-devel20:55
*** JPohlmann1 has quit IRC20:56
*** JPohlmann has joined #maemo-devel20:56
*** BabelO has quit IRC21:21
*** BabelO has joined #maemo-devel21:22
*** spiritd has joined #maemo-devel21:41
*** SpeedEvil has quit IRC21:41
*** SpeedEvil has joined #maemo-devel21:42
*** silbo has joined #maemo-devel21:42
*** SpeedEvil has quit IRC22:06
*** SpeedEvil has joined #maemo-devel22:14
*** SpeedEvil1 has joined #maemo-devel22:17
*** SpeedEvil has quit IRC22:18
*** SpeedEvil1 is now known as speedevil22:18
*** pH5 has quit IRC22:24
*** speedevil is now known as SpeedEvil22:31
*** spiritd has quit IRC22:40
*** ptl has quit IRC23:48

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!