Platforms to show: All Mac Windows Linux Cross-Platform
Window
Extensions to Xojo's Windows class.
- Globals
- Classes
- class GTKWindowMBS
- method Constructor(win as DesktopWindow)
- method Constructor(win as window)
- method Deiconify
- method Fullscreen
- method Iconify
- method Maximize
- method SetIcon(pic as picture)
- method SetKeepAbove(setting as boolean)
- method SetKeepBelow(setting as boolean)
- method Stick
- method Unfullscreen
- method Unmaximize
- method Unstick
- property AcceptFocus as Boolean
- property Handle as Integer
- property IsComposited as Boolean
- property Opacity as Double
- property Resizable as Boolean
- property Title as string
- property XWindowID as Integer
- class OverlayMBS
- method Close
- method Constructor(left as Integer, top as Integer, width as Integer, height as Integer, MacAttributes as Integer, WinExStyle as Integer, WinStyle as Integer)
- method Constructor(left as Integer, top as Integer, width as Integer, height as Integer, WindowsNoActivate as boolean = false, WindowsTopMost as boolean=true)
- method Hide
- method InvalidateShadow
- method Move(left as Integer, top as Integer)
- method Resize(width as Integer, height as Integer)
- method SetFocus
- method Show(WindowsShowMode as Integer = 0)
- method Update
- method Update(NSImage as Variant)
- method UpdateShow
- property Alpha as Double
- property AutoCaptureMouse as Boolean
- property CurrentImage as Variant
- property Height as Integer
- property IgnoreMouseClicks as Boolean
- property Left as Integer
- property Mask as Picture
- property MovableByWindowBackground as Boolean
- property NSView as Variant
- property NSWindow as Variant
- property Pict as Picture
- property Top as Integer
- property Visible as Boolean
- property Width as Integer
- property WindowHandle as Integer
- property WindowID as Integer
- property WindowsClassName as String
- property hasShadow as boolean
- property Title as string
- property WinIsTopMost as boolean
- event Draw(CGContext as Variant, NSGraphicsContext as Variant)
- event GotFocus
- event KeyDown(key as String, keyCode as Integer, modifiers as integer) as Boolean
- event KeyUp(key as String, keyCode as Integer, modifiers as integer) as Boolean
- event LostFocus
- event menuForEvent(NSEvent as variant) as Variant
- event MouseDown(x as Integer, y as Integer, modifiers as Integer) as boolean
- event MouseDragged(x as Integer, y as Integer, modifiers as Integer) as boolean
- event MouseEnter(x as Integer, y as Integer, modifiers as Integer)
- event MouseExit(x as Integer, y as Integer, modifiers as Integer)
- event MouseMoved(x as Integer, y as Integer, modifiers as Integer) as boolean
- event MouseUp(x as Integer, y as Integer, modifiers as Integer) as boolean
- event MouseWheel(x as Integer, y as Integer, dx as Double, dy as Double, modifiers as Integer)
- event WindowBoundsChanged
- event WindowClosed
- event WindowHidden
- event WindowShown
- class GTKWindowMBS
- Class Extensions
- class DesktopWindow
- method ActivateWindowMBS
- method BackingScaleFactorMBS as double
- method CleanUpTransparentMBS(refValue as integer)
- method CollapsableMBS as Boolean
- method ConstrainWindowToScreenMBS(animate as Boolean)
- method GTKWindow as GTKWindowMBS
- method HideKeyboardMBS
- method InvalidateShadowMBS
- method IsFullScreenMBS as Boolean
- method MakeTransparentMBS as integer
- method NSWindowMBS as NSWindowMBS
- method RefreshThreadSafeMBS(immediately As Boolean = False)
- method RefreshThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, immediately As Boolean = False)
- method RemoveWindowProxyIconMBS
- method SetTransparencyMBS(value as integer) as boolean
- method ShowHideToolbarMBS(animate as Boolean, value as Boolean)
- method ShowKeyboardMBS
- method SmoothResizeCenteredMBS(width as integer,height as integer)
- method SmoothResizeMBS(width as integer,height as integer)
- method ToggleFullScreenMBS as Boolean
- method UpdateNowMBS
- method UpdateNowRectMBS(left as integer, top as integer, width as integer, height as integer)
- method WindowFeedbackSettingMBS(Feedback as Integer, byref value as boolean, IncludeAncestors as Boolean = false) as Boolean
- method WinFlashWindowMBS(Invert as boolean)
- class Window
- method ActivateWindowMBS
- method BackingScaleFactorMBS as Double
- method CleanUpTransparentMBS(refValue as Integer)
- method CollapsableMBS as boolean
- method ConstrainWindowToScreenMBS(animate as boolean)
- method GTKWindow as GTKWindowMBS
- method HideKeyboardMBS
- method InvalidateRectThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, EraseBackground as boolean = true)
- method InvalidateShadowMBS
- method InvalidateThreadSafeMBS(EraseBackground as boolean = true)
- method IsFullScreenMBS as Boolean
- method MakeTransparentMBS as Integer
- method RefreshRectThreadSafeMBS(X As Integer, Y As Integer, Width As Integer, Height As Integer, EraseBackground as boolean = true)
- method RefreshThreadSafeMBS(EraseBackground as boolean = true)
- method RemoveWindowProxyIconMBS
- method SetTransparencyMBS(value as Integer) as boolean
- method ShowHideToolbarMBS(animate as boolean, value as boolean)
- method ShowKeyboardMBS
- method SmoothResizeCenteredMBS(width as Integer,height as Integer)
- method SmoothResizeMBS(width as Integer,height as Integer)
- method ToggleFullScreenMBS as Boolean
- method UpdateNowMBS
- method UpdateNowRectMBS(left as Integer, top as Integer, width as Integer, height as Integer)
- class DesktopWindow
- Blog Entries
Release notes
- Version 24.2
- Added XWindowID property to GTKWindowMBS class.
- Version 24.1
- Added MovableByWindowBackground property for OverlayMBS class.
- Implemented better MovableByWindowBackground for OverlayMBS class on Windows to work with mouse events.
- Implemented IgnoreMouseClicks for Windows in OverlayMBS class. Allows mouse clicks to fall through to window behind.
- Version 22.5
- Changed OverlayMBS to return true for worksWhenModal for NSWindow subclass, so you get mouse events if a dialog shows.
- Deprecated MAAttachedWindowMBS classes.
- Version 20.5
- Optimized a few more flags: iTunesLibraryMBS, GrowlMBS, AuthorizationMBS, SUUpdaterMBS, SpinningProgressIndicatorMBS, NSHelpManagerMBS and MAAttachedWindowMBS classes are now desktop only.
- Version 19.5
- Changed OverlayMBS class, so if you use draw event, we don't clear the area for you any more.
- Version 19.2
- Fixed MouseWheel event in OverlayMBS class to be called more often.
- Version 19.1
- Removed OverlayMBS.WindowGroupHandle property.
- Version 19.0
- Fixed problem with drawing OverlayMBS in 64-bit on MacOS 10.14 Mojave.
- Version 18.4
- Added OverlayMBS.Draw event. If used, you need to draw everything yourself via CGContextMBS class.
- Added OverlayMBS.WindowsClassName property.
The items on this page are in the following plugins: MBS Linux Plugin, MBS MacBase Plugin, MBS MacOSX Plugin, MBS Overlay Plugin, MBS Util Plugin, MBS Win Plugin.