Category: BGI GUI
Syntax:
bgiInitBGI:Int(BGIFontName:String, BGIFontSize:Int)
Int
Initializes the BGI (Bamboo Gizmo Interface) GUI system and sets the font
its controls use.
Takes BGIFontName (String) and BGIFontSize (Int). The size is a height in
pixels, as Windows' CreateFont takes it - the height of a line of text, so 16
gives text a little larger than a 12 point font. If the font is not installed
the desktop substitutes the nearest it has (Liberation Sans for Arial).
Returns 1 on success, 0 if no GUI is available (no desktop session).
Menus, title bars and dialogs keep the desktop's own font, as they keep the
system font on Windows.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn