→ index of namespace ui
 
→ index of project ui
 
→ index of module MSlider

Class MSlider.ui::Slider


Synopsis: 

  Base classes:
  Functions:
  Methods:
  Constants:

Function GetDefaultKnobSize
Signature
GetDefaultKnobSize():float
Returns
float–

 
→ top of page
Function GetMinHeight
Signature
GetMinHeight():int
Returns
int–

 
→ top of page
Function GetMinWidth
Signature
GetMinWidth():int
Returns
int–

 
→ top of page
Function New
Signature
New(floatmin,
  floatmax,
  floatvalue,
  floatstep 
  )  
 :ui::Slider
Arguments
floatmin–
floatmax–
floatvalue–
floatstep–
Returns

 
→ top of page
Function NewVertical
Signature
NewVertical(floatmin,
  floatmax,
  floatvalue,
  floatstep 
  )  
 :ui::Slider
Arguments
floatmin–
floatmax–
floatvalue–
floatstep–
Returns

 
→ top of page
Method beginXFMTag
Signature
beginXFMTag(ui::AbstractXMLFormform,
  HashTableattributes 
  )  
 :int
Arguments
ui::AbstractXMLFormform–
HashTableattributes–
Returns
int–

 
→ top of page
Method calcSizeX
Signature
calcSizeX():float
Returns
float–

 
→ top of page
Method calcSizeY
Signature
calcSizeY():float
Returns
float–

 
→ top of page
Method cancelSliderTimer
Signature
cancelSliderTimer()

 
→ top of page
Method consumeAction
Signature
consumeAction(ui::Actionaction)
 :int
Arguments
ui::Actionaction–
Returns
int–

 
→ top of page
Method continueGrabAtNewMousePosition
Signature
continueGrabAtNewMousePosition()

 
→ top of page
Method decCoarse
Subtract step_coarse from current slider value
Signature
decCoarse():int
Returns
int–

 
→ top of page
Method decFine
Signature
decFine():int
Returns
int–

 
→ top of page
Method getBorderSize
Signature
getBorderSize()

 
→ top of page
Method getKnobSize
Query the size of the slider knob
Signature
getKnobSize():float
Returns
float–

 
→ top of page
Method getMaxValue
Query the maximum slider position
Signature
getMaxValue():float
Returns
float–

 
→ top of page
Method getMinValue
Query the minimum slider position
Signature
getMinValue():float
Returns
float–

 
→ top of page
Method getMoveDirection
Return direction of last slider movement, -1=up/left, 0=none, 1=right/down
Signature
getMoveDirection():int
Returns
int–

 
→ top of page
Method getProvidedActionNames
Signature
getProvidedActionNames():StringArray
Returns

 
→ top of page
Method getStepCoarse
Query the default position change inc/dec size.
Signature
getStepCoarse():float
Returns
float–

 
→ top of page
Method getValue
Signature
getValue():float
Returns
float–

 
→ top of page
Method grabMouse
Signature
grabMouse()

 
→ top of page
Method handleMouseClickOrPress
Signature
handleMouseClickOrPress()

 
→ top of page
Method handleResetValue
Signature
handleResetValue():int
Returns
int–

 
→ top of page
Method handleValueChanged
Signature
handleValueChanged()

 
→ top of page
Method handleValueChanging
Signature
handleValueChanging()

 
→ top of page
Method incCoarse
Add step_coarse to current slider value
Signature
incCoarse():int
Returns
int–

 
→ top of page
Method incFine
Signature
incFine():int
Returns
int–

 
→ top of page
Method initSlider
Signature
initSlider(floatmin,
  floatmax,
  floatvalue,
  floatstep 
  )  
Arguments
floatmin–
floatmax–
floatvalue–
floatstep–

 
→ top of page
Method isFlipped
Signature
isFlipped():int
Returns
int–

 
→ top of page
Method isKnobSizeAdaptive
Signature
isKnobSizeAdaptive():int
Returns
int–

 
→ top of page
Method isMouseFocusLocked
Signature
isMouseFocusLocked():int
Returns
int–

 
→ top of page
Method isTabCycleMember
Signature
isTabCycleMember():int
Returns
int–

 
→ top of page
Method isVertical
Query orientation of the slider; true=vertical, false=horizontal
Signature
isVertical():int
Returns
int–

 
→ top of page
Method onDraw
Signature
onDraw()

 
→ top of page
Method onKey
Signature
onKey(Keyk)
 :int
Arguments
Keyk–
Returns
int–

 
→ top of page
Method onKeyboardFocusLost
Signature
onKeyboardFocusLost(intbQuiet)
Arguments
intbQuiet–

 
→ top of page
Method onMouse
Signature
onMouse(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseBeginDrag
Signature
onMouseBeginDrag(ui::MouseEventdragStart,
  ui::MouseEventev 
  )  
 :int
Arguments
ui::MouseEventdragStart–
ui::MouseEventev–
Returns
int–

 
→ top of page
Method onMouseCancelDrag
Signature
onMouseCancelDrag(ui::MouseEventev)
Arguments

 
→ top of page
Method onMouseClick
Signature
onMouseClick(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseDoubleClick
Signature
onMouseDoubleClick(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseDrag
Signature
onMouseDrag(ui::MouseEventlastEv,
  ui::MouseEventcurrentEv 
  )  
 :int
Arguments
ui::MouseEventlastEv–
ui::MouseEventcurrentEv–
Returns
int–

 
→ top of page
Method onMouseEnter
Signature
onMouseEnter(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseHold
Signature
onMouseHold(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onMouseKey
Signature
onMouseKey(Keyk)
 :int
Arguments
Keyk–
Returns
int–

 
→ top of page
Method onMouseLeave
Signature
onMouseLeave(ui::MouseEventev)
 :int
Arguments
Returns
int–

 
→ top of page
Method onTabFocus
Signature
onTabFocus()

 
→ top of page
Method quantizeValue
Signature
quantizeValue(floatvalue)
 :float
Arguments
floatvalue–
Returns
float–

 
→ top of page
Method recalcKnobSize
Signature
recalcKnobSize()

 
→ top of page
Method setBorderSize
Signature
setBorderSize(intbs)
Arguments
intbs–

 
→ top of page
Method setCustomMinSize
Signature
setCustomMinSize(floatw,
  floath 
  )  
Arguments
floatw–
floath–

 
→ top of page
Method setEnableAdaptiveKnobSize
Signature
setEnableAdaptiveKnobSize(intb)
Arguments
intb–

 
→ top of page
Method setEnableBlendReplaceAlpha
Signature
setEnableBlendReplaceAlpha(intbEnable)
Arguments
intbEnable–

 
→ top of page
Method setEnableDetailEdit
Signature
setEnableDetailEdit(intbEnable)
Arguments
intbEnable–

 
→ top of page
Method setFlip
Signature
setFlip(intb)
Arguments
intb–

 
→ top of page
Method setKnobSize
Set the size of the slider knob (in pixels)
Signature
setKnobSize(floatsize)
Arguments
floatsize–

 
→ top of page
Method setLayerStyle
Signature
setLayerStyle(intstyle)
Arguments
intstyle–

 
→ top of page
Method setMaxValue
Set the maximum slider position
Signature
setMaxValue(floatmax)
Arguments
floatmax–

 
→ top of page
Method setMinMaxValues
Signature
setMinMaxValues(floatmin,
  floatmax 
  )  
Arguments
floatmin–
floatmax–

 
→ top of page
Method setMinValue
Set the minimum slider position
Signature
setMinValue(floatmin)
Arguments
floatmin–

 
→ top of page
Method setRange
Signature
setRange(floatmin,
  floatmax 
  )  
Arguments
floatmin–
floatmax–

 
→ top of page
Method setRelativeKnobSize
Set the size of the slider knob (visible range of values)
Signature
setRelativeKnobSize(floatvisible)
Arguments
floatvisible–

 
→ top of page
Method setResetValue
Signature
setResetValue(floatreset)
Arguments
floatreset–

 
→ top of page
Method setResetValues
Signature
setResetValues(FloatArrayfa)
Arguments
FloatArrayfa–

 
→ top of page
Method setStepCoarse
Set the default position change inc/dec size.
Signature
setStepCoarse(floatval)
Arguments
floatval–

 
→ top of page
Method setValue
Signature
setValue(floatvalue)
Arguments
floatvalue–

 
→ top of page
Method setValueGrabbed
Signature
setValueGrabbed(floatvalue)
Arguments
floatvalue–

 
→ top of page
Method setVertical
Enable vertical orientation instead of horizontal (default)
Signature
setVertical(intb)
Arguments
intb–

 
→ top of page
Method showDetailEdit
Signature
showDetailEdit()

 
→ top of page
Method ungrabMouse
Signature
ungrabMouse()

 
→ top of page
Method validateValue
Signature
validateValue()

 
→ top of page
Method wantOnMouseClickAfterOnMouseWasHandled
Signature
wantOnMouseClickAfterOnMouseWasHandled():int
Returns
int–

 
→ top of page
Constant ACTION_VALUECHANGED (String)
Constant ACTION_VALUECHANGING (String)
Constant DELEGATE_GETSTEPCOARSE (String)
Constant MAX_KNOB_SIZE (float)
Constant MIN_HEIGHT (float)
Constant MIN_WIDTH (float)
Constant TA_REPEAT (String)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezier01Edit , MBezierEdit , MButton , MCharFilter , MCharFilterBinary255Expr , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCharFilterHexShort , MCharFilterHexShortExpr , MCharFilterUFix16 , MCheckBox , MChoiceDialog , MCmdProvider , MColorBox , MColorButton , MComboBox , MComboBoxPopup , MComboBoxTM , MComboField , MComposite , MControl , MCursorShapes , MDial , MDialog , MDragHandleLabel , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamDialog , MFloatParamEditor , MFlowLayout , MFont , MFontCache , MFontResource , MForm , MFT2Face , MFT2FontResource , MFT2Glyph , MGeometry4f , MGraph , MGraphForm , MGridLayout , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MKeyboardMonitor , MKeyHelpDialog , MLabel , MLayer , MLayerSwitch , MLayout , MLogger , MLookAndFeel , MLookAndFeel_Dark , MLookAndFeel_Light , MLookAndFeel_Mono , MMouseEvent , MObjectAction , MOpaquePanel , MPanel , MPNGIcon , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MShader , MShader_ColorGrading , MShader_GradientH , MShader_GradientR , MShader_GradientV , MShader_InvertColor , MShader_PatternFill , MShader_PatternGradientH , MShader_PatternGradientR , MShader_PatternGradientV , MShader_SharpenFilter , MShader_SharpenFilterAndColorGrading , MShape , MShapePolyline , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableCellEditorString , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MUserDataContainer , MValueAction , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm , MXYPad 
Project Classes:CmdProvider , ColorBox , graph::AttribsBase , graph::BBox , graph::Canvas , graph::Cell , graph::Edge , graph::GR , graph::Graph , graph::GRGradient , graph::GRPalette , graph::GRParseContext , graph::GRStyle , graph::GRUtils , graph::Node , graph::Port , graph::PortsBase , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::Bezier01Edit , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BezierLUT01 , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterBinary255Expr , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CharFilterHexShort , ui::CharFilterHexShortExpr , ui::CharFilterUFix16 , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::ComboField , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DragHandleLabel , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamDialog , ui::FloatParamEditor , ui::FlowLayout , ui::Font , ui::FontCache , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::GraphEdge , ui::GraphEdgeArrow , ui::GraphForm , ui::GraphPortButton , ui::GridLayout , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyboardFocusListener , ui::KeyboardMonitor , ui::KeyboardMonitorEntry , ui::KeyHelpButton , ui::KeyHelpDialog , ui::KeyHelpToolTip , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::Logger , ui::LookAndFeel , ui::LookAndFeelDefs , ui::LookAndFeel_Dark , ui::LookAndFeel_Light , ui::LookAndFeel_Mono , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::ObjectAction , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Shader , ui::Shader_ColorGrading , ui::Shader_GradientH , ui::Shader_GradientR , ui::Shader_GradientV , ui::Shader_InvertColor , ui::Shader_PatternFill , ui::Shader_PatternGradientH , ui::Shader_PatternGradientR , ui::Shader_PatternGradientV , ui::Shader_SharpenFilter , ui::Shader_SharpenFilterAndColorGrading , ui::Shape , ui::ShapePolyline , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableCellEditorString , ui::TableGraphPanel , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextEditPlugin , ui::TextEditUndoEntry , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TextViewSyntaxHighlighter , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::UserDataContainer , ui::ValueAction , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm , ui::XYPad 
Project Functions:getTableViewStepCoarse , Screen_onApplicationActive , Screen_onClose , Screen_onDrainEventQueue , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onMoveWindow , Screen_onOpen , Screen_onResize , Screen_onTimer , SetDebugLevel , SetDebugLevel , SetEnableProfiling 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Wed, 27/May/2026 15:27:24