GUI widgets: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Добавление языков) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
[[Image:AdminGUI.png|thumb|Usage of different the GUI widgets in Admin resource]] | [[Image:AdminGUI.png|thumb|Usage of different the GUI widgets in Admin resource]] | ||
GUI widgets are a very prominent part of client side scripts. They are used when creating a GUI interface for the server. GUI widgets belong to client side scripting only, they cannot be created in server side scripts. To find a tutorial for creating a basic GUI interface see [[Introduction to Scripting the GUI]] page. | GUI widgets are a very prominent part of client side scripts. They are used when creating a GUI interface for the server. GUI widgets belong to client side scripting only, they cannot be created in server side scripts. To find a tutorial for creating a basic GUI interface see [[Introduction to Scripting the GUI]] page. | ||
Line 10: | Line 9: | ||
{{GUI_functions}} | {{GUI_functions}} | ||
[[Category:Scripting Concepts]] | [[Category:Scripting Concepts]] | ||
[[en:GUI widgets]] | |||
[[ru:GUI widgets]] | |||
[[hu:GUI widgets]] |
Latest revision as of 17:30, 14 April 2021
GUI widgets are a very prominent part of client side scripts. They are used when creating a GUI interface for the server. GUI widgets belong to client side scripting only, they cannot be created in server side scripts. To find a tutorial for creating a basic GUI interface see Introduction to Scripting the GUI page.
GUI widgets
- Button
- Checkbox
- Combobox
- Edit field
- Gridlist
- Memo
- Progress bar
- Radio button
- Scrollbar
- Scrollpane
- Static image
- Tab panel
- Tab
- Text label
- Window
Related scripting functions
General functions
- guiBringToFront
- getChatboxLayout
- getChatboxCharacterLimit
- guiCreateFont
- guiBlur
- guiFocus
- guiGetAlpha
- guiGetCursorType
- guiGetEnabled
- guiGetFont
- guiGetInputEnabled
- guiGetInputMode
- guiGetPosition
- guiGetProperties
- guiGetProperty
- guiGetScreenSize
- guiGetSize
- guiGetText
- guiGetVisible
- guiMoveToBack
- guiSetAlpha
- guiSetEnabled
- guiSetFont
- guiSetInputEnabled
- guiSetInputMode
- guiSetPosition
- guiSetProperty
- guiSetSize
- guiSetText
- guiSetVisible
- isChatBoxInputActive
- isConsoleActive
- isDebugViewActive
- isMainMenuActive
- isMTAWindowActive
- isTransferBoxActive
- setChatboxCharacterLimit
- setDebugViewActive
Browsers
Buttons
Checkboxes
Comboboxes
- guiCreateComboBox
- guiComboBoxAddItem
- guiComboBoxClear
- guiComboBoxGetItemCount
- guiComboBoxGetItemText
- guiComboBoxGetSelected
- guiComboBoxIsOpen
- guiComboBoxRemoveItem
- guiComboBoxSetItemText
- guiComboBoxSetOpen
- guiComboBoxSetSelected
Edit Boxes
- guiCreateEdit
- guiEditGetCaretIndex
- guiEditGetMaxLength
- guiEditIsMasked
- guiEditIsReadOnly
- guiEditSetCaretIndex
- guiEditSetMasked
- guiEditSetMaxLength
- guiEditSetReadOnly
Gridlists
- guiCreateGridList
- guiGridListAddColumn
- guiGridListAddRow
- guiGridListAutoSizeColumn
- guiGridListClear
- guiGridListGetColumnCount
- guiGridListGetColumnTitle
- guiGridListGetColumnWidth
- guiGridListGetHorizontalScrollPosition
- guiGridListGetItemColor
- guiGridListGetItemData
- guiGridListGetItemText
- guiGridListGetRowCount
- guiGridListGetSelectedCount
- guiGridListGetSelectedItem
- guiGridListGetSelectedItems
- guiGridListGetSelectionMode
- guiGridListIsSortingEnabled
- guiGridListGetVerticalScrollPosition
- guiGridListInsertRowAfter
- guiGridListRemoveColumn
- guiGridListRemoveRow
- guiGridListSetColumnTitle
- guiGridListSetColumnWidth
- guiGridListSetHorizontalScrollPosition
- guiGridListSetItemColor
- guiGridListSetItemData
- guiGridListSetItemText
- guiGridListSetScrollBars
- guiGridListSetSelectedItem
- guiGridListSetSelectionMode
- guiGridListSetSortingEnabled
- guiGridListSetVerticalScrollPosition
Memos
- guiCreateMemo
- guiMemoGetCaretIndex
- guiMemoGetVerticalScrollPosition
- guiMemoSetVerticalScrollPosition
- guiMemoIsReadOnly
- guiMemoSetCaretIndex
- guiMemoSetReadOnly
Progressbars
Radio Buttons
Scrollbars
Scrollpanes
- guiCreateScrollPane
- guiScrollPaneGetHorizontalScrollPosition
- guiScrollPaneGetVerticalScrollPosition
- guiScrollPaneSetHorizontalScrollPosition
- guiScrollPaneSetScrollBars
- guiScrollPaneSetVerticalScrollPosition
Static Images
Tab Panels
Tabs
Text Labels
- guiCreateLabel
- guiLabelGetColor
- guiLabelGetFontHeight
- guiLabelGetTextExtent
- guiLabelSetColor
- guiLabelSetHorizontalAlign
- guiLabelSetVerticalAlign