org.kde.koala

Interface KPanelAppletSignals

public interface KPanelAppletSignals

Method Summary
voidrequestFocus(boolean focus)
Request keyboard focus from the panel.
voidupdateLayout()
Emit this signal to make the panel relayout all applets, when you want to change your width (horizontal panel) or height (vertical panel).

Method Detail

requestFocus

public void requestFocus(boolean focus)
Request keyboard focus from the panel. Applets should never call this directly but rather call needsFocus(boolean)

Parameters: focus activate the window and ensure the panel remains visible when true Each and ever time a requestFocus(true) is emitted, it MUST be paired eventually with a requestFocus(false) otherwise the panel may end up never hiding

See Also: KPanelAppletSignals

UNKNOWN: Request keyboard focus from the panel.

updateLayout

public void updateLayout()
Emit this signal to make the panel relayout all applets, when you want to change your width (horizontal panel) or height (vertical panel). The panel is going to relayout all applets based on their widthForHeight(int height) (horizontal panel) or heightForWidth(int width) (vertical panel). Please note that the panel may change the applet's location if the new widthForHeight(int height) (horizontal panel) or heightForWidth(int width) (vertical panel) does not fit into the current panel layout.

UNKNOWN: Emit this signal to make the panel relayout all applets, when you want to change your width (horizontal panel) or height (vertical panel).