menubar.h File Reference

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

#include "../jnilib.h"
#include "menu.h"

Include dependency graph for menubar.h:

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

Go to the source code of this file.

Data Structures

struct  MenuBar_
 A structure for C, which describes the MenuBar. More...
struct  MenuBarCPP_
 A structure for C++, which describes the MenuBar. More...
struct  MenuBarData
 This structure holds the data needed for the MenuBar for C and C++. More...

Defines

#define CLS_MENUBAR   "java/awt/MenuBar"
 Defines the full name of the AWT-MenuBar-Class.
#define createMenuBar   createMenuBarC
 Defines which function to call when createMenuBar is called.
#define deleteMenuBar   deleteMenuBarC
 Defines which function to call when deleteMenuBar is called.

Typedefs

typedef MenuBar_ MenuBar
 Defines which structure is used as MenuBar.
typedef MenuBar_ MenuBar_
 A structure for C, which describes the MenuBar.
typedef MenuBarCPP_ MenuBarCPP_
 A structure for C++, which describes the MenuBar.
typedef MenuBarData MenuBarData
 This structure holds the data needed for the MenuBar for C and C++.

Functions

void createMenuBarC (MenuBar_ *menubar)
 Function is called when working with C and calling the function createMenuBar.
void createMenuBarCPP (MenuBarCPP_ *menubar)
 Function is called when working with C++ and calling the function createMenuBar.
void deleteMenuBarC (MenuBar_ *menubar)
 Function is called when working with C and calling the function deleteMenuBar.
void deleteMenuBarCPP (MenuBarCPP_ *menubar)
 Function is called when working with C++ and calling the function deleteMenuBar.


Detailed Description

Descripes the MenuBar structures, functions and constants.

A MenuBar is placed on a Frame and displays all its Menus.

Author:
Stefan Gruber
Date:
03.02.2005

Definition in file menubar.h.


Define Documentation

#define CLS_MENUBAR   "java/awt/MenuBar"
 

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

Definition at line 21 of file menubar.h.

#define createMenuBar   createMenuBarC
 

Defines which function to call when createMenuBar is called.

Definition at line 33 of file menubar.h.

#define deleteMenuBar   deleteMenuBarC
 

Defines which function to call when deleteMenuBar is called.

Definition at line 34 of file menubar.h.


Typedef Documentation

typedef struct MenuBar_ MenuBar
 

Defines which structure is used as MenuBar.

Definition at line 32 of file menubar.h.

typedef struct MenuBar_ MenuBar_
 

A structure for C, which describes the MenuBar.

typedef struct MenuBarCPP_ MenuBarCPP_
 

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

typedef struct MenuBarData MenuBarData
 

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


Function Documentation

void createMenuBarC MenuBar_ menubar  ) 
 

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

It initializes the MenuBar_ structure.

Parameters:
menubar - A pointer to a MenuBar_ structure.

Definition at line 127 of file menubar.c.

void createMenuBarCPP MenuBarCPP_ menubar  ) 
 

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

It initializes the MenuBarCPP_ structure.

Parameters:
menubar - A pointer to a MenuBarCPP_ structure.

Definition at line 115 of file menubar.c.

void deleteMenuBarC MenuBar_ menubar  ) 
 

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

Parameters:
menubar - A pointer to a MenuBar_ structure.

Definition at line 157 of file menubar.c.

void deleteMenuBarCPP MenuBarCPP_ menubar  ) 
 

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

Parameters:
menubar - A pointer to a MenuBarCPP_ structure.

Definition at line 147 of file menubar.c.


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