Template:CWSFUNCS: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Disable Content Tabs)
No edit summary
Line 1: Line 1:
__NOTOC__
=== '''Custom Widgets''' ===
== '''Custom Widgets''' ==
This methods working for all elements except ''CustomDialogs'' and ''CustomTooltips''
This methods working for all elements except ''CustomDialogs'' and ''CustomTooltips''


=== Set Functions ===
==== Set Functions ====
*[[CustomWidget:setPosition]]
*[[CustomWidget:setPosition]]
*[[CustomWidget:setSize]]
*[[CustomWidget:setSize]]
Line 10: Line 9:
*[[CustomWidget:setColorScheme]]
*[[CustomWidget:setColorScheme]]


=== Get Functions ===
==== Get Functions ====
*[[CustomWidget:getPosition]]
*[[CustomWidget:getPosition]]
*[[CustomWidget:getSize]]
*[[CustomWidget:getSize]]
Line 17: Line 16:
*[[CustomWidget:getColorScheme]]
*[[CustomWidget:getColorScheme]]


=== Event Functions ===
==== Event Functions ====
*[[CustomWidget:bringToFront]]
*[[CustomWidget:bringToFront]]
*[[CustomWidget:moveToBack]]
*[[CustomWidget:moveToBack]]
*[[CustomWidget:addEvent]]
*[[CustomWidget:addEvent]]


== '''Custom Windows''' ==


=== Create Function ===
=== '''Custom Windows''' ===
 
==== Create Function ====
*[[CustomWindow.create]]
*[[CustomWindow.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomWindow:setTitle]]
*[[CustomWindow:setTitle]]
*[[CustomWindow:setText]]
*[[CustomWindow:setText]]
Line 33: Line 33:
*[[CustomWindow:setCloseEnabled]]
*[[CustomWindow:setCloseEnabled]]


=== Get Functions ===
==== Get Functions ====
*[[CustomWindow:getTitle]]
*[[CustomWindow:getTitle]]
*[[CustomWindow:getText]]
*[[CustomWindow:getText]]
Line 42: Line 42:
*[[CustomWindow:getDialog]]
*[[CustomWindow:getDialog]]


=== Event Functions ===
==== Event Functions ====
*[[CustomWindow:open]]
*[[CustomWindow:open]]
*[[CustomWindow:close]]
*[[CustomWindow:close]]
Line 51: Line 51:




== '''Custom Buttons''' ==
=== '''Custom Buttons''' ===


=== Create Function ===
==== Create Function ====
*[[CustomButton.create]]
*[[CustomButton.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomButton:setText]]
*[[CustomButton:setText]]
*[[CustomButton:setImage]]
*[[CustomButton:setImage]]


=== Get Functions ===
==== Get Functions ====
*[[CustomButton:getText]]
*[[CustomButton:getText]]




== '''Custom Progress Bars''' ==
=== '''Custom Progress Bars''' ===


=== Create Function ===
==== Create Function ====
*[[CustomProgressBar.create]]
*[[CustomProgressBar.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomProgressBar:setProgress]]
*[[CustomProgressBar:setProgress]]


=== Get Functions ===
==== Get Functions ====
*[[CustomProgressBar:getProgress]]
*[[CustomProgressBar:getProgress]]




== '''Custom Scroll Bars''' ==
=== '''Custom Scroll Bars''' ===


=== Create Function ===
==== Create Function ====
*[[CustomScrollBar.create]]
*[[CustomScrollBar.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomScrollBar:setScrollPosition]]
*[[CustomScrollBar:setScrollPosition]]
*[[CustomScrollBar:setScrollLength]]
*[[CustomScrollBar:setScrollLength]]
*[[CustomScrollBar:setScrollSpeed]]
*[[CustomScrollBar:setScrollSpeed]]


=== Get Functions ===
==== Get Functions ====
*[[CustomScrollBar:getScrollPosition]]
*[[CustomScrollBar:getScrollPosition]]
*[[CustomScrollBar:getScrollLength]]
*[[CustomScrollBar:getScrollLength]]
Line 92: Line 92:




== '''Custom Edit Boxes''' ==
=== '''Custom Edit Boxes''' ===
All functions, what has mark ''CustomEditBox'' available for ''CustomEdit'', ''CustomMemo'' and ''CustomNumberScroller''.
All functions, what has mark ''CustomEditBox'' available for ''CustomEdit'', ''CustomMemo'' and ''CustomNumberScroller''.


=== Create Functions ===
==== Create Functions ====
*[[CustomEdit.create]]
*[[CustomEdit.create]]
*[[CustomMemo.create]]
*[[CustomMemo.create]]
*[[CustomNumberScroller.create]]
*[[CustomNumberScroller.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomEditBox:setReadOnly]]
*[[CustomEditBox:setReadOnly]]
*[[CustomEditBox:setText]]
*[[CustomEditBox:setText]]
Line 112: Line 112:
*[[CustomNumberScroller:setStepSize]]
*[[CustomNumberScroller:setStepSize]]


=== Get Functions ===
==== Get Functions ====
*[[CustomEditBox:getReadOnly]]
*[[CustomEditBox:getReadOnly]]
*[[CustomEditBox:getText]]
*[[CustomEditBox:getText]]
Line 124: Line 124:
*[[CustomNumberScroller:getStepSize]]
*[[CustomNumberScroller:getStepSize]]


=== Event Functions ===
==== Event Functions ====
*[[CustomEditBox:putOnSide]]
*[[CustomEditBox:putOnSide]]




== '''Custom Check Boxes''' ==
=== '''Custom Check Boxes''' ===


=== Create Function ===
==== Create Function ====
*[[CustomCheckBox.create]]
*[[CustomCheckBox.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomCheckBox:setText]]
*[[CustomCheckBox:setText]]
*[[CustomCheckBox:setChecked]]
*[[CustomCheckBox:setChecked]]


=== Get Functions ===
==== Get Functions ====
*[[CustomCheckBox:getText]]
*[[CustomCheckBox:getText]]
*[[CustomCheckBox:getChecked]]
*[[CustomCheckBox:getChecked]]




== '''Custom Combo Boxes''' ==
=== '''Custom Combo Boxes''' ===


=== Create Function ===
==== Create Function ====
*[[CustomComboBox.create]]
*[[CustomComboBox.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomComboBox:setSelectedItem]]
*[[CustomComboBox:setSelectedItem]]
*[[CustomComboBox:setMaxHeight]]
*[[CustomComboBox:setMaxHeight]]


=== Get Functions ===
==== Get Functions ====
*[[CustomComboBox:getSelectedItem]]
*[[CustomComboBox:getSelectedItem]]
*[[CustomComboBox:getMaxHeight]]
*[[CustomComboBox:getMaxHeight]]


=== Event Functions ===
==== Event Functions ====
*[[CustomComboBox:addItem]]
*[[CustomComboBox:addItem]]
*[[CustomComboBox:removeItem]]
*[[CustomComboBox:removeItem]]




== '''Custom Tabbed Panels''' ==
=== '''Custom Tabbed Panels''' ===


=== Create Function ===
==== Create Function ====
*[[CustomTabPanel.create]]
*[[CustomTabPanel.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomTabPanel:setTabVisible]]
*[[CustomTabPanel:setTabVisible]]
*[[CustomTabPanel:setTabEnabled]]
*[[CustomTabPanel:setTabEnabled]]
Line 172: Line 172:
*[[CustomTabPanel:setTabsMinLength]]
*[[CustomTabPanel:setTabsMinLength]]


=== Get Functions ===
==== Get Functions ====
*[[CustomTabPanel:getTabVisible]]
*[[CustomTabPanel:getTabVisible]]
*[[CustomTabPanel:getTabEnabled]]
*[[CustomTabPanel:getTabEnabled]]
Line 181: Line 181:
*[[CustomTabPanel:getTabHeader]]
*[[CustomTabPanel:getTabHeader]]


=== Event Functions ===
==== Event Functions ====
*[[CustomTabPanel:addTab]]
*[[CustomTabPanel:addTab]]




== '''Custom Labels''' ==
=== '''Custom Labels''' ===


=== Create Function ===
==== Create Function ====
*[[CustomLabel.create]]
*[[CustomLabel.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomLabel:setText]]
*[[CustomLabel:setText]]
*[[CustomLabel:setColor]]
*[[CustomLabel:setColor]]
Line 200: Line 200:
*[[CustomLabel:setFont]]
*[[CustomLabel:setFont]]


=== Get Functions ===
==== Get Functions ====
*[[CustomLabel:getText]]
*[[CustomLabel:getText]]
*[[CustomLabel:getColor]]
*[[CustomLabel:getColor]]




== '''Custom Dialogs''' ==
=== '''Custom Dialogs''' ===


=== Create Function ===
==== Create Function ====
*[[CustomDialog.create]]
*[[CustomDialog.create]]


=== Event Functions ===
==== Event Functions ====
*[[CustomDialog:open]]
*[[CustomDialog:open]]
*[[CustomDialog:close]]
*[[CustomDialog:close]]




== '''Custom Tool Tips''' ==
=== '''Custom Tool Tips''' ===


=== Create Function ===
==== Create Function ====
*[[CustomTooltip.create]]
*[[CustomTooltip.create]]




== '''Custom Loadings''' ==
=== '''Custom Loadings''' ===


=== Create Function ===
==== Create Function ====
*[[CustomLoading.create]]
*[[CustomLoading.create]]


=== Set Functions ===
==== Set Functions ====
*[[CustomLoading:setProgress]]
*[[CustomLoading:setProgress]]
*[[CustomLoading:setAnimated]]
*[[CustomLoading:setAnimated]]


=== Get Functions ===
==== Get Functions ====
*[[CustomLoading:getProgress]]
*[[CustomLoading:getProgress]]
*[[CustomLoading:getAnimated]]
*[[CustomLoading:getAnimated]]




== '''Custom Events''' ==
=== '''Custom Events''' ===
*[[onCustomScrollBarScrolled]]
*[[onCustomScrollBarScrolled]]
*[[onCustomDialogClick]]
*[[onCustomDialogClick]]
*[[onCustomWindowClose]]
*[[onCustomWindowClose]]
*[[onCustomComboBoxSelectItem]]
*[[onCustomComboBoxSelectItem]]

Revision as of 17:21, 19 July 2018

Custom Widgets

This methods working for all elements except CustomDialogs and CustomTooltips

Set Functions

Get Functions

Event Functions


Custom Windows

Create Function

Set Functions

Get Functions

Event Functions


Custom Buttons

Create Function

Set Functions

Get Functions


Custom Progress Bars

Create Function

Set Functions

Get Functions


Custom Scroll Bars

Create Function

Set Functions

Get Functions


Custom Edit Boxes

All functions, what has mark CustomEditBox available for CustomEdit, CustomMemo and CustomNumberScroller.

Create Functions

Set Functions

Get Functions

Event Functions


Custom Check Boxes

Create Function

Set Functions

Get Functions


Custom Combo Boxes

Create Function

Set Functions

Get Functions

Event Functions


Custom Tabbed Panels

Create Function

Set Functions

Get Functions

Event Functions


Custom Labels

Create Function

Set Functions

Get Functions


Custom Dialogs

Create Function

Event Functions


Custom Tool Tips

Create Function


Custom Loadings

Create Function

Set Functions

Get Functions


Custom Events