檢視原始碼 wxGridCellNumberEditor (wx v2.4.3)

用於數值整數資料的網格單元格編輯器。

請參閱

這個類別繼承自以下類別,並可使用其函式:

wxWidgets 文件:wxGridCellNumberEditor

摘要

函式

銷毀物件

傳回編輯器控制項中目前的值。

等同於 new([])

允許您指定可接受資料的範圍。

參數字串格式為 "min,max"。

類型

連結到此類型

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()}.

允許您指定可接受資料的範圍。

對於 minmax 都等於 -1 的值,表示不應執行範圍檢查。

連結到此函式

setParameters(This, Params)

檢視原始碼
-spec setParameters(This, Params) -> ok
                       when This :: wxGridCellNumberEditor(), Params :: unicode:chardata().

參數字串格式為 "min,max"。