MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
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

#define CTRL_GRIDVIEW   "gridview"

The class name of gridview control.

Definition at line 71 of file gridview.h.

#define GRID_ERR   (-1)

Gridview return value.

Definition at line 86 of file gridview.h.

#define GRID_OKAY   0

Gridview return value.

Definition at line 80 of file gridview.h.

#define GV_HALIGN_CENTER   0x00000003

Column text horizontal center align

Definition at line 107 of file gridview.h.

#define GV_HALIGN_LEFT   0x00000001

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

Definition at line 103 of file gridview.h.

#define GV_HALIGN_MASK   0x0000000F

Mask of horizontal align type

Definition at line 116 of file gridview.h.

#define GV_HALIGN_RIGHT   0x00000002

Column text horizontal right align

Definition at line 105 of file gridview.h.

#define GV_TYPE_CHECKBOX   0x00000300

The checkbox type of the cell

Definition at line 128 of file gridview.h.

#define GV_TYPE_HEADER   0x00000500

The cell type of the row header or column header

Definition at line 132 of file gridview.h.

#define GV_TYPE_MASK   0x0000FF00

Mask of grid cell type

Definition at line 137 of file gridview.h.

#define GV_TYPE_NUMBER   0x00000200

The digit type of the cell

Definition at line 126 of file gridview.h.

#define GV_TYPE_SELECTION   0x00000400

The type of the cell having selection

Definition at line 130 of file gridview.h.

#define GV_TYPE_TABLEHEADER   0x00000600

The cell type of the cell

Definition at line 134 of file gridview.h.

#define GV_TYPE_TEXT   0x00000100

The text type of the cell

Definition at line 124 of file gridview.h.

#define GV_TYPE_UNKNOWN   0x00000000

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

Definition at line 122 of file gridview.h.

#define GV_VALIGN_BOTTOM   0x00000020

Column text vertical bottom align

Definition at line 111 of file gridview.h.

#define GV_VALIGN_CENTER   0x00000030

Column text vertical center align

Definition at line 113 of file gridview.h.

#define GV_VALIGN_MASK   0x000000F0

Mask of vertical align type

Definition at line 119 of file gridview.h.

#define GV_VALIGN_TOP   0x00000010

Column text vertical top align

Definition at line 109 of file gridview.h.

#define GVS_BOXCHECKED   0x00400000

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

Definition at line 149 of file gridview.h.

#define GVS_MULTLINE   0x00100000

A style of the cell, which text is multiple line

Definition at line 145 of file gridview.h.

#define GVS_READONLY   0x00200000

A status of the cell, which is read only

Definition at line 147 of file gridview.h.

#define GVS_WITHCHECKBOX   0x00020000

A style of the cell, which contains a checkbox

Definition at line 142 of file gridview.h.

#define GVS_WITHICON   0x00010000

A style of the cell, which has a icon bitmap

Definition at line 140 of file gridview.h.

Typedef Documentation

typedef struct _GRIDCELLDATA GRIDCELLDATA

Struct of the cell

Struct of the checkbox type cell

Struct of the header type cell

Struct of the number type cell

Struct of the selection type cell

Struct of the text type cell

typedef struct _GRIDCELLS GRIDCELLS

Struct of the selected cell(s)

typedef struct _GRIDVIEWDATA GRIDVIEWDATA

Struct of the whole grid control