Template:GUI functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(31 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
===General functions===
* [[guiBringToFront]]
* [[getChatboxLayout]]
* [[getChatboxLayout]]
* [[guiBringToFront]]
* [[guiCreateFont]]
* [[guiCreateFont]]
{{New items|3.0157|1.5.6|
* [[guiBlur]]
* [[guiFocus]]
|16361}}
* [[guiGetAlpha]]
* [[guiGetAlpha]]
* [[guiGetCursorType]]
* [[guiGetEnabled]]
* [[guiGetEnabled]]
* [[guiGetFont]]
* [[guiGetFont]]
Line 32: Line 38:
* [[isMTAWindowActive]]
* [[isMTAWindowActive]]
* [[isTransferBoxActive]]
* [[isTransferBoxActive]]
* [[setDebugViewActive]]


===网页浏览器=== <!-- Please see the Template:CEF when updating this -->
===Browsers=== <!-- Please see the Template:CEF when updating this -->
* [[guiCreateBrowser]]
* [[guiCreateBrowser]]
* [[guiGetBrowser]]
* [[guiGetBrowser]]


===按钮===
===Buttons===
* [[guiCreateButton]]
* [[guiCreateButton]]


===复选框===
===Checkboxes===
* [[guiCheckBoxGetSelected]]
* [[guiCheckBoxGetSelected]]
* [[guiCheckBoxSetSelected]]
* [[guiCheckBoxSetSelected]]
* [[guiCreateCheckBox]]
* [[guiCreateCheckBox]]


===组合框===
===Comboboxes===
* [[guiCreateComboBox]]
* [[guiCreateComboBox]]
* [[guiComboBoxAddItem]]
* [[guiComboBoxAddItem]]
* [[guiComboBoxClear]]
* [[guiComboBoxClear]]
* [[guiComboBoxGetItemCount]]
* [[guiComboBoxGetItemText]]
* [[guiComboBoxGetItemText]]
* [[guiComboBoxGetSelected]]
* [[guiComboBoxIsOpen]]
* [[guiComboBoxRemoveItem]]
* [[guiComboBoxSetItemText]]
* [[guiComboBoxSetItemText]]
* [[guiComboBoxRemoveItem]]
* [[guiComboBoxSetOpen]]
* [[guiComboBoxGetSelected]]
* [[guiComboBoxSetSelected]]
* [[guiComboBoxSetSelected]]


===编辑框===
===Edit Boxes===
* [[guiCreateEdit]]
* [[guiCreateEdit]]
* [[guiEditGetCaretIndex]]
{{New items|3.0156|1.5.5|
* [[guiEditGetMaxLength]]
* [[guiEditIsMasked]]
|13814}}
{{New items|3.0156|1.5.5|
* [[guiEditIsReadOnly]]
|12419}}
* [[guiEditSetCaretIndex]]
* [[guiEditSetMasked]]
* [[guiEditSetMasked]]
* [[guiEditSetMaxLength]]
* [[guiEditSetMaxLength]]
* [[guiEditSetReadOnly]]
* [[guiEditSetReadOnly]]
* [[guiEditSetCaretIndex]]
 
{{New feature/item|3.0135|1.3.5|6054|
===Gridlists===
* [[guiEditGetCaretIndex]]
}}
===网格列表===
* [[guiCreateGridList]]
* [[guiCreateGridList]]
* [[guiGridListAddColumn]]
* [[guiGridListAddColumn]]
Line 70: Line 86:
* [[guiGridListAutoSizeColumn]]
* [[guiGridListAutoSizeColumn]]
* [[guiGridListClear]]
* [[guiGridListClear]]
* [[guiGridListGetColumnCount]]
* [[guiGridListGetColumnTitle]]
* [[guiGridListGetColumnWidth]]
* [[guiGridListGetHorizontalScrollPosition]]
* [[guiGridListGetItemColor]]
* [[guiGridListGetItemData]]
* [[guiGridListGetItemData]]
* [[guiGridListGetItemText]]
* [[guiGridListGetItemText]]
* [[guiGridListGetRowCount]]
* [[guiGridListGetRowCount]]
* [[guiGridListGetSelectedCount]]
* [[guiGridListGetSelectedItem]]
* [[guiGridListGetSelectedItem]]
* [[guiGridListGetSelectedItems]]
{{New items|3.0157|1.5.6|
* [[guiGridListGetSelectionMode]]
* [[guiGridListIsSortingEnabled]]
|16204}}
* [[guiGridListGetVerticalScrollPosition]]
* [[guiGridListInsertRowAfter]]
* [[guiGridListInsertRowAfter]]
* [[guiGridListRemoveColumn]]
* [[guiGridListRemoveColumn]]
* [[guiGridListRemoveRow]]
* [[guiGridListRemoveRow]]
* [[guiGridListSetColumnTitle]]
* [[guiGridListSetColumnWidth]]
* [[guiGridListSetHorizontalScrollPosition]]
* [[guiGridListSetItemColor]]
* [[guiGridListSetItemData]]
* [[guiGridListSetItemData]]
* [[guiGridListSetItemText]]
* [[guiGridListSetItemText]]
Line 83: Line 115:
* [[guiGridListSetSelectionMode]]
* [[guiGridListSetSelectionMode]]
* [[guiGridListSetSortingEnabled]]
* [[guiGridListSetSortingEnabled]]
* [[guiGridListGetSelectedCount]]
* [[guiGridListGetSelectedItems]]
* [[guiGridListSetColumnWidth]]
* [[guiGridListGetColumnCount]]
* [[guiGridListGetItemColor]]
* [[guiGridListSetItemColor]]
* [[guiGridListGetColumnTitle]]
* [[guiGridListSetColumnTitle]]
* [[guiGridListGetHorizontalScrollPosition]]
* [[guiGridListSetHorizontalScrollPosition]]
* [[guiGridListGetVerticalScrollPosition]]
* [[guiGridListSetVerticalScrollPosition]]
* [[guiGridListSetVerticalScrollPosition]]
{{New feature/item|3.0141|1.4.1|6926|
* [[guiGridListGetColumnWidth]]
}}


===记事本===
===Memos===
* [[guiCreateMemo]]
* [[guiCreateMemo]]
* [[guiMemoGetCaretIndex]]
{{New items|3.0156|1.5.5|
* [[guiMemoGetVerticalScrollPosition]]
* [[guiMemoSetVerticalScrollPosition]]
|13771}}
{{New items|3.0156|1.5.5|
* [[guiMemoIsReadOnly]]
|12419}}
* [[guiMemoSetCaretIndex]]
* [[guiMemoSetReadOnly]]
* [[guiMemoSetReadOnly]]
* [[guiMemoSetCaretIndex]]
{{New feature/item|3.0135|1.3.5|6054|
* [[guiMemoGetCaretIndex]]
}}


===进度条===
===Progressbars===
* [[guiCreateProgressBar]]
* [[guiCreateProgressBar]]
* [[guiProgressBarGetProgress]]
* [[guiProgressBarGetProgress]]
* [[guiProgressBarSetProgress]]
* [[guiProgressBarSetProgress]]


===单选按钮===
===Radio Buttons===
* [[guiCreateRadioButton]]
* [[guiCreateRadioButton]]
* [[guiRadioButtonGetSelected]]
* [[guiRadioButtonGetSelected]]
* [[guiRadioButtonSetSelected]]
* [[guiRadioButtonSetSelected]]


===滚动条===
===Scrollbars===
* [[guiCreateScrollBar]]
* [[guiCreateScrollBar]]
* [[guiScrollBarGetScrollPosition]]
* [[guiScrollBarGetScrollPosition]]
* [[guiScrollBarSetScrollPosition]]
* [[guiScrollBarSetScrollPosition]]


===滚动窗格===
===Scrollpanes===
* [[guiCreateScrollPane]]
* [[guiCreateScrollPane]]
* [[guiScrollPaneGetHorizontalScrollPosition]]
* [[guiScrollPaneGetHorizontalScrollPosition]]
Line 130: Line 153:
* [[guiScrollPaneSetVerticalScrollPosition]]
* [[guiScrollPaneSetVerticalScrollPosition]]


===静态图片===
===Static Images===
* [[guiCreateStaticImage]]
* [[guiCreateStaticImage]]
* [[guiStaticImageGetNativeSize]]
* [[guiStaticImageGetNativeSize]]
* [[guiStaticImageLoadImage]]
* [[guiStaticImageLoadImage]]


===标签面板===
===Tab Panels===
* [[guiCreateTabPanel]]
* [[guiCreateTabPanel]]
* [[guiGetSelectedTab]]
* [[guiGetSelectedTab]]
* [[guiSetSelectedTab]]
* [[guiSetSelectedTab]]


===标签===
===Tabs===
* [[guiCreateTab]]
* [[guiCreateTab]]
* [[guiDeleteTab]]
* [[guiDeleteTab]]


===文字标签===
===Text Labels===
* [[guiCreateLabel]]
* [[guiCreateLabel]]
* [[guiLabelGetColor]]
* [[guiLabelGetFontHeight]]
* [[guiLabelGetFontHeight]]
* [[guiLabelGetTextExtent]]
* [[guiLabelGetTextExtent]]
Line 151: Line 175:
* [[guiLabelSetHorizontalAlign]]
* [[guiLabelSetHorizontalAlign]]
* [[guiLabelSetVerticalAlign]]
* [[guiLabelSetVerticalAlign]]
{{New feature/item|3.0132|1.3.1|4670|
* [[guiLabelGetColor]]
}}


===窗口===
===Windows===
* [[guiCreateWindow]]
* [[guiCreateWindow]]
{{New items|3.0156|1.5.5|
* [[guiWindowIsMovable]]
* [[guiWindowIsSizable]]
|13823}}
* [[guiWindowSetMovable]]
* [[guiWindowSetMovable]]
* [[guiWindowSetSizable]]
* [[guiWindowSetSizable]]
<noinclude>[[Category:Functions templates]]</noinclude>

Revision as of 15:00, 29 May 2019

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows