PureData CEAMMC library web documentation
aliases: [ui.s2d]
available since version: 0.1
dump
dumps all object info to Pd console window
X x-offset
type: float
required: True
Y y-offset
type: float
required: True
X top left x-coord
type: float
required: True
Y top right y-coord
type: float
required: True
X x-position
type: float
required: True
Y y-position
type: float
required: True
@x_left
Get/set leftmost x-value
type: float
default: -1
@x_right
Get/set rightmost x-value
type: float
default: 1
@y_top
Get/set top y-value
type: float
default: 1
@y_bottom
Get/set bottom y-value
type: float
default: -1
@x_range (readonly)
Get abs x-value range
type: float
default: 2
@y_range (readonly)
Get abs y-value range
type: float
default: 2
@x_value
Get/set slider x-value
type: float
default: 0
@y_value
Get/set slider y-value
type: float
default: 0
@show_range
Get/set if show slider range
type: bool
default: 1
@show_grid
Get/set if show grid
type: bool
default: 0
@presetname
Get/set preset name for using with [ui.preset]
type: symbol
default: (null)
@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: 100 100
@pinned
Get/set pin mode. if 1 - put element to the lowest level
type: bool
default: 0
@mouse_events
Get/set mouse events output mode. If on outputs @mouse_down, @mouse_up and @mouse_drag
events
type: bool
default: 0
@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.slider] [ui.polar]
Authors: Alex Nadzharov, Serge Poltavsky
License: GPL3 or later