Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.ext
gb.gui.qt.opengl
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.highlight
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.qt6
gb.qt6.ext
gb.qt6.opengl
gb.qt6.webview
gb.report
gb.report2
gb.scanner
gb.sdl
.Joystick
Desktop
Draw
Fill
Font
Image
Joystick
Joysticks
Key
Line
Mouse
Window
Activate
Caption
Draw
Enter
Height
Id
JoyAxisMove
KeyPress
KeyRelease
Leave
MouseDown
MouseMove
MouseUp
Open
Shown
Text
Title
Tracking
Width
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

Window (gb.sdl)

This class implement a window

This class is creatable.

Properties
Caption   A synonymous for the Text property.
Framerate  
FullScreen  
Grabbed  
Handle  
Height   Returns or sets the height of the window.
Id   A synonymous for the Handle property.
Mouse  
Resizable  
Shown   Returns if the Window is shown
Text   Returns or sets the title of the window.
Title   A synonymous for the Text property.
Tracking   Returns or sets if the control will receive MouseMove events without button pressed.
Width   Returns or sets the width of the window.

Methods
Clear  
Close  
Fill  
Refresh  
Screenshot  
Show  
Update  

Events
Activate   Raised when the window is activated.
Close  
Deactivate  
Draw   Raised when the window must be redrawn.
Enter   Raised when the mouse enters the window.
JoyAxisMove   Raised when the stick (or assimilated) of an enabled joystick is moved while the Window has the focus.
JoyBallMove  
JoyButtonPress  
JoyButtonRelease  
JoyHatMove  
KeyPress   Raised when a key is pressed while the control has the focus.
KeyRelease   Raised when a key is released while the window has the focus.
Leave   Raised when the mouse leaves the window.
MouseDown   Raised when a mouse button is pressed while the cursor is inside the window.
MouseMove   Raised when the mouse moves inside the window while a mouse button is pressed.
MouseUp   Raised when a mouse button is depressed while the cursor is inside the window.
Open   Raised when the window is going to be visible for the first time.
Resize