#include <gtk/gtk.h>
#include "gui_dict.h"
Go to the source code of this file.
Functions | |
void | gui_menu_append_item (GtkMenu *menu, char *label, GtkSignalFunc cb, gpointer data) |
appends a new menu item to a menu. More... | |
GtkWidget * | gui_menu_file_new () |
The File menu widget. More... | |
GtkWidget * | gui_menu_dict_new () |
creates a new Dictionary menu. More... | |
GtkWidget * | gui_menu_mini_dict_new () |
Creates a Mini dictionary menu. More... | |
void | gui_menu_to_menubar (GtkMenuBar *bar, char *label, GtkWidget *menu) |
adds a menu to the menubar. More... | |
GtkWidget * | gui_menu_mainmenu_new () |
creates the main menubar. More... |
Definition in file gui_menu.c.
|
appends a new menu item to a menu. the function appends a new item with the specified label and connects a signal with specified user data to the activate event of the menu item if the callback function is not NULL.
Definition at line 19 of file gui_menu.c. Referenced by gui_menu_dict_new(), gui_menu_file_new(), and gui_menu_mini_dict_new(). |
|
creates a new Dictionary menu.
Definition at line 53 of file gui_menu.c. References gui_menu_append_item(). Referenced by gui_menu_mainmenu_new(). |
|
The File menu widget.
Definition at line 36 of file gui_menu.c. References gui_menu_append_item(). Referenced by gui_menu_mainmenu_new(). |
|
creates the main menubar. The menubar contains:
Definition at line 112 of file gui_menu.c. References gui_menu_dict_new(), gui_menu_file_new(), gui_menu_mini_dict_new(), and gui_menu_to_menubar(). Referenced by top_window_new(). |
|
Creates a Mini dictionary menu. Its menu items are (not yet implemented) are:
Definition at line 72 of file gui_menu.c. References gui_menu_append_item(). Referenced by gui_menu_mainmenu_new(). |
|
adds a menu to the menubar.
Definition at line 94 of file gui_menu.c. Referenced by gui_menu_mainmenu_new(). |