mjtItem — UI item type. From MuJoCo's headers, as numbers. All 17 values carry a number in the header.
Summary
Functions
mjITEM_BUTTON is 2 — button.
mjITEM_CHECKBYTE is 4 — check box, mjtByte value.
mjITEM_CHECKINT is 3 — check box, int value.
mjITEM_EDITFLOAT is 12 — editable array, float values.
mjITEM_EDITINT is 10 — editable array, int values.
mjITEM_EDITNUM is 11 — editable array, mjtNum values.
mjITEM_EDITTXT is 13 — editable text.
mjITEM_END is -2 — end of definition list (not an item).
mjNITEM is 14 — number of item types.
mjITEM_RADIO is 5 — radio group.
mjITEM_RADIOLINE is 6 — radio group, single line.
mjITEM_SECTION is -1 — section (not an item).
mjITEM_SELECT is 7 — selection box.
mjITEM_SEPARATOR is 0 — separator.
mjITEM_SLIDERINT is 8 — slider, int value.
mjITEM_SLIDERNUM is 9 — slider, mjtNum value.
mjITEM_STATIC is 1 — static text.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec button() :: 2
mjITEM_BUTTON is 2 — button.
@spec checkbyte() :: 4
mjITEM_CHECKBYTE is 4 — check box, mjtByte value.
@spec checkint() :: 3
mjITEM_CHECKINT is 3 — check box, int value.
@spec editfloat() :: 12
mjITEM_EDITFLOAT is 12 — editable array, float values.
@spec editint() :: 10
mjITEM_EDITINT is 10 — editable array, int values.
@spec editnum() :: 11
mjITEM_EDITNUM is 11 — editable array, mjtNum values.
@spec edittxt() :: 13
mjITEM_EDITTXT is 13 — editable text.
@spec end_() :: -2
mjITEM_END is -2 — end of definition list (not an item).
@spec mjnitem() :: 14
mjNITEM is 14 — number of item types.
@spec radio() :: 5
mjITEM_RADIO is 5 — radio group.
@spec radioline() :: 6
mjITEM_RADIOLINE is 6 — radio group, single line.
@spec section() :: -1
mjITEM_SECTION is -1 — section (not an item).
@spec select() :: 7
mjITEM_SELECT is 7 — selection box.
@spec separator() :: 0
mjITEM_SEPARATOR is 0 — separator.
@spec sliderint() :: 8
mjITEM_SLIDERINT is 8 — slider, int value.
@spec slidernum() :: 9
mjITEM_SLIDERNUM is 9 — slider, mjtNum value.
@spec static() :: 1
mjITEM_STATIC is 1 — static text.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.