PureData CEAMMC library web documentation
aliases: [ui.btn]
available since version: 0.9.2
dump
dumps all object info to Pd console window
pos
set UI element position
parameters:
X top left x-coord
type: float
required: True
Y top right y-coord
type: float
required: True
@on_value
Get/set on value
type: float
default: 1
@off_value
Get/set off value
type: float
default: 0
@send
Get/set send destination
type: symbol
default: (null)
@receive
Get/set receive source
type: symbol
default: (null)
@size
Get/set element size (width, height pair)
type: list
default: 15 15
@pinned
Get/set pin mode. if 1 - put element to the lowest level
type: bool
default: 0
@active_color
Get/set active color (list of red, green, blue values in 0-1 range)
type: list
default: 0 0.75 1 1
@background_color
Get/set element background color (list of red, green, blue values in 0-1 range)
type: list
default: 0.93 0.93 0.93 1
@border_color
Get/set border color (list of red, green, blue values in 0-1 range)
type: list
default: 0.6 0.6 0.6 1
@fontsize
Get/set fontsize
type: int
range: 4..100
default: 11
@fontname
Get/set fontname
type: symbol
enum: Courier, DejaVu, Helvetica, Monaco, Times
default: Helvetica
@fontweight
Get/set font weight
type: symbol
enum: normal, bold
default: normal
@fontslant
Get/set font slant
type: symbol
enum: roman, italic
default: roman
See also: [ui.toggle]
Authors: Serge Poltavsky
License: GPL3 or later