檢視原始碼 wxAcceleratorEntry (wx v2.4.3)
應用程式用來建立加速鍵表(請參閱 wxAcceleratorTable
)的物件。
請參閱
wxWidgets 文件:wxAcceleratorEntry
摘要
型別
-type wxAcceleratorEntry() :: wx:wx_object().
函式
-spec destroy(This :: wxAcceleratorEntry()) -> ok.
銷毀物件
-spec getCommand(This) -> integer() when This :: wxAcceleratorEntry().
傳回加速鍵表項目的命令識別碼。
-spec getFlags(This) -> integer() when This :: wxAcceleratorEntry().
傳回加速鍵表項目的旗標。
-spec getKeyCode(This) -> integer() when This :: wxAcceleratorEntry().
傳回加速鍵表項目的鍵碼。
-spec new() -> wxAcceleratorEntry().
等同於 new([])
。
-spec new([Option]) -> wxAcceleratorEntry() when Option :: {flags, integer()} | {keyCode, integer()} | {cmd, integer()} | {item, wxMenuItem:wxMenuItem()}; (Entry) -> wxAcceleratorEntry() when Entry :: wxAcceleratorEntry().
複製建構子。
-spec set(This, Flags, KeyCode, Cmd) -> ok when This :: wxAcceleratorEntry(), Flags :: integer(), KeyCode :: integer(), Cmd :: integer().
-spec set(This, Flags, KeyCode, Cmd, [Option]) -> ok when This :: wxAcceleratorEntry(), Flags :: integer(), KeyCode :: integer(), Cmd :: integer(), Option :: {item, wxMenuItem:wxMenuItem()}.
設定加速鍵項目的參數。