NetSurf
Data Structures | Functions | Variables
corewindow.h File Reference
#include "netsurf/core_window.h"
Include dependency graph for corewindow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nsgtk_corewindow_mouse
 nsgtk core window mouse state More...
 
struct  nsgtk_corewindow
 nsgtk core window state More...
 

Functions

nserror nsgtk_corewindow_init (struct nsgtk_corewindow *nsgtk_cw)
 initialise elements of gtk core window. More...
 
nserror nsgtk_corewindow_fini (struct nsgtk_corewindow *nsgtk_cw)
 finalise elements of gtk core window. More...
 

Variables

struct core_window_tablensgtk_core_window_table
 

Function Documentation

◆ nsgtk_corewindow_fini()

nserror nsgtk_corewindow_fini ( struct nsgtk_corewindow nsgtk_cw)

finalise elements of gtk core window.

Parameters
nsgtk_cwA gtk core window structure to initialise
Returns
NSERROR_OK on successful finalisation otherwise error code.

Definition at line 786 of file corewindow.c.

References nsgtk_corewindow::input_method, and NSERROR_OK.

Referenced by nsgtk_cookies_destroy(), nsgtk_global_history_destroy(), nsgtk_hotlist_destroy(), nsgtk_local_history_destroy(), and nsgtk_pi_delete_event().

Here is the caller graph for this function:

◆ nsgtk_corewindow_init()

nserror nsgtk_corewindow_init ( struct nsgtk_corewindow nsgtk_cw)

initialise elements of gtk core window.

Parameters
nsgtk_cwA gtk core window structure to initialise
Returns
NSERROR_OK on successful initialisation otherwise error code.

Definition at line 733 of file corewindow.c.

References CORE_WINDOW_DRAG_NONE, nsgtk_corewindow::drag_status, nsgtk_corewindow::drawing_area, GTK_STATE_FLAG_NORMAL, nsgtk_corewindow::input_method, NSERROR_OK, nsgtk_connect_draw_event(), nsgtk_cw_button_press_event(), nsgtk_cw_button_release_event(), nsgtk_cw_draw_event(), nsgtk_cw_input_method_commit(), nsgtk_cw_keypress_event(), nsgtk_cw_keyrelease_event(), nsgtk_cw_motion_notify_event(), and nsgtk_widget_override_background_color().

Referenced by nsgtk_cookies_init(), nsgtk_global_history_init(), nsgtk_hotlist_init(), nsgtk_local_history_init(), and nsgtk_page_info().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nsgtk_core_window_table

struct core_window_table* nsgtk_core_window_table
extern

Definition at line 730 of file corewindow.c.

Referenced by main().