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
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

Components

Gambas components are shared libraries written in C, C++ or directly in gambas that add new classes to the gambas interpreter.

They are shared between all Gambas programs running on your system, and can be seen as part of the language.

Some components have been deprecated. They are listed here.

Interpreter enhancements

Component Description Gambas version
gb Internal native classes
gb.args Program arguments parser 3.4
gb.data More container datatypes 3.3
gb.debug Debugger helper
gb.eval Expression evaluator
gb.inotify Filesystem events monitoring 3.6
gb.highlight Syntax highlighter based on definition files 3.19
gb.logging Flexible log message handling 3.5
gb.ncurses NCurses library 3.2
gb.pcre Perl Compatible Regular Expression matching
gb.settings Application settings management
gb.signal POSIX signals management
gb.term Terminal management
gb.test Unit test framework 3.15
gb.util Miscellaneous utility functions 3.7
gb.vb Visual-Basic compatibility

Communication & Network

Component Description Gambas version
gb.dbus D-Bus interface
gb.gtk3.webview New web browser component based on Chromium for gb.gtk3 3.16
gb.gui.webview New QT4/QT5/GTK+3 Chromium-based browser switcher component 3.16
gb.map Online map viewing component 3.4
gb.markdown Gambas Markdown markup syntax 3.6
gb.mime Mime message management 3.3
gb.net Network access and serial port management
gb.net.curl Network high-level protocol management based on the Curl library
gb.net.pop3 POP3 client 3.3
gb.net.smtp SMTP client
gb.qt4.webview New web browser component based on WebKit for gb.qt4 3.16
gb.qt5.webview New web browser component based on Chromium for gb.qt5 3.16
gb.qt6.webview New web browser component based on Chromium for gb.qt6 3.20

Web development

Component Description Gambas version
gb.util.web Miscellaneous utility functions for web applications 3.7
gb.web Web applications development
gb.web.feed Web feed parser and generator 3.10
gb.web.gui Web applications GUI component using processes as session 3.15

Database

Component Description Gambas version
gb.db Database access
gb.db.form Data bound controls
gb.mysql MySQL specific routines
gb.memcached Memcached client 3.4

XML programming

Component Description Gambas version
gb.xml XML tools now made in Gambas
gb.xml.html HTML generator 3.2
gb.xml.xslt XSLT tools based on libxml
gb.xml.rpc XML-RPC protocol implementation

Compression & Crypting

Component Description Gambas version
gb.compress Compression library
gb.crypt MD5/DES crypting
gb.hash MD5, SHA1, SHA256 and SHA512 hashing functions. 3.18
gb.openssl OpenSSL library routines 3.5

Scientific Libraries

Component Description Gambas version
gb.complex Complex number implementation 3.3
gb.gmp Gnu Multiple Precision Arithmetic Library interface 3.5
gb.gsl Gnu Scientific Library interface

  

Graphical User Interface

Component Description Gambas version
gb.form Enhanced controls
gb.form.dialog Enhanced version of the standard dialogs
gb.form.mdi Multi-document interface
gb.form.editor Enhanced text editor with syntax highlighting 3.8
gb.form.htmlview A HTML viewer based on litehtml library. 3.17
gb.form.terminal Terminal emulator 3.9
gb.form.print Generic preview and print form 3.14
gb.gtk GTK+2 toolkit implementation
gb.gtk3 GTK+3 toolkit implementation 3.6
gb.gui Qt/GTK+ component switcher
gb.gui.qt Qt4/Qt5/Qt6 component switcher 3.8
gb.gui.qt.ext Qt4/Qt5/Qt6 extension component switcher 3.19
gb.poppler PDF renderer based on Poppler 3.15
gb.qt4 Qt4 toolkit implementation
gb.qt4.ext Qt4 toolkit extension
gb.qt5 Qt5 toolkit implementation 3.8
gb.qt5.ext Qt5 toolkit extension
gb.qt6 Qt6 toolkit implementation 3.20
gb.qt6.ext Qt6 toolkit extension 3.20
gb.report2 Report designer 3.8

2D Graphics

Component Description Gambas version
gb.cairo Vectorial drawing based on Cairo
gb.clipper Polygon clipping library based on the Clipper library 3.5
gb.image Image management component
gb.image.imlib Image routines based on the Imlib2 library
gb.image.io Image loading and saving
gb.image.effect Image filtering routines
gb.chart Numeric Charting

3D Graphics

Component Description Gambas version
gb.gtk.opengl OpenGL for GTK+2 toolkit 3.2
gb.gtk3.opengl OpenGL for GTK+3 toolkit 3.17
gb.gui.opengl OpenGL with QT/GTK+ switcher component 3.2
gb.gui.qt.opengl OpenGL with Qt4/Qt5/Qt6 switcher component 3.19
gb.opengl OpenGL library interface
gb.opengl.glu OpenGL Library Utility interface
gb.opengl.glsl OpenGL Shaders Library interface
gb.opengl.sge OpenGL Simple Game Engine based on MD2 format 3.5
gb.qt4.opengl OpenGL for QT4 toolkit
gb.qt5.opengl OpenGL for QT5 toolkit 3.8
gb.qt6.opengl OpenGL for QT6 toolkit 3.20

Desktop

Component Description Gambas version
gb.desktop Desktop management component
gb.desktop.x11 X-Window library interface 3.6
gb.gui.trayicon System tray icon management 3.8

SDL programming

Component Description Gambas version
gb.sdl2 SDL 2 component interface 3.7
gb.sdl2.audio SDL 2 audio component interface 3.7

Multimedia

Component Description Gambas version
gb.media GStreamer library interface 3.2
gb.media.form Multimedia player control. 3.2
gb.openal OpenAL library interface 3.5
gb.scanner Scanner management library 3.7

There are 512 unique classes and 4459 unique symbols in all Gambas components.

See also