org.kde.koala
Interface KPanelAppletSignals


public interface KPanelAppletSignals


Method Summary
 void requestFocus(boolean focus)
          Request keyboard focus from the panel.
 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).
 

Method Detail

updateLayout

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.


requestFocus

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:
#needsFocus