Slider.mui Class Reference¶
BOOPSI custom class Slider.mui (MUI 3.8 dev). Each ### sub-section below documents one of the class's attributes or methods. Sub-classes of Slider.mui are listed at the end under Sub-classes; the class hierarchy itself is documented in the MUI classes index.
Function index¶
Class definition
Attributes
MUIA_Slider_HorizMUIA_Slider_LevelMUIA_Slider_MaxMUIA_Slider_MinMUIA_Slider_QuietMUIA_Slider_Reverse
Slider.mui¶
MUIA_Slider_Horiz¶
MUIA_Slider_Horiz -- (V11) [ISG], BOOL
Function
Specify if you want a horizontal or vertical slider. Also understands MUIA_Group_Horiz to be compatible with previous versions of MUI.
MUIA_Slider_Level¶
MUIA_Slider_Level -- (V4 ) [ISG], LONG (OBSOLETE)
Function
The current position of the slider knob. This value is guaranteed to be between MUIA_Slider_Min and MUIA_Slider_Max.
Example
/* vertical task priority slider */
SliderObject,
MUIA_Group_Horiz , FALSE,
MUIA_Slider_Min , -20,
MUIA_Slider_Max , 20,
MUIA_Slider_Level, 0,
End;
See also
MUIA_Slider_Min, MUIA_Slider_Max
MUIA_Slider_Max¶
MUIA_Slider_Max -- (V4 ) [ISG], LONG (OBSOLETE)
Function
Adjust the maximum value for a slider object.
See also
MUIA_Slider_Min, MUIA_Slider_Level
MUIA_Slider_Min¶
MUIA_Slider_Min -- (V4 ) [ISG], LONG (OBSOLETE)
Function
Adjust the minimum value for a slider object. Of course you can use negative number, e.g. for a slider to adjust task priority.
See also
MUIA_Slider_Max, MUIA_Slider_Level
MUIA_Slider_Quiet¶
MUIA_Slider_Quiet -- (V6 ) [I..], BOOL
Function
When set to TRUE, the slider doesn't display it's current level in a text object.
See also
MUIA_Slider_Level
MUIA_Slider_Reverse¶
MUIA_Slider_Reverse -- (V4 ) [ISG], BOOL (OBSOLETE)
Function
Setting this attribute to TRUE will reverse the direction of the slider.
See also
MUIA_Slider_Min, MUIA_Slider_Max, MUIA_Slider_Level