The Following User Says Thank You to darethehair For This Useful Post: | ||
![]() |
2009-06-13
, 14:40
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#2
|
This works OK, but has the *undesirable* side-effect of negating all other 'click' action -- namely being able to 'click & drag' the applet to another location on the desktop. Can anyone help to suggest other event callbacks that I need to include to re-establish that functionality?
The Following User Says Thank You to thp For This Useful Post: | ||
![]() |
2009-06-13
, 14:42
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#3
|
![]() |
2009-06-13
, 17:29
|
|
Posts: 273 |
Thanked: 104 times |
Joined on Mar 2007
@ Manitoba, Canada
|
#4
|
http://talk.maemo.org/showthread.php?t=16720
In that thread, all participants (including myself) had tried and given up trying to implement any 'clickable' widgets inside these 'transparent' desktop widgets.
With one of my own applets, many months later, I was able to put some basic 'clickable' behavior into my applet by defining a 'button_press_event' routine:
...
self.connect ("button_press_event", self.button_press_event)
...
def button_press_event(self, widget, event):
...
This works OK, but has the *undesirable* side-effect of negating all other 'click' action -- namely being able to 'click & drag' the applet to another location on the desktop. Can anyone help to suggest other event callbacks that I need to include to re-establish that functionality?
It is so annoying to be able to (finally) establish some level of 'clickability' into my applet, but sacrificing something so important
Thanks
Programmatic
There is nothing more dangerous than a bored cat.