Template:CWSFUNCS: Difference between revisions
Jump to navigation
Jump to search
AriosJentu (talk | contribs) |
AriosJentu (talk | contribs) No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
*[[CustomWidget:setEnabled]] | *[[CustomWidget:setEnabled]] | ||
*[[CustomWidget:setColorScheme]] | *[[CustomWidget:setColorScheme]] | ||
*[[CustomWidget:setFont]] | |||
*[[CustomWidget:setFontSize]] | |||
*[[CustomWidget:setSystemFont]] | |||
==== Get Functions ==== | ==== Get Functions ==== | ||
Line 17: | Line 20: | ||
*[[CustomWidget:getEnabled]] | *[[CustomWidget:getEnabled]] | ||
*[[CustomWidget:getColorScheme]] | *[[CustomWidget:getColorScheme]] | ||
*[[CustomWidget:getFont]] | |||
*[[CustomWidget:getFontSize]] | |||
*[[getCWType]] | |||
==== Event Functions ==== | ==== Event Functions ==== | ||
Line 22: | Line 28: | ||
*[[CustomWidget:moveToBack]] | *[[CustomWidget:moveToBack]] | ||
*[[CustomWidget:addEvent]] | *[[CustomWidget:addEvent]] | ||
*[[CustomWidget:removeEvent]] | |||
*[[CustomWidget:destroy]] | |||
*[[proceedColor]] | *[[proceedColor]] | ||
Line 34: | Line 42: | ||
*[[CustomWindow:setText]] | *[[CustomWindow:setText]] | ||
*[[CustomWindow:setMovable]] | *[[CustomWindow:setMovable]] | ||
*[[CustomWindow:setSizable]] | |||
*[[CustomWindow:setCloseEnabled]] | *[[CustomWindow:setCloseEnabled]] | ||
*[[CustomWindow:setSideBarLength]] | |||
*[[CustomWindow:setSideBarPosition]] | |||
*[[CustomWindow:setMinimalWidth]] | |||
*[[CustomWindow:setMinimalHeight]] | |||
*[[CustomWindow:setMinimalSize]] | |||
*[[CustomWindow:setMaximalWidth]] | |||
*[[CustomWindow:setMaximalHeight]] | |||
*[[CustomWindow:setMaximalSize]] | |||
==== Get Functions ==== | ==== Get Functions ==== | ||
Line 40: | Line 57: | ||
*[[CustomWindow:getText]] | *[[CustomWindow:getText]] | ||
*[[CustomWindow:getMovable]] | *[[CustomWindow:getMovable]] | ||
*[[CustomWindow:getSizable]] | |||
*[[CustomWindow:getCloseEnabled]] | *[[CustomWindow:getCloseEnabled]] | ||
*[[CustomWindow: | *[[CustomWindow:getSideBarLength]] | ||
*[[CustomWindow: | *[[CustomWindow:getSideBarPosition]] | ||
*[[CustomWindow: | *[[CustomWindow:getMinimalWidth]] | ||
*[[CustomWindow:getMinimalHeight]] | |||
*[[CustomWindow:getMinimalSize]] | |||
*[[CustomWindow:getMaximalWidth]] | |||
*[[CustomWindow:getMaximalHeight]] | |||
*[[CustomWindow:getMaximalSize]] | |||
==== Event Functions ==== | ==== Event Functions ==== | ||
Line 52: | Line 75: | ||
*[[CustomWindow:showDialog]] | *[[CustomWindow:showDialog]] | ||
*[[CustomWindow:showBar]] | *[[CustomWindow:showBar]] | ||
*[[CustomWindow:getMainElement]] | |||
*[[CustomWindow:getHeader]] | |||
*[[CustomWindow:getDialog]] | |||
Line 65: | Line 91: | ||
==== Get Functions ==== | ==== Get Functions ==== | ||
*[[CustomButton:getText]] | *[[CustomButton:getText]] | ||
*[[CustomButton:getImage]] | |||
==== Event Functions ==== | |||
*[[CustomButton:getMainElement]] | |||
Line 77: | Line 107: | ||
==== Get Functions ==== | ==== Get Functions ==== | ||
*[[CustomProgressBar:getProgress]] | *[[CustomProgressBar:getProgress]] | ||
==== Event Functions ==== | |||
*[[CustomProgressBar:getMainElement]] | |||
Line 107: | Line 140: | ||
*[[CustomEditBox:setText]] | *[[CustomEditBox:setText]] | ||
*[[CustomEditBox:setCaretIndex]] | *[[CustomEditBox:setCaretIndex]] | ||
*[[CustomEditBox:setSidesColor]] | |||
*[[CustomEdit:setMasked]] | *[[CustomEdit:setMasked]] | ||
Line 119: | Line 153: | ||
*[[CustomEditBox:getText]] | *[[CustomEditBox:getText]] | ||
*[[CustomEditBox:getCaretIndex]] | *[[CustomEditBox:getCaretIndex]] | ||
*[[CustomEditBox:isOnSide]] | |||
*[[CustomEditBox:getSidesColor]] | |||
*[[CustomEdit:getMasked]] | *[[CustomEdit:getMasked]] | ||
Line 126: | Line 162: | ||
*[[CustomSpinner:getMaximal]] | *[[CustomSpinner:getMaximal]] | ||
*[[CustomSpinner:getStepSize]] | *[[CustomSpinner:getStepSize]] | ||
==== Event Functions ==== | ==== Event Functions ==== | ||
*[[CustomEditBox:putOnSide]] | *[[CustomEditBox:putOnSide]] | ||
=== '''Custom Check Boxes''' === | === '''Custom Check Boxes''' === | ||
Line 143: | Line 179: | ||
*[[CustomCheckBox:getText]] | *[[CustomCheckBox:getText]] | ||
*[[CustomCheckBox:getChecked]] | *[[CustomCheckBox:getChecked]] | ||
==== Event Functions ==== | |||
*[[CustomCheckBox:getMainElement]] | |||
Line 152: | Line 191: | ||
==== Set Functions ==== | ==== Set Functions ==== | ||
*[[CustomComboBox:setSelectedItem]] | *[[CustomComboBox:setSelectedItem]] | ||
*[[CustomComboBox:setItemText]] | |||
*[[CustomComboBox:setMaxHeight]] | *[[CustomComboBox:setMaxHeight]] | ||
==== Get Functions ==== | ==== Get Functions ==== | ||
*[[CustomComboBox:getSelectedItem]] | *[[CustomComboBox:getSelectedItem]] | ||
*[[CustomComboBox:getItemText]] | |||
*[[CustomComboBox:getMaxHeight]] | *[[CustomComboBox:getMaxHeight]] | ||
*[[CustomComboBox:getItemsCount]] | |||
*[[CustomComboBox:getItems]] | |||
==== Event Functions ==== | ==== Event Functions ==== | ||
*[[CustomComboBox:addItem]] | *[[CustomComboBox:addItem]] | ||
*[[CustomComboBox:removeItem]] | *[[CustomComboBox:removeItem]] | ||
*[[CustomComboBox:clear]] | |||
*[[CustomComboBox:getMainElement]] | |||
Line 186: | Line 231: | ||
==== Event Functions ==== | ==== Event Functions ==== | ||
*[[CustomTabPanel:addTab]] | *[[CustomTabPanel:addTab]] | ||
*[[CustomTabPanel:removeTab]] | |||
*[[CustomTabPanel:clearTabs]] | |||
*[[CustomTabPanel:getMainElement]] | |||
Line 201: | Line 249: | ||
*[[CustomLabel:setHorizontalAlign]] | *[[CustomLabel:setHorizontalAlign]] | ||
*[[CustomLabel:setAlign]] | *[[CustomLabel:setAlign]] | ||
==== Get Functions ==== | ==== Get Functions ==== | ||
*[[CustomLabel:getText]] | *[[CustomLabel:getText]] | ||
*[[CustomLabel:getColor]] | *[[CustomLabel:getColor]] | ||
*[[CustomLabel:getVerticalAlign]] | |||
*[[CustomLabel:getHorizontalAlign]] | |||
*[[CustomLabel:isSchematicalColor]] | |||
*[[CustomLabel:isHoverable]] | |||
==== Event Functions ==== | |||
*[[CustomLabel:getMainElement]] | |||
*[[CustomLabel:addElement]] | |||
*[[CustomLabel:removeElement]] | |||
Line 222: | Line 278: | ||
==== Create Function ==== | ==== Create Function ==== | ||
*[[CustomTooltip.create]] | *[[CustomTooltip.create]] | ||
==== Set Function ==== | |||
*[[CustomTooltip:setShowTime]] | |||
*[[CustomTooltip:setText]] | |||
==== Get Function ==== | |||
*[[CustomTooltip:getShowTime]] | |||
*[[CustomTooltip:getText]] | |||
Line 250: | Line 314: | ||
*[[CustomScrollPane:setHorizontalScrollInversed]] | *[[CustomScrollPane:setHorizontalScrollInversed]] | ||
*[[CustomScrollPane:setHorizontalScrolling]] | *[[CustomScrollPane:setHorizontalScrolling]] | ||
*[[CustomScrollPane:setScrollingWithCursor]] | |||
*[[CustomScrollPane:setScrollingWithWheel]] | |||
*[[CustomScrollPane:addVerticalPixelScrollPosition]] | |||
*[[CustomScrollPane:addHorizontalPixelScrollPosition]] | |||
==== Get Functions ==== | ==== Get Functions ==== | ||
Line 255: | Line 323: | ||
*[[CustomScrollPane:getVerticalScrollPosition]] | *[[CustomScrollPane:getVerticalScrollPosition]] | ||
*[[CustomScrollPane:getHorizontalScrollPosition]] | *[[CustomScrollPane:getHorizontalScrollPosition]] | ||
*[[CustomScrollPane:isVerticalScrollInversed]] | |||
*[[CustomScrollPane:isHorizontalScrollInversed]] | |||
*[[CustomScrollPane:isHorizontalScrolling]] | *[[CustomScrollPane:isHorizontalScrolling]] | ||
*[[CustomScrollPane:getScrollingWithCursor]] | |||
*[[CustomScrollPane:getScrollingWithWheel]] | |||
==== Event Functions ==== | ==== Event Functions ==== | ||
*[[CustomScrollPane: | *[[CustomScrollPane:getMainElement]] | ||
*[[CustomScrollPane:addElement]] | *[[CustomScrollPane:addElement]] | ||
*[[CustomScrollPane:removeElement]] | *[[CustomScrollPane:removeElement]] | ||
Line 277: | Line 349: | ||
*[[CustomTableView:setColumnTitle]] | *[[CustomTableView:setColumnTitle]] | ||
*[[CustomTableView:setCellText]] | *[[CustomTableView:setCellText]] | ||
*[[CustomTableView:setShadowsEnabled]] | |||
==== Get Functions ==== | ==== Get Functions ==== | ||
Line 289: | Line 362: | ||
*[[CustomTableView:getLinesCount]] | *[[CustomTableView:getLinesCount]] | ||
*[[CustomTableView:getColumnsCount]] | *[[CustomTableView:getColumnsCount]] | ||
*[[CustomTableView:getShadowsEnabled]] | |||
==== Event Functions ==== | ==== Event Functions ==== | ||
*[[CustomTableView:addLine]] | *[[CustomTableView:addLine]] | ||
*[[CustomTableView:removeLine]] | *[[CustomTableView:removeLine]] | ||
*[[CustomTableView:clearLines]] | |||
*[[CustomTableView:addColumn]] | *[[CustomTableView:addColumn]] | ||
*[[CustomTableView:removeColumn]] | *[[CustomTableView:removeColumn]] | ||
*[[CustomTableView:update]] | *[[CustomTableView:update]] | ||
=== '''Custom Static Images''' === | |||
==== Create Function ==== | |||
*[[CustomStaticImage.create]] | |||
==== Set Function ==== | |||
*[[CustomStaticImage:setColor]] | |||
*[[CustomStaticImage:setImage]] | |||
*[[CustomStaticImage:setSchematicalColor]] | |||
==== Get Function ==== | |||
*[[CustomStaticImage:getColor]] | |||
*[[CustomStaticImage:getImage]] | |||
*[[CustomStaticImage:getNativeSize]] | |||
*[[CustomStaticImage:isSchematicalColor]] | |||
==== Event Functions ==== | |||
*[[CustomStaticImage:getMainElement]] | |||
*[[CustomStaticImage:addElement]] | |||
=== '''Custom Text Boxes''' === | |||
==== Create Function ==== | |||
*[[CustomTextBox.create]] | |||
*[[CustomMemoBox.create]] | |||
==== Set Function ==== | |||
*[[CustomTextBox:setText]] | |||
*[[CustomTextBox:setColor]] | |||
*[[CustomTextBox:setCaretIndex]] | |||
*[[CustomTextBox:setReadOnly]] | |||
*[[CustomTextBox:setMasked]] | |||
*[[CustomTextBox:setBordersEnabled]] | |||
*[[CustomTextBox:setBackgroundEnabled]] | |||
==== Get Function ==== | |||
*[[CustomTextBox:getText]] | |||
*[[CustomTextBox:getColor]] | |||
*[[CustomTextBox:getCaretIndex]] | |||
*[[CustomTextBox:getCaretSelectionStart]] | |||
*[[CustomTextBox:getCaretSelectionEnd]] | |||
*[[CustomTextBox:getCaretSelectionLength]] | |||
*[[CustomTextBox:isReadOnly]] | |||
*[[CustomTextBox:isMasked]] | |||
*[[CustomTextBox:isBordersEnabled]] | |||
*[[CustomTextBox:isBackgroundEnabled]] | |||
Latest revision as of 15:00, 4 April 2019
Resource Wiki with content located here: Resource:CustomWidgets
Custom Widgets
This methods working for all elements except CustomDialogs and CustomTooltips
Set Functions
- CustomWidget:setPosition
- CustomWidget:setSize
- CustomWidget:setVisible
- CustomWidget:setEnabled
- CustomWidget:setColorScheme
- CustomWidget:setFont
- CustomWidget:setFontSize
- CustomWidget:setSystemFont
Get Functions
- CustomWidget:getPosition
- CustomWidget:getSize
- CustomWidget:getRealSize
- CustomWidget:getVisible
- CustomWidget:getEnabled
- CustomWidget:getColorScheme
- CustomWidget:getFont
- CustomWidget:getFontSize
- getCWType
Event Functions
- CustomWidget:bringToFront
- CustomWidget:moveToBack
- CustomWidget:addEvent
- CustomWidget:removeEvent
- CustomWidget:destroy
- proceedColor
Custom Windows
Create Function
Set Functions
- CustomWindow:setTitle
- CustomWindow:setText
- CustomWindow:setMovable
- CustomWindow:setSizable
- CustomWindow:setCloseEnabled
- CustomWindow:setSideBarLength
- CustomWindow:setSideBarPosition
- CustomWindow:setMinimalWidth
- CustomWindow:setMinimalHeight
- CustomWindow:setMinimalSize
- CustomWindow:setMaximalWidth
- CustomWindow:setMaximalHeight
- CustomWindow:setMaximalSize
Get Functions
- CustomWindow:getTitle
- CustomWindow:getText
- CustomWindow:getMovable
- CustomWindow:getSizable
- CustomWindow:getCloseEnabled
- CustomWindow:getSideBarLength
- CustomWindow:getSideBarPosition
- CustomWindow:getMinimalWidth
- CustomWindow:getMinimalHeight
- CustomWindow:getMinimalSize
- CustomWindow:getMaximalWidth
- CustomWindow:getMaximalHeight
- CustomWindow:getMaximalSize
Event Functions
- CustomWindow:open
- CustomWindow:close
- CustomWindow:addElement
- CustomWindow:addElements
- CustomWindow:showDialog
- CustomWindow:showBar
- CustomWindow:getMainElement
- CustomWindow:getHeader
- CustomWindow:getDialog
Custom Buttons
Create Function
Set Functions
Get Functions
Event Functions
Custom Progress Bars
Create Function
Set Functions
Get Functions
Event Functions
Custom Scroll Bars
Create Function
Set Functions
Get Functions
Custom Edit Boxes
All functions, what has mark CustomEditBox available for CustomEdit, CustomMemo and CustomSpinner.
Create Functions
Set Functions
- CustomEditBox:setReadOnly
- CustomEditBox:setText
- CustomEditBox:setCaretIndex
- CustomEditBox:setSidesColor
Get Functions
- CustomEditBox:getReadOnly
- CustomEditBox:getText
- CustomEditBox:getCaretIndex
- CustomEditBox:isOnSide
- CustomEditBox:getSidesColor
Event Functions
Custom Check Boxes
Create Function
Set Functions
Get Functions
Event Functions
Custom Combo Boxes
Create Function
Set Functions
Get Functions
- CustomComboBox:getSelectedItem
- CustomComboBox:getItemText
- CustomComboBox:getMaxHeight
- CustomComboBox:getItemsCount
- CustomComboBox:getItems
Event Functions
Custom Tabbed Panels
Create Function
Set Functions
- CustomTabPanel:setTabVisible
- CustomTabPanel:setTabEnabled
- CustomTabPanel:setTabText
- CustomTabPanel:setSelectedTab
- CustomTabPanel:setTabsMinLength
Get Functions
- CustomTabPanel:getTabVisible
- CustomTabPanel:getTabEnabled
- CustomTabPanel:getTabText
- CustomTabPanel:getTabFromText
- CustomTabPanel:getSelectedTab
- CustomTabPanel:getTabsMinLength
- CustomTabPanel:getTabHeader
Event Functions
- CustomTabPanel:addTab
- CustomTabPanel:removeTab
- CustomTabPanel:clearTabs
- CustomTabPanel:getMainElement
Custom Labels
Create Function
Set Functions
- CustomLabel:setText
- CustomLabel:setColor
- CustomLabel:setSchematicalColor
- CustomLabel:setHoverable
- CustomLabel:setVerticalAlign
- CustomLabel:setHorizontalAlign
- CustomLabel:setAlign
Get Functions
- CustomLabel:getText
- CustomLabel:getColor
- CustomLabel:getVerticalAlign
- CustomLabel:getHorizontalAlign
- CustomLabel:isSchematicalColor
- CustomLabel:isHoverable
Event Functions
Custom Dialogs
Create Function
Event Functions
Custom Tool Tips
Create Function
Set Function
Get Function
Custom Loadings
Create Function
Set Functions
Get Functions
Custom Scroll Panes
Create Function
Set Functions
- CustomScrollPane:setScrollSpeed
- CustomScrollPane:setVerticalScrollPosition
- CustomScrollPane:setHorizontalScrollPosition
- CustomScrollPane:setVerticalScrollInversed
- CustomScrollPane:setHorizontalScrollInversed
- CustomScrollPane:setHorizontalScrolling
- CustomScrollPane:setScrollingWithCursor
- CustomScrollPane:setScrollingWithWheel
- CustomScrollPane:addVerticalPixelScrollPosition
- CustomScrollPane:addHorizontalPixelScrollPosition
Get Functions
- CustomScrollPane:getScrollSpeed
- CustomScrollPane:getVerticalScrollPosition
- CustomScrollPane:getHorizontalScrollPosition
- CustomScrollPane:isVerticalScrollInversed
- CustomScrollPane:isHorizontalScrollInversed
- CustomScrollPane:isHorizontalScrolling
- CustomScrollPane:getScrollingWithCursor
- CustomScrollPane:getScrollingWithWheel
Event Functions
- CustomScrollPane:getMainElement
- CustomScrollPane:addElement
- CustomScrollPane:removeElement
- CustomScrollPane:update
Custom Table Views
Create Function
Set Functions
- CustomTableView:setSelectedLine
- CustomTableView:setIndentation
- CustomTableView:setTitleBarVisible
- CustomTableView:setLineHeight
- CustomTableView:setColumnWidth
- CustomTableView:setColumnTitle
- CustomTableView:setCellText
- CustomTableView:setShadowsEnabled
Get Functions
- CustomTableView:getSelectedLine
- CustomTableView:getIndentation
- CustomTableView:getTitleBarVisible
- CustomTableView:getLineHeight
- CustomTableView:getColumnWidth
- CustomTableView:getColumnTitle
- CustomTableView:getCellText
- CustomTableView:getCell
- CustomTableView:getLinesCount
- CustomTableView:getColumnsCount
- CustomTableView:getShadowsEnabled
Event Functions
- CustomTableView:addLine
- CustomTableView:removeLine
- CustomTableView:clearLines
- CustomTableView:addColumn
- CustomTableView:removeColumn
- CustomTableView:update
Custom Static Images
Create Function
Set Function
Get Function
- CustomStaticImage:getColor
- CustomStaticImage:getImage
- CustomStaticImage:getNativeSize
- CustomStaticImage:isSchematicalColor
Event Functions
Custom Text Boxes
Create Function
Set Function
- CustomTextBox:setText
- CustomTextBox:setColor
- CustomTextBox:setCaretIndex
- CustomTextBox:setReadOnly
- CustomTextBox:setMasked
- CustomTextBox:setBordersEnabled
- CustomTextBox:setBackgroundEnabled
Get Function
- CustomTextBox:getText
- CustomTextBox:getColor
- CustomTextBox:getCaretIndex
- CustomTextBox:getCaretSelectionStart
- CustomTextBox:getCaretSelectionEnd
- CustomTextBox:getCaretSelectionLength
- CustomTextBox:isReadOnly
- CustomTextBox:isMasked
- CustomTextBox:isBordersEnabled
- CustomTextBox:isBackgroundEnabled
Custom Events
- onCustomScrollPaneScrolled
- onCustomScrollBarScrolled
- onCustomDialogClick
- onCustomWindowClose
- onCustomCheckBoxChecked
- onCustomComboBoxSelectItem
- onCustomTabPanelChangeTab