Table of Contents

Widget

Methods Properties Base Classes Derived Classes
AddCommandByName Icon safeid32eventobject contextmenuentrycommand
AddDivider Name contextmenuentrydivider
AddEntry contextmenuentrymenu
Constructor
Entries
GetEntry
RemoveEntry

Properties


Icon : string

var Icon : String

Name : string

var Name : String

Methods


AddCommandByName : contextmenuentry

Name Type Description
commandName string
function AddCommandByName(commandName : String) : ContextMenuEntry

AddDivider : contextmenuentry

Name Type Description
function AddDivider() : ContextMenuEntry

AddEntry : contextmenuentry

Adds a new entry with the provided name with an icon if one is provided to this menu entries children. |Name|Type|Description| |---|---|---| |name|string| |

function AddEntry(name : String) : ContextMenuEntry

ContextMenuEntry : Void

constructor

Name Type Description
function ContextMenuEntry()

Entries : contextmenuentrychildrenrange

Name Type Description
function Entries() : ContextMenuEntryChildrenRange

GetEntry : contextmenuentry

Returns the children entry with the provided name if it exists and null otherwise. |Name|Type|Description| |---|---|---| |name|string| |

function GetEntry(name : String) : ContextMenuEntry

RemoveEntry : Void

Remove the entry with the provided name from this menu entries children. |Name|Type|Description| |---|---|---| |name|string| |

function RemoveEntry(name : String)