Platforms to show: All Mac Windows Linux Cross-Platform

Back to GTKWindowMBS class.

GTKWindowMBS.AcceptFocus as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 13.0 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Get/Set whether window should receive focus.

Windows may set a hint asking the desktop environment not to receive the input focus. This function sets this hint.
(Read and Write property)

GTKWindowMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 13.0 ❌ No ❌ No ✅ Yes ❌ No Desktop only
The internal window handle.

(Read and Write property)

GTKWindowMBS.IsComposited as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 13.0 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Whether this window can rely on having its alpha channel drawn correctly.

On X11 this function returns whether a compositing manager is running for window's screen.
(Read only property)

Some examples using this property:

GTKWindowMBS.Opacity as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 13.0 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Get or set the Opacity of this window.

Request the windowing system to make window partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.) On X11 this has any effect only on X screens with a compositing manager running. See isComposited.
(Read and Write property)

GTKWindowMBS.Resizable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 13.0 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Get or set whether the user can resize a window.

(Read and Write property)

GTKWindowMBS.Title as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 13.0 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Get or set the window title.

The title of a window will be displayed in its title bar; on the X Window System, the title bar is rendered by the window manager, so exactly how the title appears to users may vary according to a user's exact configuration. The title should help a user distinguish this window from other windows they may have open. A good title might include the application name and current document filename, for example.
(Read and Write property)

GTKWindowMBS.XWindowID as Integer   New in 24.2

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Linux Plugin 24.2 ❌ No ❌ No ✅ Yes ❌ No Desktop only
Queries the X-Window ID for the window.

Value is zero if not available.
(Read only property)

The items on this page are in the following plugins: MBS Linux Plugin.


The biggest plugin in space...