block_autohide


Description:

public void block_autohide (bool blocked)

Whether this plugin blocks the autohide functionality of the panel.

Use this when you 'popup' something that is visually attached to the plugin at it will look weird for a user if the panel will hide while he/she is working in the popup.

Be sure to use this function as lock/unlock pairs, as a counter is incremented/decremented under the hood. For menus, you can use register_menu which will take care of this.

Parameters:

this

an PanelPlugin.

blocked

new blocking state of this plugin.