add_action_widget


Description:

public void add_action_widget (Widget widget)

Attach the plugin menu to this widget.

Plugin writers should call this for every widget that can receive mouse events. If you forget to call this the plugin will not have a right-click menu and the user won't be able to remove it.

Parameters:

this

an PanelPlugin.

widget

a Widget that receives mouse events.