NetSurf
|
Go to the source code of this file.
Functions | |
struct browser_window * | nsgtk_get_browser_window (struct gui_window *gw) |
get core browsing context from gui window handle More... | |
struct nsgtk_scaffolding * | nsgtk_get_scaffold (struct gui_window *gw) |
get containing nsgtk scaffolding handle from gui window handle More... | |
nserror | nsgtk_window_update_all (void) |
Every window will have its tab, toolbar and drawing area updated. More... | |
nserror | nsgtk_window_toolbar_update (void) |
every window will have its toolbar updated to reflect user settings More... | |
nserror | nsgtk_window_toolbar_show (struct nsgtk_scaffolding *gs, bool show) |
Windows associated with a scaffold will have their toolbar show state set. More... | |
int | nsgtk_gui_window_update_targets (struct gui_window *gw) |
update targets More... | |
void | nsgtk_window_destroy_browser (struct gui_window *gw) |
destroy browsing context More... | |
nserror | nsgtk_window_search_toggle (struct gui_window *gw) |
toggle search visibility More... | |
GtkLayout * | nsgtk_window_get_layout (struct gui_window *gw) |
get gtk layout from gui handle More... | |
nserror | nsgtk_window_item_activate (struct gui_window *gw, nsgtk_toolbar_button itemid) |
activate the handler for a item in a toolbar of a gui window More... | |
nserror | nsgtk_window_position_page_info (struct gui_window *gw, struct nsgtk_pi_window *win) |
position page_info appropriately More... | |
nserror | nsgtk_window_position_local_history (struct gui_window *gw) |
position local_history appropriately More... | |
Variables | |
struct gui_window_table * | nsgtk_window_table |
struct gui_search_web_table * | nsgtk_search_web_table |
struct gui_window * | window_list |
struct browser_window * nsgtk_get_browser_window | ( | struct gui_window * | gw | ) |
get core browsing context from gui window handle
gw | gui window handle |
Definition at line 1619 of file window.c.
References gui_window::bw.
Referenced by nsgtk_on_link_opentab_activate_menu(), nsgtk_on_link_openwin_activate_menu(), nsgtk_on_savelink_activate_menu(), nsgtk_scaffolding_context_menu(), nsgtk_scaffolding_set_top_level(), nsgtk_scaffolding_update_edit_actions_sensitivity(), and scaffolding_update_context().
struct nsgtk_scaffolding * nsgtk_get_scaffold | ( | struct gui_window * | gw | ) |
get containing nsgtk scaffolding handle from gui window handle
gw | gui window handle |
Definition at line 1612 of file window.c.
References gui_window::scaffold.
Referenced by gui_download_window_create(), nsgtk_scaffolding_set_title(), nsgtk_scaffolding_set_top_level(), nsgtk_scaffolding_throbber(), nsgtk_tab_add(), openmenu_button_clicked_cb(), and toolbar_popup_context_menu_cb().
int nsgtk_gui_window_update_targets | ( | struct gui_window * | gw | ) |
update targets
gw | gui window handle |
void nsgtk_window_destroy_browser | ( | struct gui_window * | gw | ) |
destroy browsing context
gw | gui window handle |
Definition at line 1649 of file window.c.
References gui_window::container.
Referenced by nsgtk_tab_close_current().
GtkLayout * nsgtk_window_get_layout | ( | struct gui_window * | gw | ) |
get gtk layout from gui handle
gw | gui window handle |
Definition at line 1626 of file window.c.
References gui_window::layout.
nserror nsgtk_window_item_activate | ( | struct gui_window * | gw, |
nsgtk_toolbar_button | itemid | ||
) |
activate the handler for a item in a toolbar of a gui window
gw | The gui window handle |
itemid | The id of the item to activate |
Definition at line 1642 of file window.c.
References nsgtk_toolbar_item_activate(), and gui_window::toolbar.
Referenced by gui_window_create(), and nsgtk_tab_switch_page_after().
nserror nsgtk_window_position_local_history | ( | struct gui_window * | gw | ) |
position local_history appropriately
gw | The gui window handle to position relative to |
Definition at line 1702 of file window.c.
References nsgtk_toolbar_position_local_history(), and gui_window::toolbar.
Referenced by nsgtk_scaffolding_position_local_history().
nserror nsgtk_window_position_page_info | ( | struct gui_window * | gw, |
struct nsgtk_pi_window * | win | ||
) |
position page_info appropriately
gw | The gui window handle to position relative to |
win | The page-info window to position |
Definition at line 1695 of file window.c.
References nsgtk_toolbar_position_page_info(), and gui_window::toolbar.
Referenced by nsgtk_scaffolding_position_page_info().
nserror nsgtk_window_search_toggle | ( | struct gui_window * | gw | ) |
toggle search visibility
gw | gui window handle |
Definition at line 1634 of file window.c.
References nsgtk_search_toggle_visibility(), and gui_window::search.
Referenced by nsgtk_on_find_activate_menu().
nserror nsgtk_window_toolbar_show | ( | struct nsgtk_scaffolding * | gs, |
bool | show | ||
) |
Windows associated with a scaffold will have their toolbar show state set.
Definition at line 1671 of file window.c.
References gui_window::next, NSERROR_OK, nsgtk_toolbar_show(), gui_window::scaffold, gui_window::toolbar, and window_list.
Referenced by nsgtk_on_toolbar_activate_menu().
nserror nsgtk_window_toolbar_update | ( | void | ) |
every window will have its toolbar updated to reflect user settings
Definition at line 1684 of file window.c.
References gui_window::next, NSERROR_OK, nsgtk_toolbar_update(), gui_window::toolbar, and window_list.
Referenced by customisation_apply_clicked_cb().
nserror nsgtk_window_update_all | ( | void | ) |
Every window will have its tab, toolbar and drawing area updated.
The update will ensure the correct tab options are used, the toolbar size and style is changed and the browser window contents redrawn.
Definition at line 1657 of file window.c.
References browser_window_schedule_reformat(), gui_window::bw, gui_window::next, NSERROR_OK, nsgtk_scaffolding_notebook(), nsgtk_search_restyle(), nsgtk_tab_options_changed(), nsgtk_toolbar_restyle(), gui_window::scaffold, gui_window::search, gui_window::toolbar, and window_list.
Referenced by nsgtk_preferences_checkShowSingleTab_toggled(), nsgtk_preferences_comboButtonType_changed(), nsgtk_preferences_comboTabPosition_changed(), nsgtk_preferences_fontPreview_clicked(), and toggledebugging_button_clicked_cb().
|
extern |
|
extern |
|
extern |
Definition at line 75 of file gui.c.
Referenced by atari_poll(), gui_quit(), gui_resize(), gui_search_web_provider_update(), gui_window_add_to_window_list(), gui_window_create(), gui_window_destroy(), gui_window_remove_from_window_list(), nsgtk_window_draw_event(), nsgtk_window_toolbar_show(), nsgtk_window_toolbar_update(), nsgtk_window_update_all(), nsws_window_command(), ro_gui_throb(), ro_gui_window_lookup(), ro_gui_window_quit(), ro_gui_window_redraw_all(), win32_window_create(), and win32_window_destroy().