IEMGui¶
IEMGui Font¶
- class pdpy_lib.iemgui.iemfont.IEMFont(face=None, points=None, json=None, xml=None, **kwargs)[source]¶
Bases:
BaseRepresents the IEM gui fonts
This IEM gui object represents an IEM Font
- Parameters
face (
int) – An index that refers to a font-face or font-familypoints (
int) – An integer representing the font size in pointsjson (
dict) – A JSON representation of the object.xml (
xml.etree.ElementTree.ElementorNone) – An Xml Element with the appropriate element structure.**kwargs (optional) – Other keyword arguments are ignored.
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Label¶
- class pdpy_lib.iemgui.iemlabel.IEMLabel(pd_lines=None, json=None, xml=None, **kwargs)[source]¶
Bases:
BaseThe IEM IEMLabel Obj
This IEM gui object represents an IEM Label
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.xml (
xml.etree.ElementTree.ElementorNone) – An Xml Element with the appropriate element structure.**kwargs (optional) –
Keyword arguments are:
label: (str) the label textx: (int) the x-offset of the labely: (int) the y-offset of the labelfface: (int) the font face of the labelfsize: (int) the font size of the labellbcolor: (str) the color of the label
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Bang¶
- class pdpy_lib.iemgui.bng.Bng(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Bang object, aka.
bngThis IEM gui object represents an IEM Bang button.
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.**kwargs (optional) –
Keyword arguments are:
size: the size of the buttonhold: time of the button on holdintrrpt: the interruption time of the buttoninit: the init flag to trigger the button on loadtimebgcolor: the background color of the bangfgcolor: the foreground of the bang
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Canvas¶
- class pdpy_lib.iemgui.cnv.Cnv(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Canvas object, aka.
cnvormy_canvasThis IEM gui object represents an IEM canvas.
- Parameters
pd_lines (
list) – A list of pure data tokens representing this objectjson (
dict) – A json dictionary representing this object**kwargs (optional) –
Keyword arguments are:
size: the size of the canvas mouse selection boxwidth: the width of the canvas areaheight: the height of the canvas areabgcolor: the background color of the canvasfgcolor: the foreground of the canvasflag: a flag
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Number Box¶
- class pdpy_lib.iemgui.nbx.Nbx(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Number Box object, aka.
nbxThis IEM gui object represents an IEM Number box (Number2)
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.**kwargs (optional) –
Keyword arguments are:
digits_width: the width of the number box in digits.height: the height of the numberslower: the lower limit of the number box rangeupper: the upper limit of the number box rangelog_flag: a flag to enable logarithmic value scalinginit: the init flag to trigger the number box on loadtimevalue: the initial value of the number box (withinit)log_height: upper limit of the log scale (withlog_flag)bgcolor: the background color of the bangfgcolor: the foreground of the bang
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Radio¶
- class pdpy_lib.iemgui.radio.Radio(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Radio object, aka. hradio or vradio
This IEM gui object represents an IEM horizontal or vertical radio selector.
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.**kwargs (optional) –
Keyword arguments are:
size: the size of each radio buttonflag: a flaginit: the init flag to trigger the radio on loadtimenumber: the number of buttonsvalue: the initial value of the radio button (with init)bgcolor: the background color of the radiofgcolor: the foreground of the radio
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Slider¶
- class pdpy_lib.iemgui.slider.Slider(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Slider object, aka.
vslorhslThis IEM gui object represents an IEM horizontal or vertical slider.
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.**kwargs (optional) –
Keyword arguments are:
width: the width of the sliderheight: the height of the sliderlower: the lower limit of the slider rangeupper: the upper limit of the slider rangelog_flag: a flag to enable logarithmic value scalinginit: the init flag to trigger the slider on loadtimevalue: the initial value of the number box (withinit)log_height: upper limit of the log scale (withlog_flag)bgcolor: the background color of the radiofgcolor: the foreground of the radio
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Toggle¶
- class pdpy_lib.iemgui.toggle.Toggle(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Toggle Obj, aka. tgl
This IEM gui object represents an IEM toggle.
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.**kwargs (optional) –
Keyword arguments are:
size: the size of the toggle squareinit: the init flag to trigger the toggle on loadtimeflag: a flagnonzero: the non-zero value when toggle is on.bgcolor: the background color of the togglefgcolor: the foreground of the toggle
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.
IEMGui Vu Meter¶
- class pdpy_lib.iemgui.vu.Vu(pd_lines=None, json=None, **kwargs)[source]¶
Bases:
ObjThe IEM Vu Meter Object, aka.
vu.This IEM gui object represents an IEM Vu Meter.
- Parameters
pd_lines (
list) – The lines of the Pure Data patch that define the object.json (
dict) – A JSON representation of the object.**kwargs (optional) –
Keyword arguments are:
width: the width of the vu meter areaheight: the height of the vu meter areascale: flag to draw the dB scale or notflag: another flag.bgcolor: the background color of the vu meterfgcolor: the foreground of the vu meter
Other keyword arguments are passed to
pdpy_lib.iemgui.iemlabel.IEMLabelandpdpy_lib.patching.comm.Comm
See also
pdpy_lib.utilities.default.DefaultFor default parameters.