mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
Data Structures | Macros | Enumerations | Variables
mButtonGroup

Data Structures

struct  _mButtonNode
 the list node include member button More...
 
struct  mButtonGroup
 A group control, mamanger a list of buttons, in which only one button can be selected. Derived from mGroupBox. More...
 
struct  mButtonGroupClass
 struct of mButtonGroupClass control, derived from mGroupBoxClass More...
 
struct  mButtonGroupRenderer
 mButtonGroup renderer interface, derived from mGroupBoxRenderer More...
 

Macros

#define NCSCTRL_BUTTONGROUP   NCSCLASSNAME("buttongroup")
 name of buttongroup control More...
 

Enumerations

Variables

MGNCS_EXPORT mButtonGroupClass g_stmButtonGroupCls
 global mButtonGroupClass More...
 

Detailed Description

Macro Definition Documentation

#define NCSCTRL_BUTTONGROUP   NCSCLASSNAME("buttongroup")

name of buttongroup control

Definition at line 58 of file mbuttongroup.h.

Enumeration Type Documentation

notification code of mButtonGroup

Enumerator
NCSN_BTNGRP_SELCHANGED 

raised when the current button changed

Parameters
theid of new selected button
See also
NCSP_BTNGRP_SELID

Definition at line 192 of file mbuttongroup.h.

properties of mButtonGroup

Enumerator
NCSP_BTNGRP_SELID 

get/set selected id of button

NCSP_BTNGRP_SELIDX 

set/set selected index

  • Type: idx
  • Read Write
  • Change the state of buttons
See also
NCSP_BTNGRP_SELID, NCSP_BTNGRP_SELOBJ
NCSP_BTNGRP_SELOBJ 

set/get selected object

Definition at line 157 of file mbuttongroup.h.

Variable Documentation

g_stmButtonGroupCls