xfce_panel_plugin_add_action_widget and hbox

Mark Trompell mark at foresightlinux.org
Thu Jul 14 10:46:29 CEST 2011


On Do., 14. Jul. 2011 10:16:54 CEST, Jari Rahkonen <jari.rahkonen at pp1.inet.fi> wrote:

> 14.07.2011 09:21, Mark Trompell kirjoitti:
> > Hi,
> > I rewrote my xfce4-indicator-plugin to use a hbox with buttons instead
> > of a menubar, to handle panel transparancy.
> > Now if I xfce_panel_plugin_add_action_widget(plugin, hbox) I don't get
> > the context menu. Probably because the hbox doesn't receive the
> > button_press event.
> > if I add each button instead of the hbox, I get the contextmenu, but
> > moving the plugin from that menu doesn't work, because the panel tries
> > to move the buttons instead of the plugin now.
> > Any hint how to handle that?
> > 
> > Tia
> > Mark
> > 
> 
> I could be talking out of my ass here, but sounds like gtk.EventBox 
> might be the widget you're looking for.

I look into it, thanks. Hard to know all gtk rifht from the start.

> - Jari
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20110714/01fbf732/attachment.html>


More information about the Xfce4-dev mailing list