#include <guiMenuBarCtrl_ScriptBinding.h>
Inherits GuiControl.
|
void | setArrowProfile (GuiControlProfile p) |
|
void | setBackgroundProfile (GuiControlProfile p) |
|
void | setMenuActive ("string menuName, bool isActive") |
|
void | setMenuContentProfile (GuiControlProfile p) |
|
void | setMenuItemProfile (GuiControlProfile p) |
|
void | setMenuProfile (GuiControlProfile p) |
|
void | setThumbProfile (GuiControlProfile p) |
|
void | setTrackProfile (GuiControlProfile p) |
|
void | addGuiControl (int controlId) |
|
Integer | findHitControl (int x, int y) |
|
String | getCenter () |
|
String | getExtent (...) |
|
String | getGlobalCenter () |
|
String | getGlobalPosition () |
|
String | getMinExtent () |
|
Integer | getParent () |
|
String | getPosition () |
|
String | getText () |
|
Boolean | getTextExtend () |
|
Boolean | getTextWrap () |
|
String | getValue () |
|
Boolean | isActive () |
|
Boolean | isAwake () |
|
Boolean | isVisible () |
|
void | makeFirstResponder (isFirst) |
|
void | performClick () |
|
Boolean | pointInControl (int x, int y) |
|
void | reorderChild (child1, child2) |
|
void | resize (int x, int y, int w, int h) |
|
void | setActive (isActive) |
|
void | setCanSave (bool canSave) |
|
void | setCenter (int x, int y) |
|
void | setExtent (int width, int height) |
|
void | setFirstResponder () |
|
void | setPosition (int x, int y) |
|
void | setPositionGlobal (int x, int y) |
|
void | setProfile (GuiControlProfile p) |
|
void | setText (text) |
|
void | setTextExtend (setting) |
|
void | setTextID (id) |
|
void | setTextWrap (setting) |
|
void | setValue (value) |
|
void | setVisible (isVisible) |
|
◆ setArrowProfile()
void setArrowProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used ArrowProfile for the GuiControl
- Parameters
-
p | The ArrowProfile is applied to the arrow buttons of the scrollbar if you turn them on. |
- Returns
- No return value
◆ setBackgroundProfile()
void setBackgroundProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used BackgroundProfile for the GuiControl
- Parameters
-
p | The BackgroundProfile applies to the the entire screen behind the open menu. |
- Returns
- No return value
◆ setMenuActive()
void setMenuActive |
( |
"string |
menuName, |
|
|
bool isActive" |
|
|
) |
| |
Sets a menu item to active or inactive based on a name.
- Parameters
-
menuName | The name of the menu that should be enabled or disabled. If multiple menu items have the same name they will all be enabled or disabled. Case sensative. |
isActive | True if the menu should be enabled. False if it is disabled. |
- Returns
- No return value.
◆ setMenuContentProfile()
void setMenuContentProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used MenuContentProfile for the GuiControl
- Parameters
-
p | The MenuContentProfile is applied the menu box that opens. |
- Returns
- No return value
◆ setMenuItemProfile()
void setMenuItemProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used MenuItemProfile for the GuiControl
- Parameters
-
p | The MenuItemProfile is applied to each menu item. |
- Returns
- No return value
◆ setMenuProfile()
void setMenuProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used MenuProfile for the GuiControl
- Parameters
-
p | The MenuProfile is applied to each top level menu item. |
- Returns
- No return value
◆ setThumbProfile()
void setThumbProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used ThumbProfile for the GuiControl
- Parameters
-
p | The ThumbProfile is applied to the thumb of the scrollbar. |
- Returns
- No return value
◆ setTrackProfile()
void setTrackProfile |
( |
GuiControlProfile |
p | ) |
|
Sets the currently used TrackProfile for the GuiControl
- Parameters
-
p | The TrackProfile is applied to the track area used by the scroll thumb. |
- Returns
- No return value