檢視原始碼 wxGridCellNumberEditor (wx v2.4.3)
用於數值整數資料的網格單元格編輯器。
請參閱
這個類別繼承自以下類別,並可使用其函式:
wxWidgets 文件:wxGridCellNumberEditor
摘要
類型
-type wxGridCellNumberEditor() :: wx:wx_object().
函式
-spec destroy(This :: wxGridCellNumberEditor()) -> ok.
銷毀物件
-spec getValue(This) -> unicode:charlist() when This :: wxGridCellNumberEditor().
傳回編輯器控制項中目前的值。
-spec new() -> wxGridCellNumberEditor().
等同於 new([])
。
-spec new([Option]) -> wxGridCellNumberEditor() when Option :: {min, integer()} | {max, integer()}.
允許您指定可接受資料的範圍。
對於 min
和 max
都等於 -1 的值,表示不應執行範圍檢查。
-spec setParameters(This, Params) -> ok when This :: wxGridCellNumberEditor(), Params :: unicode:chardata().
參數字串格式為 "min,max"。