PureData CEAMMC library web documentation
aliases: [ui.b]
available since version: 0.1
do nothing more than vanilla bang for the moment…
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
@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 element 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
@label
Get/set label text
type: symbol
default: (null)
@label_color
Get/set label color in RGB format within 0-1 range, for example: 0.2 0.4 0.1
type: list
default: 0 0 0 1
@label_inner
Get/set label position (1 - inner, 0 - outer).
type: bool
default: 0
@label_align
Get/set label horizontal align
type: symbol
enum: left, center, right
default: left
@label_valign
Get/set label vertical align
type: symbol
enum: top, center, bottom
default: top
@label_side
Get/set label snap side
type: symbol
enum: left, top, right, bottom
default: top
@label_margins
Get/set label offset in pixels
type: list
default: 0 0
See also: [ui.toggle]
Authors: Pierre Guillot
License: GPL3 or later