James Henstridge <[EMAIL PROTECTED]> writes:

> The deskguide applet has a special action for the middle button.
> Maybe you could look at that code.

Thanks for the suggestion; however, desktop guide implements a new
widget, and I can't do that in pygtk.  Specifically:

static void
gwm_desktop_class_init (GwmDesktopClass *class)
{
  GtkObjectClass *object_class;
  GtkWidgetClass *widget_class;

  object_class = GTK_OBJECT_CLASS (class);
  widget_class = GTK_WIDGET_CLASS (class);
[...]
  widget_class->button_press_event = gwm_desktop_button_press;

And then in gwm_desktop_button_press() it handles button2 events.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to