#include "menu.h"
#include "component.h"
Include dependency graph for menu.c:
Go to the source code of this file.
Functions | |
void | addMenuMenuItem (Menu *menu, jobject menuitem) |
Adds a MenuItem to the Menu. | |
void | addMenuSeparator (Menu *menu) |
Sets the Help Menu of the Menu. | |
void | createMenu_ (Menu *menu) |
Creates the Menu by getting the Java Menu-Class, the method ids and createing a new Java Menu-Object. | |
void | createMenuC (Menu_ *menu) |
Function is called when working with C and calling the function createMenu. | |
void | createMenuCPP (MenuCPP_ *menu) |
Function is called when working with C++ and calling the function createMenu. | |
void | deleteMenu_ (Menu *menu) |
Deletes the Menu by deleting the global references. | |
void | deleteMenuC (Menu_ *menu) |
Function is called when working with C and calling the function deleteMenu. | |
void | deleteMenuCPP (MenuCPP_ *menu) |
Function is called when working with C++ and calling the function deleteMenu. | |
jint | getMenuItemCount (Menu *menu) |
Gets the number of items of the Menu. | |
char * | getMenuLabel (Menu *menu) |
Gets the label of the Menu. | |
jobject | getMenuObject (Menu *menu) |
Gets the reference to the java menu object. | |
void | initMenu_ (Menu_ *menu) |
Initializes the Menu_ structure by setting the function pointers. | |
void | removeMenuAll (Menu *menu) |
Removes all MenuItems from the Menu. | |
void | removeMenuMenuItem (Menu *menu, jobject menuitem) |
Removes a MenuItem from the Menu. | |
void | setMenuLabel (Menu *menu, const char *label) |
Sets the label of the Menu. |
A Menu can hold different MenuItems and is placed on a MenuBar.
Definition in file menu.c.
|
Adds a MenuItem to the Menu.
|
|
Sets the Help Menu of the Menu.
|
|
Creates the Menu by getting the Java Menu-Class, the method ids and createing a new Java Menu-Object.
|
|
Function is called when working with C and calling the function createMenu. It initializes the Menu_ structure.
|
|
Function is called when working with C++ and calling the function createMenu. It initializes the MenuCPP_ structure.
|
|
Deletes the Menu by deleting the global references.
|
|
Function is called when working with C and calling the function deleteMenu.
|
|
Function is called when working with C++ and calling the function deleteMenu.
|
|
Gets the number of items of the Menu.
|
|
Gets the label of the Menu.
|
|
Gets the reference to the java menu object.
|
|
Initializes the Menu_ structure by setting the function pointers.
|
|
Removes all MenuItems from the Menu.
|
|
Removes a MenuItem from the Menu.
|
|
Sets the label of the Menu.
|