#Action

C
Keys
R
String[]

Enabled
p
b

Visible
p
b

Tooltip
p
s

Text
p
s

Picture
p
Picture

Value
p
b

Shortcut
p
s

HasShortcut
r
b

Controls
r
Object[]

_Register
M

(Control)o(Old)s(Key)s
Lock
M


Unlock
M


IsLocked
M
b

Raise
M

(Control)o
_get
M
Action
(Key)s[(Parent)Control;]
_new
m

(Key)s(Parent)Control;
#Border

C
Solid
C
i
1
Dotted
C
i
2
Dashed
C
i
3
Double
C
i
16
Width
p
g

Radius
p
g

Style
p
i

Color
p
i

Padding
p
g

Margin
p
g

LeftStyle
v
i

RightStyle
v
i

TopStyle
v
i

BottomStyle
v
i

LeftWidth
v
g

RightWidth
v
g

TopWidth
v
g

BottomWidth
v
g

LeftColor
v
i

RightColor
v
i

TopColor
v
i

BottomColor
v
i

TopLeftRadius
v
g

TopRightRadius
v
g

BottomLeftRadius
v
g

BottomRightRadius
v
g

LeftPadding
v
g

RightPadding
v
g

TopPadding
v
g

BottomPadding
v
g

LeftMargin
v
g

RightMargin
v
g

TopMargin
v
g

BottomMargin
v
g

SlashStyle
v
i

BackslashStyle
v
i

SlashColor
v
i

BackslashColor
v
i

SlashWidth
v
g

BackslashWidth
v
g

Copy
m
Border

Paint
m

(Rect)RectF;[(TopBorder)Border;(BottomBorder)Border;(LeftBorder)Border;(RightBorder)Border;]
IsVoid
m
b

Clip
m
Rect
(Rect)RectF;[(TopBorder)Border;(BottomBorder)Border;(LeftBorder)Border;(RightBorder)Border;]
GetRect
m
Rect
(Rect)RectF;[(WithPadding)b(TopBorder)Border;(BottomBorder)Border;(LeftBorder)Border;(RightBorder)Border;]
_call
M
Border
[(Style)s]
_new
m

[(Style)s]
#Clipboard

C
Copy
M

(Data)v[(Format)s]
Paste
M
v
[(Format)s]
#ColumnView
_TreeView
C
_Properties
C
s
"*,Mode{Select.*}=Single,Sorted,Editable,Header=True,Resizable=False,AutoResize=True,Border=True,ScrollBar{Scroll.*}=Both,ShowLines,ShowCheck"
_Group
C
s
"View"
_DefaultEvent
C
s
"Click"
_DefaultSize
C
s
"16,16"
_Similar
C
s
"ListView"
Layout
p
v

Header
p
b

Resizable
p
b

AutoResize
p
b

Columns
r
_ColumnView_Columns

Settings
p
s

ShowLines
p
b

_new
m


Add
m
_TreeView_Item
(Key)s(Text)s[(Picture)Picture;(Parent)s(After)s]
AddColumn
m
_GridView_Column
(Text)s[(Width)i(Alignment)i]
#ComboBox
UserControl
C
_Properties
C
s
"*,Action,ReadOnly,List,Text,Password,MaxLength,Placeholder,Sorted,Border=True"
_DefaultEvent
C
s
"Click"
_DefaultSize
C
s
"16,4"
_IsContainer
C
b

_Group
C
s
"Form"
:Change
:


:Activate
:


:Cursor
:


:Click
:


ReadOnly
p
b

Border
p
b

List
p
String[]

Count
r
i

Index
p
i

Text
p
s

Length
r
i

Current
r
_ComboBox_Item

Sorted
p
b

Background
p
i

Pos
p
i

Password
p
b

MaxLength
p
i

Placeholder
p
s

Selection
r
_ComboBox_Selection

Selected
r
b

_new
m


UserControl_Draw
m


UserControl_Font
m


UserControl_Change
m


Clear
m


TextBox_GotFocus
m


Find
m
i
(Item)s
TextBox_LostFocus
m


ComboBox_Enter
m


ComboBox_Leave
m


ComboBox_GotFocus
m


ComboBox_LostFocus
m


ComboBox_KeyPress
m


ArrowBox_MouseDown
m


TextBox_KeyPress
m


Popup
m


Close
m


ArrowBox_MouseWheel
m


TextBox_MouseWheel
m


Add
m

(Item)s[(Index)i]
Remove
m

(Index)i
Select
m

[(Start)i(Length)i]
SelectAll
m


Unselect
m


Insert
m

(Text)s
CursorAt
m
Point
[(Pos)i]
TextBox_Change
m


TextBox_Cursor
m


TextBox_Activate
m


_get
m
_ComboBox_Item
(Index)i
_GetText
m
s
(iIndex)i
_SetText
m

(iIndex)i(sText)s
_GetTextBox
m
TextBox

#Desktop

C
Type
R
s

Types
R
String[]

Is
M
b
(Type)s
#Drag

C
Item
P
v

_call
M
Control
(Source)Control;(Data)v[(Format)s]
Paste
M
v
[(Format)s]
#Draw

C
Normal
C
i
0
Disabled
C
i
1
Focus
C
i
2
Hover
C
i
4
Clip
R
_Draw_Clip

Style
R
_Draw_Style

Device
R
o

Width
R
i

W
R
i

Height
R
i

H
R
i

ClipRect
P
Rect

Rect
M

(X)i(Y)i(Width)i(Height)i
Background
P
i

Foreground
P
i

Invert
P
b

Transparent
P
b

Font
P
Font

LineWidth
P
i

LineStyle
P
i

FillColor
P
i

FillStyle
P
i

FillX
P
i

FillY
P
i

Image
M

(Image)Image;(X)i(Y)i[(Width)i(Height)i(SrcX)i(SrcY)i(SrcWidth)i(SrcHeight)i]
_GetInfo
M
DrawInfo

Line
M

(X1)i(Y1)i(X2)i(Y2)i
Begin
M

(Device)o
End
M


Save
M


Restore
M


Clear
M


FillRect
M

(X)i(Y)i(Width)i(Height)i(Color)i
Point
M

(X)i(Y)i
Ellipse
M

(X)i(Y)i(Width)i(Height)i[(Start)f(End)f]
Translate
M

(DX)f(DY)f
Circle
M

(X)i(Y)i(Radius)i[(Start)f(End)f]
Arc
M

(X)i(Y)i(Width)i(Height)i[(Start)f(End)f]
Text
M

(Text)s(X)i(Y)i[(Width)i(Height)i(Alignment)i]
TextWidth
M
i
(Text)s
TextHeight
M
i
(Text)s
RichText
M

(Text)s(X)i(Y)i[(Width)i(Height)i(Alignment)i]
RichTextWidth
M
i
(Text)s
RichTextHeight
M
i
(Text)s[(Width)i]
PolyLine
M

(Points)Integer[];
Polygon
M

(Points)Integer[];
Reset
M


Scale
M

(SX)f(SY)f
Zoom
M

(Image)Image;(Zoom)i(X)i(Y)i[(SrcX)i(SrcY)i(SrcWidth)i(SrcHeight)i]
Picture
M

(Picture)Picture;(X)i(Y)i[(Width)i(Height)i(SrcX)i(SrcY)i(SrcWidth)i(SrcHeight)i]
Tile
M

(Picture)Picture;(X)i(Y)i(W)i(H)i
#Fill

C
None
C
i
0
Solid
C
i
1
Dense94
C
i
2
Dense88
C
i
3
Dense63
C
i
4
Dense50
C
i
5
Dense37
C
i
6
Dense12
C
i
7
Dense6
C
i
8
Horizontal
C
i
9
Vertical
C
i
10
Cross
C
i
11
Diagonal
C
i
12
BackDiagonal
C
i
13
CrossDiagonal
C
i
14
#Frame
UserContainer
C
'This class implements a container with a border and a title on top.
_Properties
C
s
"*,Text,TextFont,Alignment{Align.*}=Center"
_Similar
C
s
"Panel"
Text
p
s

'Return or set the Frame title.
RichText
p
s

'Return or set the Frame title as rich text.
TextFont
p
Font

'Return or set the font title.
'
'If not set, the control font is used.
Alignment
p
i

'Return or set the position of the title relative to the border.
Arrangement
p
i

'--> [/comp/gb.qt4/usercontainer/arrangement]
_new
m


'Create a new Frame.
Frame_Arrange
m


Frame_Draw
m


Frame_Font
m


#GridView
UserControl
C
_Properties
C
s
"*,Border=True,Mode{Select.None;Single;Multiple}=None,Grid=True,Padding{Range:0;63}=2,ShowCursor=False,Header{GridView.None;Horizontal;Vertical;Both}=None,ScrollBar{Scroll.*}=Both,AutoResize=True,Resizable=True,Sorted"
_Group
C
s
"View"
_DefaultEvent
C
s
"Click"
None
C
i
0
Horizontal
C
i
1
Vertical
C
i
2
Both
C
i
3
Background
p
i

Rows
r
_GridView_Rows

Columns
r
_GridView_Columns

Border
p
b

Grid
p
b

Mode
p
i

Data
r
_GridView_Data

Row
p
i

Column
p
i

Resizable
p
b

ScrollBar
p
i

AutoResize
p
b

Header
p
i

ShowCursor
p
b

Current
r
_GridView_Cell

Sorted
p
b

Padding
p
i

ScrollX
p
i

ScrollY
p
i

ScrollW
r
i

ScrollWidth
r
i

ScrollH
r
i

ScrollHeight
r
i

ClientX
r
i

ClientY
r
i

ClientW
r
i

ClientWidth
r
i

ClientH
r
i

ClientHeight
r
i

:Data
:

(Row)i(Column)i
:Change
:


:Select
:


:Click
:


:Activate
:


:Scroll
:


:Font
:


:ColumnClick
:

(Column)i
:ColumnResize
:

(Column)i
:ColumnSize
:

(Column)i
:RowClick
:

(Row)i
:RowResize
:

(Row)i
:RowSize
:

(Row)i
:Sort
:


:Draw
:

(X)i(Y)i(Width)i(Height)i(Row)i(Column)i
_DoNotDrawSelection
v
b

_NoMouse
v
b

_ToggleSelection
v
b

_new
m


Scroll
m

(X)i(Y)i
_IsRowSelected
m
b
(iRow)i
Select
m

[(Start)i(Length)i]
ScrollArea_Draw
m


_GetFrameWidth
m
i

Clear
m


_GetSpan
m

(iRow)i(iCol)i(&iRowSpan)i(&iColSpan)i
_GetCellData
m
_GridView_Data
(iRow)i(iColumn)i[(bCreate)b]
ScrollArea_Arrange
m


_ResizeContents
m


UnSelectAll
m


ScrollArea_Enter
m


ScrollArea_Leave
m


ScrollArea_MouseMove
m


MoveTo
m

(Row)i(Column)i
TimerScroll_Timer
m


_EnsureVisibleScroll
m

(X)i(Y)i
ScrollArea_MouseDrag
m


ScrollArea_MouseDown
m


_RaiseSelect
m


ScrollArea_MouseUp
m


ScrollArea_DragLeave
m


ScrollArea_GotFocus
m


ScrollArea_LostFocus
m


ScrollArea_DblClick
m


_CheckCell
m

(iRow)i(iColumn)i
_CheckCurrent
m


_get
m
_GridView_Cell
(Row)i(Column)i
_EnsureVisible
m

(iRow)i(iCol)i
TimerEnsureVisible_Timer
m


_SelectRow
m

(iRow)i(bSelect)b
_ClearCell
m

(iRow)i(iCol)i
ScrollArea_Scroll
m


SelectAll
m


ScrollArea_KeyPress
m


_SetSpan
m

(iRow)i(iCol)i(iRowSpan)i(iColSpan)i
_GetCellWidth
m
i
(iRow)i(iCol)i
_GetCellHeight
m
i
(iRow)i(iCol)i
RowAt
m
i
(Y)i
ColumnAt
m
i
(X)i
_GetVisibleWidth
m
i

ScrollArea_Resize
m


_RemoveRows
m

(Start)i(Length)i
_InsertRows
m

(Start)i(Length)i
_GetTextHeight
m
i

_GetPreferredWidth
m
i
(iCol)i
_GetPreferredHeight
m
i
(iRow)i
_RaiseRowResize
m

(iRow)i
_RaiseColumnResize
m

(iCol)i
_RaiseSort
m


_RaiseColumnSize
m
b
(iCol)i
_RaiseRowSize
m
b
(iRow)i
GridViewClick_Timer
m


ScrollArea_Font
m


_RefreshRow
m

(iRow)i
AddColumn
m
_GridView_Column
(Text)s[(Width)i(Alignment)i]
_RefreshPicture
m


#HSplit
Splitter
C
_Properties
C
s
"*,-Arrangement"
_Group
C
s
"Deprecated"
_new
m


#IconView
UserControl
C
_Properties
C
s
"*,Picture,Mode{Select.*}=Single,Orientation{Arrange.Horizontal;Vertical}=Vertical,Sorted,Editable,GridSize{Range:0;128},IconLines{Range:1;8}=2,Border=True,ScrollBar{Scroll.*}=Both"
_Group
C
s
"View"
_DefaultEvent
C
s
"Click"
_Similar
C
s
"ListView"
Mode
p
i

Orientation
p
i

Border
p
b

ScrollBar
p
i

Background
p
i

Count
r
i

Current
r
_IconView_Item

Item
r
_IconView_Item

Available
r
b

Key
p
s

Keys
r
String[]

Compare
p
i

Editable
p
b

Sorted
p
b

Ascending
p
b

Picture
p
Picture

Selection
p
String[]

Selected
r
b

IconSize
r
i

IconLines
p
i

GridSize
p
i

Renaming
r
b

ClientWidth
r
i

ClientW
r
i

ClientHeight
r
i

ClientH
r
i

ScrollX
p
i

ScrollY
p
i

ScrollW
r
i

ScrollWidth
r
i

ScrollH
r
i

ScrollHeight
r
i

:Select
:


:Activate
:


:Click
:


:Rename
:


:Cancel
:


:Compare
:

(Key)s(OtherKey)s
:Draw
:

(X)i(Y)i(Width)i(Height)i(Key)s
:Scroll
:


_new
m


Scroll
m

(X)i(Y)i
_get
m
_IconView_Item
(Key)s
Clear
m


ScrollArea_Arrange
m


Exist
m
b
(Key)s
FindAt
m
b
(X)i(Y)i
MoveTo
m
b
(Key)s
_FindItem
m
i
(hItem)_IconView_Item;
MoveFirst
m
b

MoveNext
m
b

MovePrevious
m
b

MoveBack
m


_UpdateIconSize
m

(Picture)Picture;
ArrangeTimer_Timer
m


Add
m
_IconView_Item
(Key)s(Text)s[(Picture)Picture;(After)s]
_SortIsDirty
m


Remove
m

(Key)s
_GetItemGeometry
m

(hItem)_IconView_Item;(hRect)Rect;
_GetItem
m
_IconView_Item
(Index)i
ScrollArea_Draw
m


ScrollArea_Resize
m


ScrollArea_Scroll
m


ScrollArea_Leave
m


_EnsureVisible
m

(iPos)i
UnselectAll
m


SelectAll
m


ScrollArea_KeyPress
m


ScrollArea_DblClick
m


ScrollArea_MouseDown
m


ScrollArea_MouseDrag
m


ScrollArea_MouseMove
m


SelTimer_Timer
m


ScrollArea_MouseUp
m


_IsItemSelected
m
b
(hItem)_IconView_Item;
_SelectItem
m

(hItem)_IconView_Item;(bSelected)b
_RefreshItem
m

(hItem)_IconView_Item;
SelectionChanged_Timer
m


_CompareItem
m
b
(sKey1)s(sKey2)s
UpdateSort_Timer
m


_MoveItem
m

(hItem)_IconView_Item;(iNewPos)i
_IsHovered
m
b
(hItem)_IconView_Item;
_RenameItem
m

(hItem)_IconView_Item;
RenameBox_Activate
m


RenameBox_KeyPress
m


RenameBox_LostFocus
m


_Begin
m


_End
m


ScrollArea_GotFocus
m


ScrollArea_LostFocus
m


ScrollArea_Font
m


_GetTrimTextCache
m
Collection

_RefreshPicture
m


#Label
UserControl
C
'This control displays a piece of text.
'
'[[ info 
'@{since 3.16}
'
'This control has been rewritten in Gambas since 3.16 version.
']]
_Properties
C
s
"*,Padding{Range:0;256},AutoResize,Alignment{Align.*}=Normal,Border{Border.None;Plain;Sunken;Raised;Etched},BorderWidth{Range:0;256},BorderRadius{Range:0;256},BorderColor{Color},Text,Trim"
_DefaultEvent
C
s
"MouseDown"
_DefaultSize
C
s
"8,3"
_IsContainer
C
b

_Group
C
s
"Form"
_Similar
C
s
"Label"
Alignment
p
i

'Return or set the text alignment.
'
'See the [../../align] class for a list of constants to use with this property.
Border
p
i

'Return or set the border displayed around the control.
'
'See the [../../border] class for a list of constants to use with this property.
Text
p
s

'Return or set the displayed text.
Caption
p
s

'Return or set the displayed text.
Padding
p
i

'Return or set the inner padding around the text, in pixels.
AutoResize
p
b

'Return or set if the control adapts its size to its contents automatically.
Transparent
p
b

'Return or set if the control background is transparent. This property is deprecated.
Background
p
i

BorderRadius
p
i

'Return or set the background border radius
'
'[[ warning
'This property has an effect when the [../border] property is set to [Border.None] or [Border.Plain] only.
']]
BorderWidth
p
i

'Return or set the border width
'[[ warning
'This property has an effect when the [../border] property is set to [Border.Plain] only.
']]
BorderColor
p
i

'Return or set the border color
'[[ warning
'This property has an effect when the [../border] property is set to [Border.Plain] only.
']]
Trim
p
b

'Return or set if the displayed text must be trimmed with an ellipsis when it overflows the Label frame.
_Wrap
v
b

_new
m


'Create a new Label.
_UpdateSize
m


UserControl_Font
m


UserControl_Draw
m


Adjust
m


'Resize the control so that it adapts to its contents.
UserControl_Resize
m


#Line

C
None
C
i
0
Solid
C
i
1
Dash
C
i
2
Dot
C
i
3
DashDot
C
i
4
DashDotDot
C
i
5
#ListBox
UserControl
C
_Properties
C
s
"*,List,Border=True,Grid,Mode{Select.*}=Single,ScrollBar{Scroll.*}=Vertical,Wrap,Sorted"
_Group
C
s
"View"
_DefaultEvent
C
s
"Click"
_DefaultSize
C
s
"16,16"
_Similar
C
s
"ListView"
Count
r
i

Mode
p
i

ScrollBar
p
i

Border
p
b

Sorted
p
b

Current
r
_ListBox_Item

Index
p
i

Text
r
s

List
p
String[]

Font
p
Font

Wrap
p
b

Grid
p
b

ScrollX
p
i

ScrollY
p
i

ScrollW
r
i

ScrollWidth
r
i

ScrollH
r
i

ScrollHeight
r
i

:Click
:


:Activate
:


:Select
:


_new
m


Scroll
m

(X)i(Y)i
_get
m
_ListBox_Item
(Index)i
Clear
m


Add
m

(Text)s[(Index)i]
Remove
m

(Index)i[(Length)i]
GridView_Data
m

(Row)i(Column)i
GridView_Activate
m


GridView_Select
m


TimerClick_Timer
m


GridView_Change
m


SelectAll
m


UnselectAll
m


Find
m
i
(Text)s[(Mode)i]
_IsSelected
m
b
(iRow)i
_SetSelected
m

(iRow)i(bSelected)b
Sort_Timer
m


Resize_Timer
m


_GetText
m
s
(iIndex)i
_SetText
m

(iIndex)i(sText)s
GridView_Arrange
m


#ListView
_TreeView
C
_Properties
C
s
"*,Mode{Select.*}=Single,Sorted,Editable,Border=True,ScrollBar{Scroll.*}=Both,ShowCheck"
_Group
C
s
"View"
_DefaultEvent
C
s
"Click"
_DefaultSize
C
s
"16,16"
_Similar
C
s
"ListView"
Add
m
_TreeView_Item
(Key)s(Text)s[(Picture)Picture;(After)s]
#Message

C
Title
P
s

Style
P
s

ColoredButtons
P
b

DefaultButton
P
b

_call
M
i
(Message)s[(Button)s]
Info
M
i
(Message)s[(Button)s]
Warning
M
i
(Message)s[(Button1)s(Button2)s(Button3)s]
Question
M
i
(Message)s[(Button1)s(Button2)s(Button3)s]
Error
M
i
(Message)s[(Button1)s(Button2)s(Button3)s]
Delete
M
i
(Message)s[(Button1)s(Button2)s(Button3)s]
#MovieBox
UserControl
C
_Properties
C
s
"*,-Arrangement,-Spacing,-Margin,-Indent,-Invert,-NoBackground,-Tablet,-Cached,-Focus,Padding{Range:0;64},Animation,Stretch,AutoResize,Alignment{Align.*}=TopLeft,Border{Border.None;Plain;Sunken;Raised;Etched},Mode{PictureBox.Normal;Fill;Cover;Contain;Repeat}"
_DefaultEvent
C
s
"MouseDown"
_DefaultSize
C
s
"16,16"
_IsContainer
C
b

_Group
C
s
"Form"
Animation
p
Animation

Image
r
Image

Alignment
p
i

AutoResize
p
b

Padding
p
i

Border
p
i

Stretch
p
b

Mode
p
i

Playing
p
b

Path
p
s

Normal
C
i
0
Fill
C
i
1
Cover
C
i
2
Contain
C
i
3
Repeat
C
i
4
Play
m


UserControl_Draw
m


Stop
m


Pause
m


Rewind
m


Animation_Change
m


#Paint

C
TrimText
M
s
(Text)s(W)f[(H)f]
TrimRichText
M
s
(RichText)s(W)f[(H)f]
DrawTextShadow
M

(Text)s(X)f(Y)f(W)f(H)f[(Alignment)i(Radius)i(Opacity)f]
DrawRichTextShadow
M

(Text)s(X)f(Y)f(W)f(H)f[(Alignment)i(Radius)i(Opacity)f]
StretchImage
M
RectF
(Image)Image;(X)f(Y)f(Width)f(Height)f[(Alignment)i(Opacity)f(Source)Rect;]
'Stretch and draw an image or part of an image so that it fits a specified rectangle.
'
'- ~Image~ is the image to draw.
'- ~X~, ~Y~, ~Width~ and ~Height~ define the position and size of the target rectangle.
'- ~Alignment~ is the alignment of the stretched image inside the targer rectangle. It's [Align.Center](../../align/center) by default.
'- ~Opacity~ is the opacity of the painting. By default it is '1.0', i.e. fully opaque.
'- ~Source~ defines the part of the image to draw. By default it is 'NULL', i.e. the entire image is drawn.
'
'The final image position and size is returned as a [/comp/gb.qt4/rectf] object.
DrawRect
M

(X)f(Y)f(Width)f(Height)f(Color)i[(Size)f]
'Draw a rectangle frame
'
'- ~X~, ~Y~, ~Width~ and ~Height~ define the position and size of the rectangle.
'- ~Color~ is the color used for painting the rectangle.
'- ~Size~ is the width of the rectangle border. It's '1' pixel by default. If negative, then the frame will be painted outside of the rectangle, otherwise inside.
_EstimateFontCharWidth
M
f
(hFont)Font;[(bFixedOnly)b]
Arrow
M

(X)f(Y)f(Width)f(Height)f(Orientation)i[(Alignment)i]
'Add an arrow to the current path.
'
'- ~X~, ~Y~, ~Width~ and ~Height~ define the rectangle enclosing the arrow, and hence its size.
'- ~Orientation~ is the orientation of the arrow. It can be one the four following constants:
'  - [Align.Top](../../align/top) for a top arrow.
'  - [Align.Bottom](../../align/top) for a bottom arrow.
'  - [Align.Left](../../align/top) for a left arrow.
'  - [Align.Right](../../align/top) for a right arrow.
'- ~Alignment~ is the alignment of the arrow inside the specified rectangle. It's [Align.Center](../../align/center) by default.
'
'Once the arrow is drawn, you must then use the [../stroke] method to actually paint it.
Check
M

(X)f(Y)f(Width)f(Height)f
'Add a check mark to the current path.
'
'- ~X~, ~Y~, ~Width~ and ~Height~ define the rectangle enclosing the check mark, and hence its size.
'
'Once the check mark is drawn, you must then use the [../stroke] method to actually paint it.
#Picture

C
Load
M
Picture
(Path)s
_get
M
Picture
(Path)s[(Size)s]
Stretch
m
Picture
(Width)i[(Height)i]
'@{since 3.16}
'
'Return a stretched copy of a picture.
'
'- ~Width~ and ~Height~ are the size of the stretched picture. If ~Height~ is omitted, it is made equal to ~Width~.
'
'[[ info
'This function internally transforms the picture into an image and calls the [Image.Stretch](/comp/gb.qt4/image/stretch) method.
']]
_put
M

(Value)Picture;(Path)s
Flush
M


_exit
M


_Refresh
M

(&hPict)Picture;
Refresh
M


#PictureBox
UserControl
C
_Properties
C
s
"*,Padding{Range:0;64},Picture{Picture:NoCache},Stretch,AutoResize,Alignment{Align.*}=TopLeft,Border{Border.None;Plain;Sunken;Raised;Etched},Mode{PictureBox.Normal;Fill;Cover;Contain;Repeat}"
_DefaultEvent
C
s
"MouseDown"
_DefaultSize
C
s
"16,16"
_IsContainer
C
b

_Group
C
s
"Form"
Picture
p
Picture

Image
p
Image

Alignment
p
i

AutoResize
p
b

Padding
p
i

Border
p
i

Stretch
p
b

Mode
p
i

Cached
p
b

Normal
C
i
0
Fill
C
i
1
Cover
C
i
2
Contain
C
i
3
Repeat
C
i
4
UserControl_Draw
m


#ProgressBar
UserControl
C
_Properties
C
s
"*,Action,Label=True,Border=True,Pulse"
_Group
C
s
"Form"
_DefaultEvent
C
s
"MouseDown"
_DefaultSize
C
s
"24,4"
Label
p
b

Value
p
f

Pulse
p
b

Border
p
b

UserControl_Draw
m


Pulse_Timer
m


#ScrollArea
UserContainer
C
_Properties
C
s
"*,Border=True,ScrollBar{Scroll.*}=Both,Focus,NoBackground,Tablet,Shadow,NoShadow"
_DefaultEvent
C
s
"Draw"
_DefaultSize
C
s
"24,24"
_Similar
C
s
"DrawingArea,ScrollView"
ScrollX
p
i

ScrollY
p
i

ScrollWidth
r
i

ScrollW
r
i

ContentsWidth
r
i

ContentsW
r
i

ScrollHeight
r
i

ScrollH
r
i

ContentsHeight
r
i

ContentsH
r
i

ClientWidth
r
i

ClientW
r
i

ClientHeight
r
i

ClientH
r
i

Border
p
b

Focus
p
b

Painted
p
b

NoBackground
p
b

ScrollBar
p
i

Tracking
p
b

Background
p
i

Foreground
p
i

Tablet
p
b

Shadow
p
b

NoShadow
p
b

View
r
DrawingArea

UseMouse
p
b

Scrolling
r
b

NoAnimation
p
b

:Scroll
:


:Draw
:


:Resize
:


:Font
:


Scroll
m
b
(X)i(Y)i
_OnBackgroundChange
m


_new
m


Shadow_Draw
m


TimerArrange_Timer
m


ScrollArea_Arrange
m


ResizeContents
m

(Width)i(Height)i
Scrollbar_Change
m


TimerScroll_Timer
m


DrawingArea_Draw
m


DrawingArea_Enter
m


DrawingArea_Leave
m


DrawingArea_Arrange
m


DrawingArea_MouseWheel
m


EnsureVisible
m
b
(X)i(Y)i(W)i(H)i[(Direction)i]
_SetShadowOffset
m

(North)i(South)i(West)i(East)i
DrawingArea_DragMove
m


DrawingArea_DragLeave
m


_EnsureVisibleScroll
m

(X)i(Y)i
TimerAutoScroll_Timer
m


ScrollArea_MouseDown
m


ScrollArea_MouseMove
m


DrawingArea_Font
m


RefreshRect
m

(X)i(Y)i(Width)i(Height)i
UserContainer_Draw
m


DrawingArea_Change
m


#ScrollView
ScrollArea
C
_Properties
C
s
"*,Arrangement{Arrange.None;Horizontal;Vertical;Row;Column;Fill},Spacing,Margin,Padding{Range:0;63},Indent"
_DefaultEvent
C
s
"Draw"
_DefaultSize
C
s
"24,24"
_Similar
C
s
"DrawingArea,ScrollView"
_init
M


_OnBackgroundChange
m


_new
m


Panel_BeforeArrange
m


Panel_Arrange
m


TimerArrange_Timer
m


AutoResizeContents_Timer
m


Panel_MouseDown
m


Panel_MouseWheel
m


Observer_Arrange
m


#Separator
UserControl
C
_Properties
C
s
"*"
_DefaultSize
C
s
"1,3"
_Group
C
s
"Form"
UserControl_Draw
m


#Shortcut

C
_call
M
s
(Text)s(Shortcut)s[(AddIfMissing)b]
FromKey
M
s

#SpinBox
UserControl
C
_Properties
C
s
"*,Action,MinValue=0,MaxValue=100,Step=1,Wrap,Value,Alignment{Align.Normal;Left;Center;Right}=Normal,ReadOnly,Border=True,ShowZero,ShowSign"
_Group
C
s
"Form"
_DefaultEvent
C
s
"Change"
_DefaultSize
C
s
"9,4"
_Similar
C
s
"TextBox,Slider"
:Change
:


:Limit
:


MinValue
p
i

MaxValue
p
i

Value
p
i

Border
p
b

Wrap
p
b

Step
p
i

Text
p
s

Background
p
i

Alignment
p
i

ShowZero
p
b

ShowSign
p
b

ReadOnly
p
b

_new
m


_GetIdealWidth
m
i
(WithButtons)b
View_Arrange
m


View_Draw
m


View_MouseWheel
m


TextBox_MouseWheel
m


TextBox_Activate
m


SelectAll
m


View_Enter
m


View_Leave
m


TextBox_GotFocus
m


TextBox_LostFocus
m


View_MouseMove
m


View_MouseDown
m


Button_MouseDown
m


View_MouseUp
m


Button_MouseUp
m


TimerMouse_Timer
m


TextBox_KeyPress
m


TextBox_Change
m


View_Font
m


#Splitter
UserContainer
C
'This class implements a horizontal or vertical splitter container.
_Properties
C
s
"*,-Margin,-Padding,-AutoResize,-Indent,Border=True,Arrangement{Arrange.Horizontal;Vertical}=Horizontal"
_DefaultEvent
C
s
"Resize"
_Similar
C
s
"Panel"
Layout
p
Integer[]

Settings
p
Integer[]

Border
p
b

MinSize
p
i

'@{since 3.11}
'
'Return or set the minimum size of a pane.
Arrangement
p
i

:Resize
:


_new
m


Container_Arrange
m


Resize_MouseDown
m


Resize_MouseMove
m


Resize_MouseUp
m


Resize_Draw
m


Resize_DblClick
m


#Spring
Panel
C
_Properties
C
s
"*,-Margin,-Padding,-Spacing,-Expand,-Invert,-Arrangement,-AutoResize,-Indent,-Border"
_IsContainer
C
b

_DefaultSize
C
s
"4,4"
_new
m


#TextLabel
Label
C
'This class implements a control displaying simple HTML text, as known as rich text.
'
'See [/doc/richtext] for the list of HTML markup you are allowed to use inside rich text.
'
'[[ info 
'@{since 3.16}
'
'This control has been rewritten in Gambas since 3.16 version.
']]
_Properties
C
s
"*,-Alignment,Alignment{Align.*}=TopNormal,Wrap=True"
Wrap
p
b

'Return or set if text wrapping is enabled.
_new
m


'Create a new TextLabel
#TreeView
_TreeView
C
_Properties
C
s
"*,Mode{Select.*}=Single,Sorted,Editable,Border=True,ScrollBar{Scroll.*}=Both,ShowLines,ShowCheck"
_Group
C
s
"View"
_DefaultEvent
C
s
"Click"
_DefaultSize
C
s
"16,16"
_Similar
C
s
"ListView"
Layout
p
v

'@{since 3.11}
'
'Return or set the TreeView layout.
'
'The layout defines which items are expanded.
ShowLines
p
b

Add
m
_TreeView_Item
(Key)s(Text)s[(Picture)Picture;(Parent)s(After)s]
#VSplit
Splitter
C
_Properties
C
s
"*,-Arrangement"
_Group
C
s
"Deprecated"
_new
m


#_ColumnView_Columns

C
Count
p
i

Max
r
i

Sort
p
i

Ascending
p
b

Padding
p
i

:_Refresh
:


_get
m
_GridView_Column
(Index)i
#_ComboBox_Item

C
Text
p
s

:_Fake
:


_new
m

(iIndex)i
#_ComboBox_Selection

C
:_Fake
:


Text
p
s

Length
r
s

Start
r
i

Pos
r
i

Hide
m


#_Draw_Clip

CA
X
r
i

Y
r
i

Width
r
i

W
r
i

Height
r
i

H
r
i

Enabled
p
b

_call
m

(X)i(Y)i(Width)i(Height)i
#_Draw_Style

CA
Arrow
m

(X)i(Y)i(Width)i(Height)i(Type)i[(Flag)i]
Check
m

(X)i(Y)i(Width)i(Height)i(Value)i[(Flag)i]
Option
m

(X)i(Y)i(Width)i(Height)i(Value)b[(Flag)i]
Separator
m

(X)i(Y)i(Width)i(Height)i[(Vertical)b(Flag)i]
Button
m

(X)i(Y)i(Width)i(Height)i(Value)b[(Flag)i(Flat)b]
Panel
m

(X)i(Y)i(Width)i(Height)i(Border)i[(Flag)i]
Handle
m

(X)i(Y)i(Width)i(Height)i[(Vertical)b(Flag)i]
Box
m

(X)i(Y)i(Width)i(Height)i[(Flag)i]
#_GridView_Cell

C
:_Foo
:


Text
p
s

RichText
p
s

Picture
p
Picture

Font
p
Font

Alignment
p
i

WordWrap
p
b

Background
p
i

Foreground
p
i

Padding
p
i

RowSpan
p
i

ColumnSpan
p
i

Border
p
Border

Tag
p
v

'@{since 3.16}
'
'Return or set the tag associated with a cell.
'
'This property is intended for the programmer and is never used by the component. It can contain any Variant value.
X
r
i

Left
r
i

Y
r
i

Top
r
i

Width
r
i

W
r
i

Height
r
i

H
r
i

_Row
v
i

_Column
v
i

_View
v
GridView

Refresh
m


Clear
m


EnsureVisible
m


#_GridView_Column

C
X
r
i

Left
r
i

Width
p
i

W
p
i

Text
p
s

Title
p
s

Resizable
p
b

Expand
p
b

Alignment
p
i

Background
p
i

Tag
p
v

'@{since 3.16}
'
'Return or set the tag associated with a column.
'
'This property is intended for the programmer and is never used by the component. It can contain any Variant value.
:_Refresh
:


_X
v
i

_W
v
i

_Column
v
i

_new
m


_GetExplicitWidth
m
i

EnsureVisible
m


#_GridView_Columns

C
Count
p
i

Max
r
i

Height
r
i

H
r
i

Resizable
p
b

Width
p
i

W
p
i

Sort
p
i

Ascending
p
b

Padding
p
i

'@{since 3.18}
'
'Return or set the horizontal padding between columns.
:_Refresh
:


_Layout
m


Column__Refresh
m


_get
m
_GridView_Column
(Index)i
_GetWidth
m
i

_FindColumnFromPos
m
i
(X)i
#_GridView_Data

C
:_Fake
:


Text
v
s

RichText
v
s

Picture
v
Picture

Foreground
v
i

Background
v
i

Padding
v
i

WordWrap
v
b

Alignment
v
i

Border
v
Border

Tag
v
v

'@{since 3.16}
'
'Return or set the tag associated with a cell.
'
'This property is intended for the programmer and is never used by the component. It can contain any Variant value.
Font
p
Font

#_GridView_Row

C
:_Refresh
:


Y
r
i

Top
r
i

Height
p
i

H
p
i

Selected
p
b

Text
p
s

Title
p
s

Border
p
Border

TextAlignment
p
i

_Row
v
i

Refresh
m


EnsureVisible
m


#_GridView_Rows

C
Count
p
i

Max
r
i

Width
p
i

W
p
i

Resizable
p
b

Height
p
i

H
p
i

Selection
p
Integer[]

Border
p
Border

Padding
p
i

'@{since 3.18}
'
'Return or set the vertical padding between rows.
:_Refresh
:


_SetSelection
m

(hSel)GridViewSelection;
_GetSelection
m
GridViewSelection

Remove
m

(Start)i[(Length)i]
Select
m

[(Start)i(Length)i]
UnSelect
m

[(Start)i(Length)i]
_get
m
_GridView_Row
(Row)i
_GetDefaultRowHeight
m
i

_GetRowY
m
i
(iRow)i
_GetRowHeight
m
i
(iRow)i
_ResetRowHeight
m

(iRow)i
_SetRowHeight
m

(iRow)i(H)i
_GetHeight
m
i

_FindRowFromPos
m
i
(Y)i
_GetRowText
m
s
(iRow)i
_SetRowText
m

(iRow)i(sText)s
SelectAll
m


UnSelectAll
m


_IsSelected
m
b
(iRow)i
_SaveSelection
m
v

_RestoreSelection
m

(vSel)v
Insert
m

(Start)i[(Length)i]
_Clear
m


_SetRowBorder
m

(iRow)i(hBorder)Border;
_GetRowBorder
m
Border
(iRow)i
_SetRowTextAlign
m

(iRow)i(iAlign)i
_GetRowTextAlign
m
i
(iRow)i
#_Gui

C
_FindShortcut
M
i
(sText)s
_DefineShortcut
M

(hParent)Menu;
_Quit
M


_InitMenuBarShortcut
M

(hWindow)Window;
_ShowDNDFrame
M

(hCtrl)Control;(X)i(Y)i(W)i(H)i
_HideDNDFrame
M

[(hCtrl)Control;]
HideFrameTimer_Timer
M


DndFrame_Drag
M


DndFrame_DragMove
M


DndFrame_Drop
M


DndFrame_DragLeave
M


GetForeground
M
i
(hCtrl)Control;(iFg)i
MustAnimate
M
b
(hCtrl)Control;
DndFrame_Draw
M


#_IconView_Item

C
Key
r
s

Picture
p
Picture

Text
p
s

RichText
p
s

Selected
p
b

Editable
p
b

Next
r
_IconView_Item

Previous
r
_IconView_Item

Tag
p
v

'@{since 3.16}
'
'Return or set the tag associated with a cell.
'
'This property is intended for the programmer and is never used by the component. It can contain any Variant value.
Hovered
r
b

'Return if the item is hovered.
X
r
i

Y
r
i

Height
r
i

H
r
i

Width
r
i

W
r
i

_Key
v
s

:_Foo
:


_new
m


_GetRects
m

(hRect)Rect;(bHorizontal)b(&hRect1)Rect;(&hRect2)Rect;
_Draw
m

(hRect)Rect;(hClip)Rect;(hIconView)IconView;(bHorizontal)b(bFocus)b(bHover)b(bCurrent)b
EnsureVisible
m


_Intersect
m
b
(hRect)Rect;(hOther)Rect;(bHorizontal)b
_Inside
m
b
(hRect)Rect;(hIconView)IconView;(bHorizontal)b(X)i(Y)i
_compare
m
i
(hItem)_IconView_Item;
Rename
m


MoveAfter
m

[(Key)s]
MoveFirst
m


MoveBefore
m

[(Key)s]
MoveLast
m


_IsEllipsized
m
b

#_ListBox_Item

C
Text
p
s

Selected
p
b

:_Refresh
:


_new
m

(iIndex)i
#_TreeView
UserControl
C
Count
r
i

Mode
p
i

ScrollBar
p
i

Border
p
b

Sorted
p
b

Current
r
_TreeView_Item

Key
p
s

Keys
r
String[]

'@{since 3.12}
'
'Return a list of all items keys
Item
r
_TreeView_Item

Available
r
b

Renaming
r
b

Editable
p
b

Compare
p
i

Selection
p
String[]

Selected
r
b

ShowCheck
p
b

'@{since 3.15}
'
'Return or set if selection is indicated by check boxes and radio buttons, or by highlighting the items.
'
'Check boxes are used in multiple selection mode, radio buttons in single selection mode.
ClientWidth
r
i

ClientW
r
i

ClientHeight
r
i

ClientH
r
i

ScrollX
p
i

ScrollY
p
i

ScrollW
r
i

ScrollWidth
r
i

ScrollH
r
i

ScrollHeight
r
i

Indent
r
i

'@{since 3.16}
'
'Return the size of tree indentation in pixels.
_Items
r
Collection

:Click
:


:Activate
:


:Select
:


:Expand
:


:Collapse
:


:Rename
:


:Cancel
:


:Compare
:

(Key)s(OtherKey)s
:BeforeSort
:


'@{since 3.12}
'
'This event is raised before automatically sorting the items
:Scroll
:


'@{since 3.14}
'
'This event is raised when the view scrolls.
:Draw
:

(X)i(Y)i(Width)i(Height)i(Key)s(Column)i
'{@since 3.16}
'
'This event allows to customize the drawing of a specific item.
'
'- ~X~, ~Y~, ~Width~ and ~Height~ define the rectangle enclosing the item.
'- ~Key~ is the item key.
'- ~Column~ is the item column to draw in case of a ColumnView. For a TreeView or a ListView, it is always '0'.
'
'This event is called just before drawing the item, and if the event is stopped, the default item drawing routine is ignored.
_new
m


GridView_Font
m


_get
m
_TreeView_Item
(Key)s
Exist
m
b
(Key)s
Clear
m


UnSelectAll
m


_UpdateSpan
m


_SortParent
m

(sKey)s
_Add
m
_TreeView_Item
(Key)s(Text)s[(Picture)Picture;(Parent)s(After)s]
_MoveItem
m
b
(hItem)_TreeView_Item;(sKey)s(bBefore)b
_UpdateItemHeight
m

(hItem)_TreeView_Item;[(bNext)b]
_RefreshView
m


_GetParentItem
m
_TreeView_Item
(hItem)_TreeView_Item;
Remove
m

(Key)s
_SaveSelection
m


_ItemToRow
m
i
(hItem)_TreeView_Item;
_AddCount
m

(iCount)i
_UpdateCurrent
m

(sKey)s
_RestoreSelection
m


_ReparentItem
m

(hItem)_TreeView_Item;(Parent)s
_RowToItem
m
_TreeView_Item
(iRow)i
_GetItemX
m
i
(hItem)_TreeView_Item;
GridView_Data
m

(Row)i(Column)i
GridView_Draw
m

(X)i(Y)i(W)i(H)i(Row)i(Column)i
MoveTo
m
b
(Key)s
GridView_Activate
m


GridView_MouseDown
m


_SetItemSelected
m

(hItem)_TreeView_Item;(bSelected)b
GridView_KeyPress
m


Scroll
m

(X)i(Y)i
_RaiseCompare
m
i
(sKey)s(sOtherKey)s
Sort_Timer
m


GridView_Sort
m


ResizeColumns_Timer
m


GridView_ColumnSize
m

(Column)i
GridView_Select
m


GridView_Change
m


GridView_Click
m


_RaiseExpand
m

(sKey)s(bExpand)b
_EnsureVisible
m

(hItem)_TreeView_Item;[(bChild)b]
MoveFirst
m
b

MoveLast
m
b

MoveBack
m
b

MoveCurrent
m
b

MoveAbove
m
b

MoveBelow
m
b

MoveChild
m
b

MoveNext
m
b

MovePrevious
m
b

MoveParent
m
b

SelectAll
m


FindAt
m
b
(X)i(Y)i
_IsItemSelected
m
b
(hItem)_TreeView_Item;
_Rename
m

(hItem)_TreeView_Item;(iCol)i
Editor_LostFocus
m


Editor_KeyPress
m


GridView_Scroll
m


GridView_Arrange
m


_GetLayout
m
v

_SetLayout
m

(Value)v
_Begin
m


_End
m


_SetShowLines
m

(bShowLines)b
_GetShowLines
m
b

_RefreshPicture
m


UpdateSpan_Timer
m


#_TreeView_Item

C
Key
r
s

ParentKey
r
s

Text
p
s

RichText
p
s

Picture
p
Picture

Count
r
i

Children
r
i

Expanded
p
b

X
r
i

Y
r
i

Width
r
i

W
r
i

Height
p
i

H
p
i

Editable
p
b

Selected
p
b

Span
p
b

Selectable
p
b

Background
p
i

'@{since 3.11}
'
'Return or set the item background color.
'
'If that property is 'NULL', the background color of the TreeView is used.
Foreground
p
i

'@{since 3.11}
'
'Return or set the item foreground color.
'
'If that property is 'NULL', the foreground color of the TreeView is used.
Font
p
Font

'@{since 3.11}
'
'Return or set the item font.
'
'If that property is 'NULL', the font of the TreeView is used.
Tag
p
v

'@{since 3.16}
'
'Return or set the tag associated with a cell.
'
'This property is intended for the programmer and is never used by the component. It can contain any Variant value.
Depth
r
i

'@{since 3.16}
'
'Return the depth of an item.
_Tree
V
_TreeView

_Depth
v
i

_Rows
v
i

_Index
v
i

_GrandChildren
v
i

:_Refresh
:


_IsRoot
m
b

_ComputeDepth
m


_ComputeGrandChildren
m


_SetParent
m

(sParent)s
_new
m

(sKey)s(sParent)s
_ComputeRows
m

(iAdd)i
_AddChild
m

(sKey)s
_RemoveChild
m

(hItem)_TreeView_Item;
_GetChildren
m
String[]

_GetWidth
m
i

_GetHeight
m
i

Clear
m


Delete
m


EnsureVisible
m


MoveBefore
m

[(Key)s]
MoveAfter
m

[(Key)s]
MoveFirst
m


MoveLast
m


Rename
m

[(Column)i]
_compare
m
i
(hOther)_TreeView_Item;
_put
m

(Text)s(Column)i
_get
m
s
(Column)i
Reparent
m

(NewParent)s
_Lock
m


_Unlock
m


