View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#2
Originally Posted by darethehair View Post
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?
Maybe you have to return True or False from that signal handler depending on whether you handled the signal or not. For several signals in GTK, the return value of the signal handler decides whether the event is propagated further or not. Just a guess, though...
 

The Following User Says Thank You to thp For This Useful Post: