Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxGridCellBoolEditor (3erl)

Name

wxGridCellBoolEditor - Functions for wxGridCellBoolEditor class

Synopsis

Please see following description for synopsis

Description

wxGridCellBoolEditor(3)    Erlang Module Definition    wxGridCellBoolEditor(3)



NAME
       wxGridCellBoolEditor - Functions for wxGridCellBoolEditor class

DESCRIPTION
       Grid cell editor for boolean data.

       See:  wxGridCellEditor, wxGridCellAutoWrapStringEditor (not implemented
       in wx), wxGridCellChoiceEditor, wxGridCellEnumEditor  (not  implemented
       in wx), wxGridCellFloatEditor, wxGridCellNumberEditor, wxGridCellTextE-
       ditor, wxGridCellDateEditor (not implemented in wx)

       This class is derived (and can use functions) from: wxGridCellEditor

       wxWidgets docs: wxGridCellBoolEditor

DATA TYPES
       wxGridCellBoolEditor() = wx:wx_object()

EXPORTS
       new() -> wxGridCellBoolEditor()

              Default constructor.

       isTrueValue(Value) -> boolean()

              Types:

                 Value = unicode:chardata()

              Returns true if the given value is equal to the string represen-
              tation  of  the  truth value we currently use (see useStringVal-
              ues/1).

       useStringValues() -> ok

       useStringValues(Options :: [Option]) -> ok

              Types:

                 Option =
                     {valueTrue, unicode:chardata()} |
                     {valueFalse, unicode:chardata()}

              This method allows you  to  customize  the  values  returned  by
              wxGridCellNumberEditor:getValue/1  for  the cell using this edi-
              tor.

              By default, the default values of the arguments are  used,  i.e.
              "1"  is returned if the cell is checked and an empty string oth-
              erwise.

       destroy(This :: wxGridCellBoolEditor()) -> ok

              Destroys the object.



wxWidgets team.                    wx 2.1.1            wxGridCellBoolEditor(3)