Grasshopper API
GH_DocumentObjectMenu_AppendItem Method (ToolStrip, String) |
Utility function for appending generic menu items.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static ToolStripMenuItem Menu_AppendItem( ToolStrip menu, string text )
Public Shared Function Menu_AppendItem ( menu As ToolStrip, text As String ) As ToolStripMenuItem
Parameters
- menu
- Type: System.Windows.FormsToolStrip
Menu to append item to. - text
- Type: SystemString
Item text.
Return Value
Type: ToolStripMenuItemThe appended item
