WindowFlags

After selecting a type from WindowTypes, you may further customize its behavior by setting one or more of these flags.

More...

Values

ValueMeaning
normal0
skipTaskbar1
alwaysOnTop2
alwaysOnBottom4
cannotBeActivated8
alwaysRequestMouseMotionEvents16

By default, simpledisplay will attempt to optimize mouse motion event reporting when it detects a remote connection, causing them to only be issued if input is grabbed (see: SimpleWindow.grabInput). This means doing hover effects and mouse game control on a remote X connection may not work right. Include this flag to override this optimization and always request the motion events. However btw, if you are doing mouse game control, you probably want to grab input anyway, and hover events are usually expendable! So think before you use this flag.

dontAutoShow0x1000_0000

Don't automatically show window after creation; you will have to call show() manually.

Detailed Description

The different window types have different meanings of normal. If the window type already is a good match for what you want to do, you should just use WindowFlags.normal, the default, which will do the right thing for your users.

The window flags will not always be honored by the operating system and window managers; they are hints, not commands.

Meta