Gambas Documentation
Compilación e instalación
Componentes
gb
gb.cairo
gb.chart
gb.complex
gb.compress
gb.crypt
gb.db
gb.db.form
gb.desktop
gb.form
gb.form.dialog
gb.gui
gb.image
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.opengl
gb.qt4
.TextBox.Selection
_TreeView
Button
CheckBox
Color
ColumnView
ComboBox
Container
Control
Cursor
Desktop
Dialog
DrawingArea
Form
Frame
GridView
HSplit
IconView
Image
Key
Label
ListBox
ListView
Menu
Message
MovieBox
Paint
PaintBrush
Panel
Picture
PictureBox
Printer
ProgressBar
RadioButton
ScrollBar
ScrollView
Separator
Slider
SpinBox
TabStrip
TextArea
TextBox
TextLabel
ToggleButton
ToolButton
trayicon
TreeView
UserContainer
Window
gb.qt4.ext
gb.settings
gb.xml
gb.xml.rpc
Controls pictures
Cómo...
Descripciones del Lenguaje
Developer Documentation
Documentacion y Recetas
Documentación del Entorno de Desarrollo
Fragmentos de código
Glosario
Licencia del Wiki
LÉEME
Manual del Wiki
Mensajes de Error
Pendiente de traducción
Registrarse
Repositorio de Aplicaciones
Tutoriales
Índice del Lenguaje
Últimos cambios
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Style (gb.qt4)
This class is a set of properties that return informations about the current widget style.
This class is static.
Constants
Active
This flag is not used at the moment.
Default
This flags tells the Style routine to use the current painted control (if it exists) as a context.
Disabled
This flag indicates that a control is disabled.
HasFocus
This flag indicates that a control has the focus.
Hovered
This flag indicates that the mouse cursor is inside the control.
Normal
This flag indicates that a control is not disabled, does not have the focus, and is not hovered by the mouse cursor.
ShapeCircle
ShapeDefault
ShapeFlat
ShapeHideBottom
ShapeHideLeft
ShapeHideRight
ShapeHideTop
ShapeRound
ShapeSmooth
ShapeSquare
ShapeSquareBottom
ShapeSquareLeft
ShapeSquareRight
ShapeSquareTop
Static properties
BorderFlat
BorderRadius
BorderShape
BorderSize
BoxFrameHeight
Return the height of a
TextBox
(or editable
ComboBox
) frame.
BoxFrameWidth
Return the width of a
TextBox
(or editable
ComboBox
) frame.
FrameWidth
Return the width of a panel frame.
FramedSelection
Return or set if selections are drawn with a frame or not.
Name
Return the name of the current widget style, or theme, or whatever you like calling that.
ScrollbarSize
Return the size of a scrollbar.
ScrollbarSpacing
Return the spacing between a scroll bar and the scrolling area.
SelectionShape
Shadows
Return or set if shadows inside scrolling controls (like
ScrollArea
or
TreeView
) are visible.
TextBoxFrameWidth
Return the frame width of a
TextBox
control.
Static methods
BackgroundOf
Return the actual background color of the control that must be used when drawing it.
ClipBackground
ForegroundOf
Return the actual foreground color of the control that must be used when drawing it.
PaintArrow
Draws an arrow.
PaintBackground
PaintBox
Draws a box frame.
PaintButton
Draws a push button frame.
PaintCheck
Draws a check box.
PaintHandle
Draws a splitter or toolbar handle.
PaintOption
Draws an option button.
PaintPanel
Draws a panel frame.
PaintSelection
PaintSeparator
Draws a toolbar separator.
StateOf
Return the state of a control as a sum of the following flags: