Template:GUI functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Fixed inconsistencies for webscraping)
 
(132 intermediate revisions by 37 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
* [[guiGetAlpha]]
===General functions===
* [[guiGetInputEnabled]]
<ul>
* [[guiGetPosition]]
<li>[[guiBringToFront]]</li>
* [[guiGetScreenSize]]
<li>[[getChatboxLayout]]</li>
* [[guiGetSize]]
{{Added feature/item|1.5.9|1.5.8|21476|
* [[guiGetText]]
<li>[[getChatboxCharacterLimit]]</li>
* [[guiGetVisible]]
}}
<li>[[guiCreateFont]]</li>
{{New items|3.0157|1.5.6|
<li>[[guiBlur]]</li>
<li>[[guiFocus]]</li>
|16361}}
<li>[[guiGetAlpha]]</li>
<li>[[guiGetCursorType]]</li>
<li>[[guiGetEnabled]]</li>
<li>[[guiGetFont]]</li>
<li>[[guiGetInputEnabled]]</li>
<li>[[guiGetInputMode]]</li>
<li>[[guiGetPosition]]</li>
<li>[[guiGetProperties]]</li>
<li>[[guiGetProperty]]</li>
<li>[[guiGetScreenSize]]</li>
<li>[[guiGetSize]]</li>
<li>[[guiGetText]]</li>
<li>[[guiGetVisible]]</li>
<li>[[guiMoveToBack]]</li>
<li>[[guiSetAlpha]]</li>
<li>[[guiSetEnabled]]</li>
<li>[[guiSetFont]]</li>
<li>[[guiSetInputEnabled]]</li>
<li>[[guiSetInputMode]]</li>
<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>


* [[guiSetAlpha]]
===Browsers===
* [[guiSetInputEnabled]]
<ul>
* [[guiSetPosition]]
<li>[[guiCreateBrowser]]</li>
* [[guiSetSize]]
<li>[[guiGetBrowser]]</li>
* [[guiSetText]]
</ul>
* [[guiSetVisible]]
 
* [[guiBringToFront]]
* [[guiMoveToBack]]
 
* [[isChatBoxInputActive]]
* [[isConsoleActive]]
* [[isDebugViewActive]]
* [[isMainMenuActive]]
* [[isMTAWindowActive]]
* [[isTransferBoxActive]]
* [[isPlayerMapForced]]
* [[isPlayerMap]]


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


===Checkboxes===
===Checkboxes===
* [[guiCreateCheckBox]]
<ul>
* [[guiCheckBoxGetSelected]]
<li>[[guiCheckBoxGetSelected]]</li>
* [[guiCheckBoxSetSelected]]
<li>[[guiCheckBoxSetSelected]]</li>
<li>[[guiCreateCheckBox]]</li>
</ul>
 
===Comboboxes===
<ul>
<li>[[guiCreateComboBox]]</li>
<li>[[guiComboBoxAddItem]]</li>
<li>[[guiComboBoxClear]]</li>
<li>[[guiComboBoxGetItemCount]]</li>
<li>[[guiComboBoxGetItemText]]</li>
<li>[[guiComboBoxGetSelected]]</li>
<li>[[guiComboBoxIsOpen]]</li>
<li>[[guiComboBoxRemoveItem]]</li>
<li>[[guiComboBoxSetItemText]]</li>
<li>[[guiComboBoxSetOpen]]</li>
<li>[[guiComboBoxSetSelected]]</li>
</ul>


===Edit fields===
===Edit Boxes===
* [[guiCreateEdit]]
<ul>
* [[guiEditSetCaratIndex]]
<li>[[guiCreateEdit]]</li>
* [[guiEditSetMasked]]
<li>[[guiEditGetCaretIndex]]</li>
* [[guiEditSetMaxLength]]
{{New items|3.0156|1.5.5|
* [[guiEditSetReadOnly]]
<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>


===Gridlists===
===Gridlists===
* [[guiCreateGridList]]
<ul>
* [[guiGridListAutoSizeColumn]]
<li>[[guiCreateGridList]]</li>
* [[guiGridListAddColumn]]
<li>[[guiGridListAddColumn]]</li>
* [[guiGridListAddRow]]
<li>[[guiGridListAddRow]]</li>
* [[guiGridListClear]]
<li>[[guiGridListAutoSizeColumn]]</li>
* [[guiGridListGetItemData]]
<li>[[guiGridListClear]]</li>
* [[guiGridListGetItemText]]
<li>[[guiGridListGetColumnCount]]</li>
* [[guiGridListGetSelectedItem]]
<li>[[guiGridListGetColumnTitle]]</li>
* [[guiGridListGetRowCount]]
<li>[[guiGridListGetColumnWidth]]</li>
* [[guiGridListInsertRowAfter]]
<li>[[guiGridListGetHorizontalScrollPosition]]</li>
* [[guiGridListRemoveColumn]]
<li>[[guiGridListGetItemColor]]</li>
* [[guiGridListRemoveRow]]
<li>[[guiGridListGetItemData]]</li>
* [[guiGridListSetScrollBars]]
<li>[[guiGridListGetItemText]]</li>
* [[guiGridListSetSortingEnabled]]
<li>[[guiGridListGetRowCount]]</li>
* [[guiGridListSetItemData]]
<li>[[guiGridListGetSelectedCount]]</li>
* [[guiGridListSetItemText]]
<li>[[guiGridListGetSelectedItem]]</li>
* [[guiGridListSetSelectionMode]]
<li>[[guiGridListGetSelectedItems]]</li>
{{New items|3.0157|1.5.6|
<li>[[guiGridListGetSelectionMode]]</li>
<li>[[guiGridListIsSortingEnabled]]</li>
|16204}}
<li>[[guiGridListGetVerticalScrollPosition]]</li>
<li>[[guiGridListInsertRowAfter]]</li>
<li>[[guiGridListRemoveColumn]]</li>
<li>[[guiGridListRemoveRow]]</li>
<li>[[guiGridListSetColumnTitle]]</li>
<li>[[guiGridListSetColumnWidth]]</li>
<li>[[guiGridListSetHorizontalScrollPosition]]</li>
<li>[[guiGridListSetItemColor]]</li>
<li>[[guiGridListSetItemData]]</li>
<li>[[guiGridListSetItemText]]</li>
<li>[[guiGridListSetScrollBars]]</li>
<li>[[guiGridListSetSelectedItem]]</li>
<li>[[guiGridListSetSelectionMode]]</li>
<li>[[guiGridListSetSortingEnabled]]</li>
<li>[[guiGridListSetVerticalScrollPosition]]</li>
</ul>
 
===Memos===
<ul>
<li>[[guiCreateMemo]]</li>
<li>[[guiMemoGetCaretIndex]]</li>
{{New items|3.0156|1.5.5|
<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>


===Progress bars===
===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>
* [[guiScrollBarSetScrollPosition]]
<li>[[guiCreateScrollBar]]</li>
* [[guiScrollBarGetScrollPosition]]
<li>[[guiScrollBarGetScrollPosition]]</li>
<li>[[guiScrollBarSetScrollPosition]]</li>
</ul>


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


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


===Tab panels===
===Tab Panels===
* [[guiCreateTabPanel]]
<ul>
<li>[[guiCreateTabPanel]]</li>
<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>
* [[guiLabelSetColor]]
<li>[[guiCreateLabel]]</li>
* [[guiLabelSetVerticalAlign]]
<li>[[guiLabelGetColor]]</li>
* [[guiLabelSetHorizontalAlign]]
<li>[[guiLabelGetFontHeight]]</li>
* [[guiLabelGetTextExtent]]
<li>[[guiLabelGetTextExtent]]</li>
* [[guiLabelGetFontHeight]]
<li>[[guiLabelSetColor]]</li>
<li>[[guiLabelSetHorizontalAlign]]</li>
<li>[[guiLabelSetVerticalAlign]]</li>
</ul>


===Windows===
===Windows===
* [[guiCreateWindow]]
<ul>
* [[guiWindowSetCloseButtonEnabled]]
<li>[[guiCreateWindow]]</li>
* [[guiWindowSetMovable]]
{{New items|3.0156|1.5.5|
* [[guiWindowSetSizable]]
<li>[[guiWindowIsMovable]]</li>
* [[guiWindowSetTitleBarEnabled]]
<li>[[guiWindowIsSizable]]</li>
|13823}}
<li>[[guiWindowSetMovable]]</li>
<li>[[guiWindowSetSizable]]</li>
</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