Template:CWSFUNCS: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 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:setSideBarLength]]
*[[CustomWindow:setSideBarPosition]]
*[[CustomWindow:setSideBarPosition]]
*[[CustomWindow:setMinimalWidth]]
*[[CustomWindow:setMinimalHeight]]
*[[CustomWindow:setMinimalSize]]
*[[CustomWindow:setMaximalWidth]]
*[[CustomWindow:setMaximalHeight]]
*[[CustomWindow:setMaximalSize]]


==== Get Functions ====
==== Get Functions ====
Line 42: Line 57:
*[[CustomWindow:getText]]
*[[CustomWindow:getText]]
*[[CustomWindow:getMovable]]
*[[CustomWindow:getMovable]]
*[[CustomWindow:getSizable]]
*[[CustomWindow:getCloseEnabled]]
*[[CustomWindow:getCloseEnabled]]
*[[CustomWindow:getSideBarLength]]
*[[CustomWindow:getSideBarLength]]
*[[CustomWindow:getSideBarPosition]]
*[[CustomWindow:getSideBarPosition]]
*[[CustomWindow:getFrame]]
*[[CustomWindow:getMinimalWidth]]
*[[CustomWindow:getHeader]]
*[[CustomWindow:getMinimalHeight]]
*[[CustomWindow:getDialog]]
*[[CustomWindow:getMinimalSize]]
*[[CustomWindow:getMaximalWidth]]
*[[CustomWindow:getMaximalHeight]]
*[[CustomWindow:getMaximalSize]]


==== Event Functions ====
==== Event Functions ====
Line 56: Line 75:
*[[CustomWindow:showDialog]]
*[[CustomWindow:showDialog]]
*[[CustomWindow:showBar]]
*[[CustomWindow:showBar]]
*[[CustomWindow:getMainElement]]
*[[CustomWindow:getHeader]]
*[[CustomWindow:getDialog]]




Line 70: Line 92:
*[[CustomButton:getText]]
*[[CustomButton:getText]]
*[[CustomButton:getImage]]
*[[CustomButton:getImage]]
*[[CustomButton:getFrame]]
 
==== Event Functions ====
*[[CustomButton:getMainElement]]




Line 83: Line 107:
==== Get Functions ====
==== Get Functions ====
*[[CustomProgressBar:getProgress]]
*[[CustomProgressBar:getProgress]]
*[[CustomProgressBar:getFrame]]
 
==== Event Functions ====
*[[CustomProgressBar:getMainElement]]




Line 153: Line 179:
*[[CustomCheckBox:getText]]
*[[CustomCheckBox:getText]]
*[[CustomCheckBox:getChecked]]
*[[CustomCheckBox:getChecked]]
*[[CustomCheckBox:getFrame]]
 
==== Event Functions ====
*[[CustomCheckBox:getMainElement]]




Line 172: Line 200:
*[[CustomComboBox:getItemsCount]]
*[[CustomComboBox:getItemsCount]]
*[[CustomComboBox:getItems]]
*[[CustomComboBox:getItems]]
*[[CustomComboBox:getFrame]]


==== Event Functions ====
==== Event Functions ====
Line 178: Line 205:
*[[CustomComboBox:removeItem]]
*[[CustomComboBox:removeItem]]
*[[CustomComboBox:clear]]
*[[CustomComboBox:clear]]
*[[CustomComboBox:getMainElement]]




Line 200: Line 228:
*[[CustomTabPanel:getTabsMinLength]]
*[[CustomTabPanel:getTabsMinLength]]
*[[CustomTabPanel:getTabHeader]]
*[[CustomTabPanel:getTabHeader]]
*[[CustomTabPanel:getFrame]]


==== Event Functions ====
==== Event Functions ====
*[[CustomTabPanel:addTab]]
*[[CustomTabPanel:addTab]]
*[[CustomTabPanel:removeTab]]
*[[CustomTabPanel:removeTab]]
*[[CustomTabPanel:clearTabs]]
*[[CustomTabPanel:getMainElement]]




Line 220: Line 249:
*[[CustomLabel:setHorizontalAlign]]
*[[CustomLabel:setHorizontalAlign]]
*[[CustomLabel:setAlign]]
*[[CustomLabel:setAlign]]
*[[CustomLabel:setFont]]
*[[CustomLabel:setFontSize]]


==== Get Functions ====
==== Get Functions ====
Line 228: Line 255:
*[[CustomLabel:getVerticalAlign]]
*[[CustomLabel:getVerticalAlign]]
*[[CustomLabel:getHorizontalAlign]]
*[[CustomLabel:getHorizontalAlign]]
*[[CustomLabel:getFont]]
*[[CustomLabel:getFontSize]]
*[[CustomLabel:isSchematicalColor]]
*[[CustomLabel:isSchematicalColor]]
*[[CustomLabel:isHoverable]]
*[[CustomLabel:isHoverable]]


==== Event Functions ====
==== Event Functions ====
*[[CustomLabel:getFrame]]
*[[CustomLabel:getMainElement]]
*[[CustomLabel:addElement]]
*[[CustomLabel:addElement]]
*[[CustomLabel:removeElement]]
*[[CustomLabel:removeElement]]
Line 256: Line 281:
==== Set Function ====
==== Set Function ====
*[[CustomTooltip:setShowTime]]
*[[CustomTooltip:setShowTime]]
*[[CustomTooltip:setText]]


==== Get Function ====
==== Get Function ====
*[[CustomTooltip:getShowTime]]
*[[CustomTooltip:getShowTime]]
*[[CustomTooltip:getText]]




Line 287: Line 314:
*[[CustomScrollPane:setHorizontalScrollInversed]]
*[[CustomScrollPane:setHorizontalScrollInversed]]
*[[CustomScrollPane:setHorizontalScrolling]]
*[[CustomScrollPane:setHorizontalScrolling]]
*[[CustomScrollPane:setScrollingWithCursor]]
*[[CustomScrollPane:setScrollingWithWheel]]
*[[CustomScrollPane:addVerticalPixelScrollPosition]]
*[[CustomScrollPane:addHorizontalPixelScrollPosition]]


==== Get Functions ====
==== Get Functions ====
Line 295: Line 326:
*[[CustomScrollPane:isHorizontalScrollInversed]]
*[[CustomScrollPane:isHorizontalScrollInversed]]
*[[CustomScrollPane:isHorizontalScrolling]]
*[[CustomScrollPane:isHorizontalScrolling]]
*[[CustomScrollPane:getScrollingWithCursor]]
*[[CustomScrollPane:getScrollingWithWheel]]


==== Event Functions ====
==== Event Functions ====
*[[CustomScrollPane:getFrame]]
*[[CustomScrollPane:getMainElement]]
*[[CustomScrollPane:addElement]]
*[[CustomScrollPane:addElement]]
*[[CustomScrollPane:removeElement]]
*[[CustomScrollPane:removeElement]]
Line 316: Line 349:
*[[CustomTableView:setColumnTitle]]
*[[CustomTableView:setColumnTitle]]
*[[CustomTableView:setCellText]]
*[[CustomTableView:setCellText]]
*[[CustomTableView:setShadowsEnabled]]


==== Get Functions ====
==== Get Functions ====
Line 328: Line 362:
*[[CustomTableView:getLinesCount]]
*[[CustomTableView:getLinesCount]]
*[[CustomTableView:getColumnsCount]]
*[[CustomTableView:getColumnsCount]]
*[[CustomTableView:getShadowsEnabled]]


==== Event Functions ====
==== Event Functions ====
Line 336: Line 371:
*[[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

Get Functions

Event Functions


Custom Windows

Create Function

Set Functions

Get Functions

Event Functions


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

Get Functions

Event Functions


Custom Check Boxes

Create Function

Set Functions

Get Functions

Event 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

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

Get Functions

Event Functions


Custom Table Views

Create Function

Set Functions

Get Functions

Event Functions


Custom Static Images

Create Function

Set Function

Get Function

Event Functions


Custom Text Boxes

Create Function

Set Function

Get Function


Custom Events


Other about Custom Widgets