gui.appendMenuSeparator

Adds a horizontal line to the end of a menu.

Prototype

  1. hMenuItem = gui.appendMenuSeparator ( hMenu, [sSeparatorIdentifier=nil] )

Parameters

hMenu - handle to the menu
sSeparatorIdentifier - default nil, you can set an identifier string if you want though


Return values

hMenuItem - handle to the separator


Sample

  1. if ( not ( bInsertOneAtLeast ) and bAddSeparator ) then
  2. gui.appendMenuSeparator ( hOpenWithMenu )
  3. end

Available since ShiVa 2.0