button.h File Reference

Descripes the Button structures, functions and constants. More...

#include "../jnilib.h"
#include "listeners.h"

Include dependency graph for button.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Button_
 A structure for C, which describes the Button. More...
struct  ButtonCPP_
 A structure for C++, which describes the Button. More...
struct  ButtonData
 This structure holds the data needed for the Button for C and C++. More...

Defines

#define CLS_BUTTON   "java/awt/Button"
 Defines the full name of the AWT-Button-Class.
#define createButton   createButtonC
 Defines which function to call when createButton is called.
#define deleteButton   deleteButtonC
 Defines which function to call when deleteButton is called.

Typedefs

typedef Button_ Button
 Defines which structure is used as Button.
typedef Button_ Button_
 A structure for C, which describes the Button.
typedef ButtonCPP_ ButtonCPP_
 A structure for C++, which describes the Button.
typedef ButtonData ButtonData
 This structure holds the data needed for the Button for C and C++.

Functions

void createButtonC (Button_ *button)
 Function is called when working with C and calling the function createButton.
void createButtonCPP (ButtonCPP_ *button)
 Function is called when working with C++ and calling the function createButton.
void deleteButtonC (Button_ *button)
 Function is called when working with C and calling the function deleteButton.
void deleteButtonCPP (ButtonCPP_ *button)
 Function is called when working with C++ and calling the function deleteButton.


Detailed Description

Descripes the Button structures, functions and constants.

A Button is a simple control element with a label. You can push it to cause an event and the application to perform an action.

Author:
Stefan Gruber
Date:
01.02.2005

Definition in file button.h.


Define Documentation

#define CLS_BUTTON   "java/awt/Button"
 

Defines the full name of the AWT-Button-Class.

Definition at line 23 of file button.h.

#define createButton   createButtonC
 

Defines which function to call when createButton is called.

Definition at line 35 of file button.h.

#define deleteButton   deleteButtonC
 

Defines which function to call when deleteButton is called.

Definition at line 36 of file button.h.


Typedef Documentation

typedef struct Button_ Button
 

Defines which structure is used as Button.

Definition at line 34 of file button.h.

typedef struct Button_ Button_
 

A structure for C, which describes the Button.

typedef struct ButtonCPP_ ButtonCPP_
 

A structure for C++, which describes the Button.

typedef struct ButtonData ButtonData
 

This structure holds the data needed for the Button for C and C++.


Function Documentation

void createButtonC Button_ button  ) 
 

Function is called when working with C and calling the function createButton.

It initializes the Button_ structure.

Parameters:
button - A pointer to a Button_ structure.

Definition at line 227 of file button.c.

void createButtonCPP ButtonCPP_ button  ) 
 

Function is called when working with C++ and calling the function createButton.

It initializes the ButtonCPP_ structure.

Parameters:
button - A pointer to a ButtonCPP_ structure.

Definition at line 215 of file button.c.

void deleteButtonC Button_ button  ) 
 

Function is called when working with C and calling the function deleteButton.

Parameters:
button - A pointer to a Button_ structure.

Definition at line 257 of file button.c.

void deleteButtonCPP ButtonCPP_ button  ) 
 

Function is called when working with C++ and calling the function deleteButton.

Parameters:
button - A pointer to a ButtonCPP_ structure.

Definition at line 247 of file button.c.


Generated on Sat Nov 19 14:11:12 2005 for GrubC by  doxygen 1.4.4