MNGuiFrame class ​
No description available
Functions ​
mnscript
MNGuiFrame.DockBottom()
- Docks the element to the bottom.
mnscript
MNGuiFrame.DockFill()
- Docks the element to fill.
mnscript
MNGuiFrame.DockLeft()
- Docks the element to the left.
mnscript
MNGuiFrame.DockRight()
- Docks the element to the right.
mnscript
MNGuiFrame.DockTop()
- Docks the element to the top.
mnscript
MNGuiPanel MNGuiFrame.GetBanner()
- Returns the frame's banner panel.
mnscript
bool MNGuiFrame.GetEnabled()
- Returns whether the UI element is enabled.
mnscript
MNGuiPanel MNGuiFrame.GetPanel()
- Returns the frame's background panel.
mnscript
MNGuiLabel MNGuiFrame.GetTitle()
- Returns the frame's title label.
- Returns whether the UI element is valid.
mnscript
MNGuiFrame.MakeKiosk()
- Makes the frame into a full-screen application. ONLY WORKS ON KIOSK TERMINALS I.E ATMs or kiosk screens.
mnscript
MNGuiFrame.Minimise()
- Minimises the frame to the home screen.
mnscript
MNGuiFrame.Remove()
- Removes the UI element.
mnscript
MNGuiFrame.SetBackgroundColor(Color)
- Sets the UI element background color.
mnscript
MNGuiFrame.SetDockMargin(number, number, number, number)
- Sets the UI element dock margin.
mnscript
MNGuiFrame.SetEnabled(bool)
- Sets whether the UI element is enabled.
- Sets the height of the UI element.
- Sets the position of the UI element.
mnscript
MNGuiFrame.SetRounded(number)
- Sets the roundedness.
mnscript
MNGuiFrame.SetScalePos(number, number)
- Sets the position of the UI element using a percentage (0-1).
mnscript
MNGuiFrame.SetScaleSize(number, number)
- Sets the size of the UI element using a percentage (0-1).
- Sets the width and height of the UI element.
- Sets the frame's title.
- Sets the width of the UI element.