µGFX  2.9
version 2.9
gcontainerVMT Struct Reference

Detailed Description

The Virtual Method Table for a container.

Note
A container must have a destroy function. Either use _gcontainerDestroy() or use your own function which internally calls _gcontainerDestroy().
A container must have a gwin redraw function. Use _containerRedraw().
If toggleroles != 0, ToggleAssign(), ToggleGet() and one or both of ToggleOff() and ToggleOn() must be specified.
If dialroles != 0, DialAssign(), DialGet() and DialMove() must be specified.

Definition at line 132 of file gwin_class.h.

#include <gwin_class.h>

Data Fields

gCoord(* LeftBorder )(GHandle gh)
 
gCoord(* TopBorder )(GHandle gh)
 
gCoord(* RightBorder )(GHandle gh)
 
gCoord(* BottomBorder )(GHandle gh)
 
void(* NotifyAdd )(GHandle gh, GHandle ghChild)
 
void(* NotifyDelete )(GHandle gh, GHandle ghChild)
 

Field Documentation

◆ BottomBorder

gCoord(* gcontainerVMT::BottomBorder) (GHandle gh)

The size of the bottom border (mandatory)

Definition at line 137 of file gwin_class.h.

◆ LeftBorder

gCoord(* gcontainerVMT::LeftBorder) (GHandle gh)

The size of the left border (mandatory)

Definition at line 134 of file gwin_class.h.

◆ NotifyAdd

void(* gcontainerVMT::NotifyAdd) (GHandle gh, GHandle ghChild)

Notification that a child has been added (optional)

Definition at line 138 of file gwin_class.h.

◆ NotifyDelete

void(* gcontainerVMT::NotifyDelete) (GHandle gh, GHandle ghChild)

Notification that a child has been deleted (optional)

Definition at line 139 of file gwin_class.h.

◆ RightBorder

gCoord(* gcontainerVMT::RightBorder) (GHandle gh)

The size of the right border (mandatory)

Definition at line 136 of file gwin_class.h.

◆ TopBorder

gCoord(* gcontainerVMT::TopBorder) (GHandle gh)

The size of the top border (mandatory)

Definition at line 135 of file gwin_class.h.