blob: f1eb164ff2cea9cd3e1e87683f8eb6c9618b0737 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/** \file
* \brief IUP Menu Class
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUP_MENU_H
#define __IUP_MENU_H
#ifdef __cplusplus
extern "C" {
#endif
/* Shows a popup menu in the given position.
* Must return IUP_ERROR or IUP_NOERROR.
* Called only from IupPopup.
*/
int iupMenuPopup(Ihandle* ih, int x, int y);
int iupdrvMenuPopup(Ihandle* ih, int x, int y);
void iupdrvSeparatorInitClass(Iclass* ic);
void iupdrvItemInitClass(Iclass* ic);
void iupdrvMenuInitClass(Iclass* ic);
void iupdrvSubmenuInitClass(Iclass* ic);
char* iupMenuProcessTitle(Ihandle* ih, const char* title);
int iupMenuGetChildId(Ihandle* ih);
char* iupMenuGetChildIdStr(Ihandle* ih);
int iupMenuIsMenuBar(Ihandle* ih);
#ifdef __cplusplus
}
#endif
#endif
|