This will delete the page "Element-Attributes"
. Please be certain.
Unless otherwise stated, this
refers to this element.
The following common values may be get and set.
element.label = string
element.pos = Gspot:pos()
pos.x
is an element's horizontal position, originating in the top-left corner, and relative to element.parent.pos.x
if set.pos.y
is an element's vertical position, originating in the top-left corner, and relative to element.parent.pos.y
if set.pos.w
is an element's width.pos.h
is an element's height.pos.r
is an element's radius. Not fully implemented.element.style = table
style.unit
is a standard unit, used to maintain consistency. Default 16px.style.font
is used to render text.style.fg
is the foreground colour, used to render text.style.bg
is the background colour, used to render group backgrounds.style.labelfg
is the foreground colour for labels, which may differ from the element's normal foreground colour. It can be unset, in which case it uses style.fg
.style.default
is the default button colour.style.hilite
is the button hilight colour, used when the mouse is over the element.style.focus
is used to render selected options.element.tip = 'string'
element.next = element
The following common values may be get but not set.
element.elementtype
element.Gspot
element.parent
element:addchild(this)
and this.parent:remchild(this)
to allow relative positioning, where :
element
is any elementthis
is the element to add or remove from parent's children.element.children
element.display
true
if the element is to be shown, false
if hidden.element:show()
and element:hide()
to show and hide an element along with its children.element.dt
element.update()
was called, if element.update
is set.This will delete the page "Element-Attributes"
. Please be certain.