class

Doocr::Menuitem

Inherits Reference < Object

Constructors

new(status : Int32 = 0, name : String = "", text : String = "", bool : Pointer(Int32) = Pointer(Int32).null, num : Pointer(Int32) = Pointer(Int32).null, routine : Int32 -> _ = NULL_PROCP1, alpha_key : Char = '\0')
Source

Instance methods

alpha_key

hotkey in menu

Source
alpha_key=(alpha_key : Char)

hotkey in menu

Source
bool
Source
bool=(bool : Pointer(Int32))
Source
name
Source
name=(name : String)
Source
num=(num : Pointer(Int32))
Source
routine

choice = menu item #. if status = 2, choice=0:leftarrow,1:rightarrow

Source
routine=(routine : Proc(LibC::Int, Nil))

choice = menu item #. if status = 2, choice=0:leftarrow,1:rightarrow

Source
status

0 = no cursor here, 1 = ok, 2 = arrows ok

Source
status=(status : Int32)

0 = no cursor here, 1 = ok, 2 = arrows ok

Source
text
Source
text=(text : String)
Source