Template:GUI functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (typo)
m (Fixed inconsistencies for webscraping)
 
(40 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
* [[getChatboxLayout]]
===General functions===
* [[guiBringToFront]]
<ul>
* [[guiCreateFont]]
<li>[[guiBringToFront]]</li>
* [[guiGetAlpha]]
<li>[[getChatboxLayout]]</li>
* [[guiGetEnabled]]
{{Added feature/item|1.5.9|1.5.8|21476|
* [[guiGetFont]]
<li>[[getChatboxCharacterLimit]]</li>
* [[guiGetInputEnabled]]
}}
* [[guiGetInputMode]]
<li>[[guiCreateFont]]</li>
* [[guiGetPosition]]
{{New items|3.0157|1.5.6|
* [[guiGetProperties]]
<li>[[guiBlur]]</li>
* [[guiGetProperty]]
<li>[[guiFocus]]</li>
* [[guiGetScreenSize]]
|16361}}
* [[guiGetSize]]
<li>[[guiGetAlpha]]</li>
* [[guiGetText]]
<li>[[guiGetCursorType]]</li>
* [[guiGetVisible]]
<li>[[guiGetEnabled]]</li>
* [[guiMoveToBack]]
<li>[[guiGetFont]]</li>
* [[guiSetAlpha]]
<li>[[guiGetInputEnabled]]</li>
* [[guiSetEnabled]]
<li>[[guiGetInputMode]]</li>
* [[guiSetFont]]
<li>[[guiGetPosition]]</li>
* [[guiSetInputEnabled]]
<li>[[guiGetProperties]]</li>
* [[guiSetInputMode]]
<li>[[guiGetProperty]]</li>
* [[guiSetPosition]]
<li>[[guiGetScreenSize]]</li>
* [[guiSetProperty]]
<li>[[guiGetSize]]</li>
* [[guiSetSize]]
<li>[[guiGetText]]</li>
* [[guiSetText]]
<li>[[guiGetVisible]]</li>
* [[guiSetVisible]]
<li>[[guiMoveToBack]]</li>
* [[isChatBoxInputActive]]
<li>[[guiSetAlpha]]</li>
* [[isConsoleActive]]
<li>[[guiSetEnabled]]</li>
* [[isDebugViewActive]]
<li>[[guiSetFont]]</li>
* [[isMainMenuActive]]
<li>[[guiSetInputEnabled]]</li>
* [[isMTAWindowActive]]
<li>[[guiSetInputMode]]</li>
* [[isTransferBoxActive]]
<li>[[guiSetPosition]]</li>
<li>[[guiSetProperty]]</li>
<li>[[guiSetSize]]</li>
<li>[[guiSetText]]</li>
<li>[[guiSetVisible]]</li>
<li>[[isChatBoxInputActive]]</li>
<li>[[isConsoleActive]]</li>
<li>[[isDebugViewActive]]</li>
<li>[[isMainMenuActive]]</li>
<li>[[isMTAWindowActive]]</li>
<li>[[isTransferBoxActive]]</li>
{{Added feature/item|1.5.9|1.5.8|21476|
<li>[[setChatboxCharacterLimit]]</li>
}}
<li>[[setDebugViewActive]]</li>
</ul>
 
===Browsers===
<ul>
<li>[[guiCreateBrowser]]</li>
<li>[[guiGetBrowser]]</li>
</ul>


===Buttons===
===Buttons===
* [[guiCreateButton]]
<ul>
<li>[[guiCreateButton]]</li>
</ul>


===Checkboxes===
===Checkboxes===
* [[guiCheckBoxGetSelected]]
<ul>
* [[guiCheckBoxSetSelected]]
<li>[[guiCheckBoxGetSelected]]</li>
* [[guiCreateCheckBox]]
<li>[[guiCheckBoxSetSelected]]</li>
<li>[[guiCreateCheckBox]]</li>
</ul>


===Comboboxes===
===Comboboxes===
* [[guiCreateComboBox]]
<ul>
* [[guiComboBoxAddItem]]
<li>[[guiCreateComboBox]]</li>
* [[guiComboBoxClear]]
<li>[[guiComboBoxAddItem]]</li>
* [[guiComboBoxGetItemText]]
<li>[[guiComboBoxClear]]</li>
* [[guiComboBoxSetItemText]]
<li>[[guiComboBoxGetItemCount]]</li>
* [[guiComboBoxRemoveItem]]
<li>[[guiComboBoxGetItemText]]</li>
* [[guiComboBoxGetSelected]]
<li>[[guiComboBoxGetSelected]]</li>
* [[guiComboBoxSetSelected]]
<li>[[guiComboBoxIsOpen]]</li>
<li>[[guiComboBoxRemoveItem]]</li>
<li>[[guiComboBoxSetItemText]]</li>
<li>[[guiComboBoxSetOpen]]</li>
<li>[[guiComboBoxSetSelected]]</li>
</ul>
 
===Edit Boxes===
<ul>
<li>[[guiCreateEdit]]</li>
<li>[[guiEditGetCaretIndex]]</li>
{{New items|3.0156|1.5.5|
<li>[[guiEditGetMaxLength]]</li>
<li>[[guiEditIsMasked]]</li>
|13814}}
{{New items|3.0156|1.5.5|
<li>[[guiEditIsReadOnly]]</li>
|12419}}
<li>[[guiEditSetCaretIndex]]</li>
<li>[[guiEditSetMasked]]</li>
<li>[[guiEditSetMaxLength]]</li>
<li>[[guiEditSetReadOnly]]</li>
</ul>


===Edit Fields===
* [[guiCreateEdit]]
* [[guiEditSetMasked]]
* [[guiEditSetMaxLength]]
* [[guiEditSetReadOnly]]
* [[guiEditSetCaretIndex]]
{{New feature/item|3.0135|1.3.5|6054|
* [[guiEditGetCaretIndex]]
}}
===Gridlists===
===Gridlists===
* [[guiCreateGridList]]
<ul>
* [[guiGridListAddColumn]]
<li>[[guiCreateGridList]]</li>
* [[guiGridListAddRow]]
<li>[[guiGridListAddColumn]]</li>
* [[guiGridListAutoSizeColumn]]
<li>[[guiGridListAddRow]]</li>
* [[guiGridListClear]]
<li>[[guiGridListAutoSizeColumn]]</li>
* [[guiGridListGetItemData]]
<li>[[guiGridListClear]]</li>
* [[guiGridListGetItemText]]
<li>[[guiGridListGetColumnCount]]</li>
* [[guiGridListGetRowCount]]
<li>[[guiGridListGetColumnTitle]]</li>
* [[guiGridListGetSelectedItem]]
<li>[[guiGridListGetColumnWidth]]</li>
* [[guiGridListInsertRowAfter]]
<li>[[guiGridListGetHorizontalScrollPosition]]</li>
* [[guiGridListRemoveColumn]]
<li>[[guiGridListGetItemColor]]</li>
* [[guiGridListRemoveRow]]
<li>[[guiGridListGetItemData]]</li>
* [[guiGridListSetItemData]]
<li>[[guiGridListGetItemText]]</li>
* [[guiGridListSetItemText]]
<li>[[guiGridListGetRowCount]]</li>
* [[guiGridListSetScrollBars]]
<li>[[guiGridListGetSelectedCount]]</li>
* [[guiGridListSetSelectedItem]]
<li>[[guiGridListGetSelectedItem]]</li>
* [[guiGridListSetSelectionMode]]
<li>[[guiGridListGetSelectedItems]]</li>
* [[guiGridListSetSortingEnabled]]
{{New items|3.0157|1.5.6|
* [[guiGridListGetSelectedCount]]
<li>[[guiGridListGetSelectionMode]]</li>
* [[guiGridListGetSelectedItems]]
<li>[[guiGridListIsSortingEnabled]]</li>
* [[guiGridListSetColumnWidth]]
|16204}}
* [[guiGridListGetColumnCount]]
<li>[[guiGridListGetVerticalScrollPosition]]</li>
* [[guiGridListGetItemColor]]
<li>[[guiGridListInsertRowAfter]]</li>
* [[guiGridListSetItemColor]]
<li>[[guiGridListRemoveColumn]]</li>
* [[guiGridListGetColumnTitle]]
<li>[[guiGridListRemoveRow]]</li>
* [[guiGridListSetColumnTitle]]
<li>[[guiGridListSetColumnTitle]]</li>
* [[guiGridListGetHorizontalScrollPosition]]
<li>[[guiGridListSetColumnWidth]]</li>
* [[guiGridListSetHorizontalScrollPosition]]
<li>[[guiGridListSetHorizontalScrollPosition]]</li>
* [[guiGridListGetVerticalScrollPosition]]
<li>[[guiGridListSetItemColor]]</li>
* [[guiGridListSetVerticalScrollPosition]]
<li>[[guiGridListSetItemData]]</li>
{{New feature/item|3.0141|1.4.1|6926|
<li>[[guiGridListSetItemText]]</li>
* [[guiGridListGetColumnWidth]]
<li>[[guiGridListSetScrollBars]]</li>
}}
<li>[[guiGridListSetSelectedItem]]</li>
<li>[[guiGridListSetSelectionMode]]</li>
<li>[[guiGridListSetSortingEnabled]]</li>
<li>[[guiGridListSetVerticalScrollPosition]]</li>
</ul>


===Memos===
===Memos===
* [[guiCreateMemo]]
<ul>
* [[guiMemoSetReadOnly]]
<li>[[guiCreateMemo]]</li>
* [[guiMemoSetCaretIndex]]
<li>[[guiMemoGetCaretIndex]]</li>
{{New feature/item|3.0135|1.3.5|6054|
{{New items|3.0156|1.5.5|
* [[guiMemoGetCaretIndex]]
<li>[[guiMemoGetVerticalScrollPosition]]</li>
}}
<li>[[guiMemoSetVerticalScrollPosition]]</li>
|13771}}
{{New items|3.0156|1.5.5|
<li>[[guiMemoIsReadOnly]]</li>
|12419}}
<li>[[guiMemoSetCaretIndex]]</li>
<li>[[guiMemoSetReadOnly]]</li>
</ul>


===Progressbars===
===Progressbars===
* [[guiCreateProgressBar]]
<ul>
* [[guiProgressBarGetProgress]]
<li>[[guiCreateProgressBar]]</li>
* [[guiProgressBarSetProgress]]
<li>[[guiProgressBarGetProgress]]</li>
<li>[[guiProgressBarSetProgress]]</li>
</ul>


===Radio Buttons===
===Radio Buttons===
* [[guiCreateRadioButton]]
<ul>
* [[guiRadioButtonGetSelected]]
<li>[[guiCreateRadioButton]]</li>
* [[guiRadioButtonSetSelected]]
<li>[[guiRadioButtonGetSelected]]</li>
<li>[[guiRadioButtonSetSelected]]</li>
</ul>


===Scrollbars===
===Scrollbars===
* [[guiCreateScrollBar]]
<ul>
* [[guiScrollBarGetScrollPosition]]
<li>[[guiCreateScrollBar]]</li>
* [[guiScrollBarSetScrollPosition]]
<li>[[guiScrollBarGetScrollPosition]]</li>
<li>[[guiScrollBarSetScrollPosition]]</li>
</ul>


===Scrollpanes===
===Scrollpanes===
* [[guiCreateScrollPane]]
<ul>
* [[guiScrollPaneGetHorizontalScrollPosition]]
<li>[[guiCreateScrollPane]]</li>
* [[guiScrollPaneGetVerticalScrollPosition]]
<li>[[guiScrollPaneGetHorizontalScrollPosition]]</li>
* [[guiScrollPaneSetHorizontalScrollPosition]]
<li>[[guiScrollPaneGetVerticalScrollPosition]]</li>
* [[guiScrollPaneSetScrollBars]]
<li>[[guiScrollPaneSetHorizontalScrollPosition]]</li>
* [[guiScrollPaneSetVerticalScrollPosition]]
<li>[[guiScrollPaneSetScrollBars]]</li>
<li>[[guiScrollPaneSetVerticalScrollPosition]]</li>
</ul>


===Static Images===
===Static Images===
* [[guiCreateStaticImage]]
<ul>
* [[guiStaticImageGetNativeSize]]
<li>[[guiCreateStaticImage]]</li>
* [[guiStaticImageLoadImage]]
<li>[[guiStaticImageGetNativeSize]]</li>
<li>[[guiStaticImageLoadImage]]</li>
</ul>


===Tab Panels===
===Tab Panels===
* [[guiCreateTabPanel]]
<ul>
* [[guiGetSelectedTab]]
<li>[[guiCreateTabPanel]]</li>
* [[guiSetSelectedTab]]
<li>[[guiGetSelectedTab]]</li>
<li>[[guiSetSelectedTab]]</li>
</ul>


===Tabs===
===Tabs===
* [[guiCreateTab]]
<ul>
* [[guiDeleteTab]]
<li>[[guiCreateTab]]</li>
<li>[[guiDeleteTab]]</li>
</ul>


===Text Labels===
===Text Labels===
* [[guiCreateLabel]]
<ul>
* [[guiLabelGetFontHeight]]
<li>[[guiCreateLabel]]</li>
* [[guiLabelGetTextExtent]]
<li>[[guiLabelGetColor]]</li>
* [[guiLabelSetColor]]
<li>[[guiLabelGetFontHeight]]</li>
* [[guiLabelSetHorizontalAlign]]
<li>[[guiLabelGetTextExtent]]</li>
* [[guiLabelSetVerticalAlign]]
<li>[[guiLabelSetColor]]</li>
{{New feature/item|3.0132|1.3.1|4670|
<li>[[guiLabelSetHorizontalAlign]]</li>
* [[guiLabelGetColor]]
<li>[[guiLabelSetVerticalAlign]]</li>
}}
</ul>


===Windows===
===Windows===
* [[guiCreateWindow]]
<ul>
* [[guiWindowSetMovable]]
<li>[[guiCreateWindow]]</li>
* [[guiWindowSetSizable]]
{{New items|3.0156|1.5.5|
 
<li>[[guiWindowIsMovable]]</li>
===Webbrowser===
<li>[[guiWindowIsSizable]]</li>
* [[guiCreateBrowser]]
|13823}}
* [[guiGetBrowser]]
<li>[[guiWindowSetMovable]]</li>
 
<li>[[guiWindowSetSizable]]</li>
<noinclude>[[Category:Functions templates]]</noinclude>
</ul>

Latest revision as of 13:13, 7 August 2023

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows