Remove item from panel plugin menu

Nick Schermer nickschermer at gmail.com
Mon Dec 21 10:23:24 CET 2009


2009/12/20 Landry Breuil <landry.breuil at gmail.com>:
> Hi,
>
> so far the public functions to handle panel rightclick menu only
> permits to block/unblock menu,
> and add an item. Is it possible to also add a function to remove items
> from this menu ? Or
> maybe there's another way to implement that i didn't found..

You can always remove items by keeping a pointer to the widget (menu
item) and calling gtk_widget_destroy on it.

Nick



More information about the Xfce4-dev mailing list