MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Modules | Data Structures | Macros | Typedefs
GridView control

Modules

 Messages of grid control
 
 Notification code of Grid control
 

Data Structures

struct  _GRIDVIEWDATA
 
struct  _GRIDCELLS
 
struct  _GRIDCELLDATAHEADER
 
struct  _GRIDCELLDATATEXT
 
struct  _GRIDCELLDATANUMBER
 
struct  _GRIDCELLDATACHECKBOX
 
struct  _GRIDCELLDATASELECTION
 
struct  _GRIDCELLDATA
 

Macros

#define CTRL_GRIDVIEW   "gridview"
 The class name of gridview control. More...
 
#define GRID_OKAY   0
 Gridview return value. More...
 
#define GRID_ERR   (-1)
 Gridview return value. More...
 
#define GV_HALIGN_LEFT   0x00000001
 
#define GV_HALIGN_RIGHT   0x00000002
 
#define GV_HALIGN_CENTER   0x00000003
 
#define GV_VALIGN_TOP   0x00000010
 
#define GV_VALIGN_BOTTOM   0x00000020
 
#define GV_VALIGN_CENTER   0x00000030
 
#define GV_HALIGN_MASK   0x0000000F
 
#define GV_VALIGN_MASK   0x000000F0
 
#define GV_TYPE_UNKNOWN   0x00000000
 
#define GV_TYPE_TEXT   0x00000100
 
#define GV_TYPE_NUMBER   0x00000200
 
#define GV_TYPE_CHECKBOX   0x00000300
 
#define GV_TYPE_SELECTION   0x00000400
 
#define GV_TYPE_HEADER   0x00000500
 
#define GV_TYPE_TABLEHEADER   0x00000600
 
#define GV_TYPE_MASK   0x0000FF00
 
#define GVS_WITHICON   0x00010000
 
#define GVS_WITHCHECKBOX   0x00020000
 
#define GVS_MULTLINE   0x00100000
 
#define GVS_READONLY   0x00200000
 
#define GVS_BOXCHECKED   0x00400000
 

Typedefs

typedef struct _GRIDVIEWDATA GRIDVIEWDATA
 
typedef struct _GRIDCELLS GRIDCELLS
 
typedef struct _GRIDCELLDATAHEADER GRIDCELLDATAHEADER
 
typedef struct _GRIDCELLDATATEXT GRIDCELLDATATEXT
 
typedef struct _GRIDCELLDATANUMBER GRIDCELLDATANUMBER
 
typedef struct _GRIDCELLDATACHECKBOX GRIDCELLDATACHECKBOX
 
typedef struct _GRIDCELLDATASELECTION GRIDCELLDATASELECTION
 
typedef struct _GRIDCELLDATA GRIDCELLDATA
 

Detailed Description

Macro Definition Documentation

◆ CTRL_GRIDVIEW

#define CTRL_GRIDVIEW   "gridview"

The class name of gridview control.

Definition at line 83 of file gridview.h.

◆ GRID_ERR

#define GRID_ERR   (-1)

Gridview return value.

Definition at line 98 of file gridview.h.

◆ GRID_OKAY

#define GRID_OKAY   0

Gridview return value.

Definition at line 92 of file gridview.h.

◆ GV_HALIGN_CENTER

#define GV_HALIGN_CENTER   0x00000003

Column text horizontal center align

Definition at line 119 of file gridview.h.

◆ GV_HALIGN_LEFT

#define GV_HALIGN_LEFT   0x00000001

The alignment of the cell Column text horizontal left align, default

Definition at line 115 of file gridview.h.

◆ GV_HALIGN_MASK

#define GV_HALIGN_MASK   0x0000000F

Mask of horizontal align type

Definition at line 128 of file gridview.h.

◆ GV_HALIGN_RIGHT

#define GV_HALIGN_RIGHT   0x00000002

Column text horizontal right align

Definition at line 117 of file gridview.h.

◆ GV_TYPE_CHECKBOX

#define GV_TYPE_CHECKBOX   0x00000300

The checkbox type of the cell

Definition at line 140 of file gridview.h.

◆ GV_TYPE_HEADER

#define GV_TYPE_HEADER   0x00000500

The cell type of the row header or column header

Definition at line 144 of file gridview.h.

◆ GV_TYPE_MASK

#define GV_TYPE_MASK   0x0000FF00

Mask of grid cell type

Definition at line 149 of file gridview.h.

◆ GV_TYPE_NUMBER

#define GV_TYPE_NUMBER   0x00000200

The digit type of the cell

Definition at line 138 of file gridview.h.

◆ GV_TYPE_SELECTION

#define GV_TYPE_SELECTION   0x00000400

The type of the cell having selection

Definition at line 142 of file gridview.h.

◆ GV_TYPE_TABLEHEADER

#define GV_TYPE_TABLEHEADER   0x00000600

The cell type of the cell

Definition at line 146 of file gridview.h.

◆ GV_TYPE_TEXT

#define GV_TYPE_TEXT   0x00000100

The text type of the cell

Definition at line 136 of file gridview.h.

◆ GV_TYPE_UNKNOWN

#define GV_TYPE_UNKNOWN   0x00000000

The type of the unknown cell, use unknow type to query cell type

Definition at line 134 of file gridview.h.

◆ GV_VALIGN_BOTTOM

#define GV_VALIGN_BOTTOM   0x00000020

Column text vertical bottom align

Definition at line 123 of file gridview.h.

◆ GV_VALIGN_CENTER

#define GV_VALIGN_CENTER   0x00000030

Column text vertical center align

Definition at line 125 of file gridview.h.

◆ GV_VALIGN_MASK

#define GV_VALIGN_MASK   0x000000F0

Mask of vertical align type

Definition at line 131 of file gridview.h.

◆ GV_VALIGN_TOP

#define GV_VALIGN_TOP   0x00000010

Column text vertical top align

Definition at line 121 of file gridview.h.

◆ GVS_BOXCHECKED

#define GVS_BOXCHECKED   0x00400000

A status of the cell which has a checkbox and the checkbox is checked

Definition at line 161 of file gridview.h.

◆ GVS_MULTLINE

#define GVS_MULTLINE   0x00100000

A style of the cell, which text is multiple line

Definition at line 157 of file gridview.h.

◆ GVS_READONLY

#define GVS_READONLY   0x00200000

A status of the cell, which is read only

Definition at line 159 of file gridview.h.

◆ GVS_WITHCHECKBOX

#define GVS_WITHCHECKBOX   0x00020000

A style of the cell, which contains a checkbox

Definition at line 154 of file gridview.h.

◆ GVS_WITHICON

#define GVS_WITHICON   0x00010000

A style of the cell, which has a icon bitmap

Definition at line 152 of file gridview.h.

Typedef Documentation

◆ GRIDCELLDATA

typedef struct _GRIDCELLDATA GRIDCELLDATA

Struct of the cell

◆ GRIDCELLDATACHECKBOX

Struct of the checkbox type cell

◆ GRIDCELLDATAHEADER

Struct of the header type cell

◆ GRIDCELLDATANUMBER

Struct of the number type cell

◆ GRIDCELLDATASELECTION

Struct of the selection type cell

◆ GRIDCELLDATATEXT

Struct of the text type cell

◆ GRIDCELLS

typedef struct _GRIDCELLS GRIDCELLS

Struct of the selected cell(s)

◆ GRIDVIEWDATA

typedef struct _GRIDVIEWDATA GRIDVIEWDATA

Struct of the whole grid control