aboutsummaryrefslogtreecommitdiff
path: root/module/appmenu.h
blob: e02f68c7b730454b75d13d5a93b60eaaa702fc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _APPMENU_H_
#define _APPMENU_H_

#include <gtk/gtk.h>

typedef struct _AppMenu
{
	GtkMenu *menu;
	GtkMenuItem *about_item;
	GtkMenuItem *prefs_item;
	GtkMenuItem *sep1_item;
	GtkMenuItem *quit_item;
} AppMenu;

GtkWidget * topmenu_appmenu_build(AppMenu *appmenu);

void topmenu_appmenu_scan_for_items(AppMenu *self, GtkMenuShell *menu_shell);

void topmenu_appmenu_destroy(AppMenu *self);

#endif