Skip to content

DockWidgetPluginGuiInfo

Not yet Datatype

Describes details for a DockWidgetPluginGui.

Not implemented in Nova

This datatype is not registered in Nova's Lua VM. Constructing or receiving it from an API call will not work.

Description

The DockWidgetPluginGuiInfo data type describes details for a DockWidgetPluginGui. This data type is used when constructing a PluginGui via the plugin's Plugin.CreateDockWidgetPluginGuiAsync() method.

Constructors

new Not yet Returns a new DockWidgetPluginGuiInfo object.
DockWidgetPluginGuiInfo.new(InitialDockState: InitialDockState = Enum.InitialDockState.Right, InitialEnabled: bool = False, InitialEnabledShouldOverrideRestore: bool = False, FloatingXSize: number = 0, FloatingYSize: number = 0, MinWidth: number = 0, MinHeight: number = 0)

Returns a new DockWidgetPluginGuiInfo object.

The main constructor function for the DockWidgetPluginGuiInfo.

Properties

InitialEnabled Not yet The enabled state of the PluginGui if it does not have a saved state from a previous session.
DockWidgetPluginGuiInfo.InitialEnabled()

The enabled state of the PluginGui if it does not have a saved state from a previous session.

The initial enabled state of a PluginGui created using this DockWidgetPluginGuiInfo. If a PluginGui with the same ''pluginGuiId'' has previously been created in an earlier session of Roblox Studio, then it will reload that saved enabled state (unless InitialEnabledShouldOverrideRestore is true).

InitialEnabledShouldOverrideRestore Not yet If true, will override any saved enabled state with the InitialEnabled value.
DockWidgetPluginGuiInfo.InitialEnabledShouldOverrideRestore()

If true, will override any saved enabled state with the InitialEnabled value.

If true, the value of InitialEnabled will override the previously saved enabled state of a PluginGui being created with this DockWidgetPluginGuiInfo. The previously saved enabled state is loaded based on the pluginGuiId argument of Plugin.CreateDockWidgetPluginGuiAsync().

FloatingXSize Not yet The initial pixel width of the PluginGui when floating.
DockWidgetPluginGuiInfo.FloatingXSize()

The initial pixel width of the PluginGui when floating.

The initial pixel width of a PluginGui created using this DockWidgetPluginGuiInfo, when the InitialDockState is set to Float.

FloatingYSize Not yet The initial pixel height of the PluginGui when floating.
DockWidgetPluginGuiInfo.FloatingYSize()

The initial pixel height of the PluginGui when floating.

The initial pixel height of a PluginGui created using this DockWidgetPluginGuiInfo, when the InitialDockState is set to Float.

MinWidth Not yet The minimum pixel width of the PluginGui.
DockWidgetPluginGuiInfo.MinWidth()

The minimum pixel width of the PluginGui.

The minimum width of a PluginGui created using this DockWidgetPluginGuiInfo, in pixels.

Each platform has its own absolute minimum that Roblox will enforce. These variations exist to account for the contents of the title bar (which varies by platform) when the widget is floating. For example, on a Mac, the width can never be less than ~80 pixels to accommodate the close/minimize/maximize buttons.

MinHeight Not yet The minimum pixel height of the PluginGui.
DockWidgetPluginGuiInfo.MinHeight()

The minimum pixel height of the PluginGui.

The minimum height of a PluginGui created using this DockWidgetPluginGuiInfo, in pixels.

Roblox reference: DockWidgetPluginGuiInfo