Data type
DockWidgetPluginGuiInfo
Describes details for a DockWidgetPluginGui.
About DockWidgetPluginGuiInfo
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 1
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.
Properties 6
InitialEnabled
: boolThe enabled state of thePluginGuiif it does not have a saved state from a previous session.The initial enabled state of a
PluginGuicreated using thisDockWidgetPluginGuiInfo. If aPluginGuiwith the same ''pluginGuiId'' has previously been created in an earlier session of Roblox Studio, then it will reload that saved enabled state (unlessInitialEnabledShouldOverrideRestoreis true).InitialEnabledShouldOverrideRestore
: boolIf true, will override any saved enabled state with theInitialEnabledvalue.If true, the value of
InitialEnabledwill override the previously saved enabled state of aPluginGuibeing created with thisDockWidgetPluginGuiInfo. The previously saved enabled state is loaded based on thepluginGuiIdargument ofPlugin.CreateDockWidgetPluginGuiAsync.FloatingXSize
: numberThe initial pixel width of the PluginGui when floating.The initial pixel width of a
PluginGuicreated using thisDockWidgetPluginGuiInfo, when theInitialDockStateis set toFloat.FloatingYSize
: numberThe initial pixel height of the PluginGui when floating.The initial pixel height of a
PluginGuicreated using thisDockWidgetPluginGuiInfo, when theInitialDockStateis set toFloat.MinWidth
: numberThe minimum pixel width of the PluginGui.The minimum width of a
PluginGuicreated using thisDockWidgetPluginGuiInfo, 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
: numberThe minimum pixel height of the PluginGui.The minimum height of a
PluginGuicreated using thisDockWidgetPluginGuiInfo, in pixels.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.