On Wed, Nov 13, 2002 at 03:35:42PM +0800, James Henstridge wrote:
A single signal emission will only call handlers attached to the object
it was emitted on. The propagation of events up the heirachy is
acheived by emitting the signal a number of times.
For events such as the button
With gtk1/gnome1, binding the signals seems to happen when a
widget-tree is added to the AppletWidget container. So, if you add
Buttons to a GtkHBox, and then add that box to the AppletWidget, the
button-events are processed by the panel. If you first add the
GtkHBox, and then add the buttons
On Tue, Nov 12, 2002 at 08:33:20AM +0100, Andreas Degert wrote:
With gtk1/gnome1, binding the signals seems to happen when a
widget-tree is added to the AppletWidget container. So, if you add
binding the signals? Do you mean connect() itself, or something else?
Buttons to a GtkHBox, and then
On Tue, Nov 12, 2002 at 01:04:40AM -0800, Brian Warner wrote:
Am I right in thinking that events are propagated backwards (from window to
parent window and so on up to the root window) until somebody claims them,
but that gtk signals are not? That might be why the gnome-applets authors
used
Christian Reis [EMAIL PROTECTED] writes:
On Tue, Nov 12, 2002 at 08:33:20AM +0100, Andreas Degert wrote:
With gtk1/gnome1, binding the signals seems to happen when a
widget-tree is added to the AppletWidget container. So, if you add
binding the signals? Do you mean connect() itself, or
Brian Warner wrote:
With gtk1/gnome1, binding the signals seems to happen when a
widget-tree is added to the AppletWidget container. So, if you add
Buttons to a GtkHBox, and then add that box to the AppletWidget, the
button-events are processed by the panel. If you first add the
GtkHBox, and
On Sun, Nov 10, 2002 at 03:24:49PM -0800, Brian Warner wrote:
The net result is that, in the applets I write that contain buttons, it is
difficult to get to the applet's context menu (to configure or remove the
applet). If the applet is all button, it is impossible.
Several of standard Gnome
Have you tried container.emit() instead of propagate_event? I think
there's a good chance of it working.
Thanks, that seems to help. The right-clicks now drop through to the
underlying panel and manage to bring up the menu (and make it go away again).
I haven't figured out how to send button2
Howdy all..
I've been trying to rewrite my python/gnome1 -based applets in python/gnome2
(somewhat forced into it because of the recent debian/unstable gnome2
switch). One of the more significant changes in gtk2/gnome2 that shows up in
panel applets is that right-clicks on top of GtkButtons no