PyBaseGump
Class Description
Section titled âClass DescriptionâPython API wrapper for Gump (game window) objects in TazUO. Provides safe, thread-marshaled access to gump properties and methods from Python scripts. Inherits all control manipulation methods from PyBaseControl. Used in python API
Properties
Section titled âPropertiesâIsDisposed
Section titled âIsDisposedâType: bool
Gets whether the gump has been disposed and is no longer valid. Returns true if the gump is disposed or no longer exists. Used in python API
PacketGumpText
Section titled âPacketGumpTextâType: string
Gets the original packet text that was used to create this gump. This contains the gump layout and content data sent from the server. Used in python API
CanCloseWithRightClick
Section titled âCanCloseWithRightClickâType: bool
Gets or Sets the ability to close the gump with a right click
Type: Gump
Gets the underlying Gump instance that this wrapper represents. Used internally by the scripting system to access the actual game object.
No fields found.
No enums found.
Methods
Section titled âMethodsâSetInScreen
Section titled âSetInScreenâEnsures the gump is fully visible within the screen boundaries. Adjusts the gumpâs position if it extends beyond the screen edges. Used in python API
Return Type: void (Does not return anything)
CenterYInScreen
Section titled âCenterYInScreenâCenters the gump vertically within the entire screen. This accounts for the full screen dimensions, including all UI elements. Used in python API
Return Type: void (Does not return anything)
CenterXInScreen
Section titled âCenterXInScreenâCenters the gump horizontally within the entire screen. This accounts for the full screen dimensions, including all UI elements. Used in python API
Return Type: void (Does not return anything)