Context Menu

Options and examples

QT.RegisterContextIndex(data)
menu_id : unique menu identifier, it will be used for opening specified menu 
back : returning to specific menu with unique ( optional )
header : Title of the menu ( optional )
options : Table that contains sub-tables with optional values = 
   title; -- # string ( optional )
   description; -- # string ( optional )
   icon; -- # -- # string  ( optional )  #loading from font awesome library (newest version)# 
   arrow; -- # boolean  ( optional )
   event; -- # string  ( optional )  #for client events# 
   serverEvent; -- # string  ( optional )   #for server events#
   args; -- # table or one value to send data to the triggered event ( optional )

QT.RemoveContext()

QT.ShowContext('some_menu')

Last updated