WinDom: _bind Struct Reference

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Class Hierarchy
- Data Fields

# _bind Struct Reference

`#include <globals.h>`

## Data Fields
short | type
| BIND_VAR, BIND_BIT or BIND_FUNC.
union {
struct {
int * var
| pointer to the variable to modify
int value
| value of var when object is selected
} var
| description for a BIND_VAR type
struct {
int * var
| pointer to the variable to modify
unsigned short bit
| bit of var to set/unset
} bit
| description for a BIND_BIT type
struct {
union {
func_bind form
| callback function attached to a formular object
func_bind tb
| callback function attached to a tool bar object
func_bindmenu menu
| callback function attached to a menu object
} f
| pointer to a callback function
void * data
| data sent to the callback function
} func
| description for a BIND_FUNC type
} | desc
| description of the bind, depend on BIND::type

## Field Documentation

struct { ... } _bind::bit

| description for a BIND_BIT type

unsigned short _bind::bit

| bit of var to set/unset

void* _bind::data

| data sent to the callback function

union { ... } _bind::desc

| description of the bind, depend on BIND::type

union { ... } _bind::f

| pointer to a callback function

func_bind _bind::form

| callback function attached to a formular object

struct { ... } _bind::func

| description for a BIND_FUNC type

func_bindmenu _bind::menu

| callback function attached to a menu object

func_bind _bind::tb

| callback function attached to a tool bar object

short _bind::type

| BIND_VAR, BIND_BIT or BIND_FUNC.

int _bind::value

| value of var when object is selected

int* _bind::var

| pointer to the variable to modify

struct { ... } _bind::var

| description for a BIND_VAR type

int* _bind::var

| pointer to the variable to modify

The documentation for this struct was generated from the following file:

- globals.h