2.227 .moveable

This attribute declares whether a window is interactively moveable by the user.

Definition

  • Data type

    boolean

  • Access

    get, set

  • changed event

    yes

Particularity of Motif

Depending on the display or desktop manager in use, the attribute cannot be changed in the visible state; under certain conditions, it may not be possible to set it at runtime. In some cases, it may help to toggle the visibility of the window.

Since the ability of setting this attribute on Motif directly depends on the display or desktop manager used, it is recommended to set the attribute only statically or immediately after creating an instance with :create(…, true) in the invisible state.

Remark Qt

The attribute .moveable has no effect in Qt. Windows can always be moved.