ContextMenuItem.hx 485 B

123456789101112131415161718
  1. package flash;
  2. extern class ContextMenuItem {
  3. function new(caption:String, callb:Dynamic->ContextMenuItem->Void, ?separatorBefore:Bool, ?enabled:Bool, ?visible:Bool) : Void;
  4. function copy() : ContextMenuItem;
  5. dynamic function onSelect( v : Dynamic, c : ContextMenuItem ) : Void;
  6. var enabled:Bool;
  7. var visible:Bool;
  8. var caption:String;
  9. var separatorBefore:Bool;
  10. private static function __init__() : Void untyped {
  11. flash.ContextMenuItem = _global["ContextMenuItem"];
  12. }
  13. }