NetSurf
|
#include <gtk/gtk.h>
Go to the source code of this file.
Data Structures | |
struct | nsgtk_file_menu |
File menu item on menubar. More... | |
struct | nsgtk_edit_menu |
struct | nsgtk_view_menu |
struct | nsgtk_nav_menu |
struct | nsgtk_tools_menu |
struct | nsgtk_help_menu |
struct | nsgtk_export_submenu |
struct | nsgtk_scaleview_submenu |
struct | nsgtk_tabs_submenu |
struct | nsgtk_toolbars_submenu |
struct | nsgtk_developer_submenu |
struct | nsgtk_bar_submenu |
main menubar More... | |
struct | nsgtk_burger_menu |
struct | nsgtk_popup_menu |
struct | nsgtk_link_menu |
Functions | |
struct nsgtk_bar_submenu * | nsgtk_menu_bar_create (GtkMenuShell *menubar, GtkAccelGroup *group) |
Create main menubar menu. More... | |
struct nsgtk_burger_menu * | nsgtk_burger_menu_create (GtkAccelGroup *group) |
Generate burger menu. More... | |
struct nsgtk_popup_menu * | nsgtk_popup_menu_create (GtkAccelGroup *group) |
Generate right click popup menu. More... | |
struct nsgtk_link_menu * | nsgtk_link_menu_create (GtkAccelGroup *group) |
Generate context sensitive link popup menu. More... | |
nserror | nsgtk_menu_bar_destroy (struct nsgtk_bar_submenu *menu) |
destroy bar menu More... | |
nserror | nsgtk_burger_menu_destroy (struct nsgtk_burger_menu *menu) |
destroy burger menu More... | |
nserror | nsgtk_popup_menu_destroy (struct nsgtk_popup_menu *menu) |
destroy popup menu More... | |
nserror | nsgtk_link_menu_destroy (struct nsgtk_link_menu *menu) |
destroy link menu More... | |
struct nsgtk_burger_menu * nsgtk_burger_menu_create | ( | GtkAccelGroup * | group | ) |
Generate burger menu.
accelerator | group to use with menu |
Definition at line 522 of file menu.c.
References IMAGE_ITEM, NEW_MENU, SET_SUBMENU, and view.
Referenced by create_scaffolding_burger_menu().
nserror nsgtk_burger_menu_destroy | ( | struct nsgtk_burger_menu * | menu | ) |
destroy burger menu
destroys the gtk widgets associated with menu and frees all storage.
menu | menu to destroy |
Definition at line 623 of file menu.c.
References nsgtk_burger_menu::burger_menu, nsgtk_tools_menu::developer_submenu, nsgtk_burger_menu::edit_submenu, nsgtk_file_menu::export_submenu, nsgtk_burger_menu::file_submenu, nsgtk_burger_menu::help_submenu, nsgtk_burger_menu::nav_submenu, NSERROR_OK, nsgtk_view_menu::scaleview_submenu, nsgtk_view_menu::tabs_submenu, nsgtk_view_menu::toolbars_submenu, nsgtk_burger_menu::tools_submenu, and nsgtk_burger_menu::view_submenu.
Referenced by scaffolding_window_destroy().
struct nsgtk_link_menu * nsgtk_link_menu_create | ( | GtkAccelGroup * | group | ) |
Generate context sensitive link popup menu.
accelerator | group to use with menu |
Definition at line 582 of file menu.c.
References ADD_SEP, IMAGE_ITEM, and NEW_MENU.
Referenced by create_scaffolding_link_menu().
nserror nsgtk_link_menu_destroy | ( | struct nsgtk_link_menu * | menu | ) |
destroy link menu
destroys the gtk widgets associated with menu and frees all storage.
menu | menu to destroy |
Definition at line 659 of file menu.c.
References nsgtk_link_menu::link_menu, and NSERROR_OK.
Referenced by scaffolding_window_destroy().
struct nsgtk_bar_submenu * nsgtk_menu_bar_create | ( | GtkMenuShell * | menubar, |
GtkAccelGroup * | group | ||
) |
Create main menubar menu.
Create main menubar menu.
Generate the main menu structure and attach it to a menubar widget.
Definition at line 488 of file menu.c.
References ATTACH_PARENT, nsgtk_bar_submenu::bar_menu, nsgtk_edit_menu::edit, nsgtk_bar_submenu::edit_submenu, nsgtk_file_menu::file, nsgtk_bar_submenu::file_submenu, nsgtk_help_menu::help, nsgtk_bar_submenu::help_submenu, nsgtk_nav_menu::nav, nsgtk_bar_submenu::nav_submenu, nsgtk_menu_edit_submenu(), nsgtk_menu_file_submenu(), nsgtk_menu_help_submenu(), nsgtk_menu_nav_submenu(), nsgtk_menu_tools_submenu(), nsgtk_menu_view_submenu(), nsgtk_tools_menu::tools, nsgtk_bar_submenu::tools_submenu, nsgtk_view_menu::view, and nsgtk_bar_submenu::view_submenu.
Referenced by create_scaffolding_bar_menu().
nserror nsgtk_menu_bar_destroy | ( | struct nsgtk_bar_submenu * | menu | ) |
destroy bar menu
destroys the gtk widgets associated with menu and frees all storage.
menu | menu to destroy |
Definition at line 602 of file menu.c.
References nsgtk_bar_submenu::bar_menu, nsgtk_tools_menu::developer_submenu, nsgtk_bar_submenu::edit_submenu, nsgtk_file_menu::export_submenu, nsgtk_bar_submenu::file_submenu, nsgtk_bar_submenu::help_submenu, nsgtk_bar_submenu::nav_submenu, NSERROR_OK, nsgtk_view_menu::scaleview_submenu, nsgtk_view_menu::tabs_submenu, nsgtk_view_menu::toolbars_submenu, nsgtk_bar_submenu::tools_submenu, and nsgtk_bar_submenu::view_submenu.
Referenced by scaffolding_window_destroy().
struct nsgtk_popup_menu * nsgtk_popup_menu_create | ( | GtkAccelGroup * | group | ) |
Generate right click popup menu.
accelerator | group to use with menu |
Definition at line 551 of file menu.c.
References ADD_NAMED_SEP, IMAGE_ITEM, NEW_MENU, reload, SET_SUBMENU, and toolbars.
Referenced by create_scaffolding_popup_menu().
nserror nsgtk_popup_menu_destroy | ( | struct nsgtk_popup_menu * | menu | ) |
destroy popup menu
destroys the gtk widgets associated with menu and frees all storage.
menu | menu to destroy |
Definition at line 645 of file menu.c.
References nsgtk_tools_menu::developer_submenu, NSERROR_OK, nsgtk_popup_menu::popup_menu, nsgtk_popup_menu::toolbars_submenu, and nsgtk_popup_menu::tools_submenu.
Referenced by scaffolding_window_destroy().