Gooey GUI Library
Loading...
Searching...
No Matches
gooey_menu.h
Go to the documentation of this file.
1
11
#ifndef GOOEY_MENU_H
12
#define GOOEY_MENU_H
13
14
#include "common/gooey_common.h"
15
24
GooeyMenu *
GooeyMenu_Set
(GooeyWindow *win);
25
35
GooeyMenuChild *
GooeyMenu_AddChild
(GooeyWindow *win,
char
*title);
36
44
void
GooeyMenuChild_AddElement
(GooeyMenuChild *child,
char
*title,
void
(*callback)());
45
46
47
#endif
// GOOEY_MENU_H
GooeyMenu_AddChild
GooeyMenuChild * GooeyMenu_AddChild(GooeyWindow *win, char *title)
Adds a child menu item to the window's menu.
GooeyMenuChild_AddElement
void GooeyMenuChild_AddElement(GooeyMenuChild *child, char *title, void(*callback)())
Adds an element (option) to a menu child.
GooeyMenu_Set
GooeyMenu * GooeyMenu_Set(GooeyWindow *win)
Sets the menu for the specified Gooey window.
include
widgets
gooey_menu.h
Generated by
1.9.8