LNXSDK/Kha/Tools/linux_arm64/std/flash/ui/ContextMenuItem.hx

16 lines
699 B
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package flash.ui;
extern final class ContextMenuItem extends flash.display.NativeMenuItem {
@:flash.property var caption(get,set) : String;
@:flash.property var separatorBefore(get,set) : Bool;
@:flash.property var visible(get,set) : Bool;
function new(caption : String, separatorBefore : Bool = false, enabled : Bool = true, visible : Bool = true) : Void;
function clone() : ContextMenuItem;
private function get_caption() : String;
private function get_separatorBefore() : Bool;
private function get_visible() : Bool;
private function set_caption(value : String) : String;
private function set_separatorBefore(value : Bool) : Bool;
private function set_visible(value : Bool) : Bool;
}