version 2.8
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

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

Field Documentation

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

The size of the bottom border (mandatory)

Definition at line 137 of file gwin_class.h.

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

The size of the left border (mandatory)

Definition at line 134 of file gwin_class.h.

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

Notification that a child has been added (optional)

Definition at line 138 of file gwin_class.h.

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

Notification that a child has been deleted (optional)

Definition at line 139 of file gwin_class.h.

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

The size of the right border (mandatory)

Definition at line 136 of file gwin_class.h.

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

The size of the top border (mandatory)

Definition at line 135 of file gwin_class.h.