CreateToolbar (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Aboy5643 Made Page |
>JulienDethurens No edit summary |
||
Line 2: | Line 2: | ||
<onlyinclude>{{Method|name = CreateToolbar | <onlyinclude>{{Method|name = CreateToolbar | ||
|returns = Toolbar | |returns = [[RBX.lua.Toolbar (Object)|Toolbar]] | ||
|description = Returns a new [[Toolbar]]. | |description = Returns a new [[RBX.lua.Toolbar (Object)|Toolbar]]. | ||
|object = Plugin | |object = Plugin | ||
|arguments = [[ | |arguments = [[string]] <var>name</var> | ||
}}</onlyinclude> | }}</onlyinclude> | ||
Line 12: | Line 12: | ||
{{Example| | {{Example| | ||
< | This code creates a toolbar with the name "ExampleToolbar": | ||
local | <code lua> | ||
local Plugin = PluginManager():CreatePlugin() | |||
local Toolbar = Plugin:CreateToolbar(" | local Toolbar = Plugin:CreateToolbar("ExampleToolbar") | ||
</ | </code> | ||
}} | }} | ||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 23:24, 31 January 2012
CreateToolbar
CreateToolbar( string name ) | |
Returns | Toolbar |
Description: | Returns a new Toolbar. |
Member of: | Plugin |
Example
{{{1}}}