19#ifndef GTK_COREWINDOW_H
20#define GTK_COREWINDOW_H
Interface to core window handling.
core_window_drag_status
drag status passed to drag_status callback
nserror
Enumeration of error codes.
nserror nsgtk_corewindow_init(struct nsgtk_corewindow *nsgtk_cw)
initialise elements of gtk core window.
struct core_window_table * nsgtk_core_window_table
nserror nsgtk_corewindow_fini(struct nsgtk_corewindow *nsgtk_cw)
finalise elements of gtk core window.
browser_mouse_state
Mouse state: 1 is primary mouse button.
Core user interface window function table.
nsgtk core window mouse state
browser_mouse_state state
last event status
nserror(* key)(struct nsgtk_corewindow *nsgtk_cw, uint32_t nskey)
callback for keypress on nsgtk core window
nserror(* draw)(struct nsgtk_corewindow *nsgtk_cw, struct rect *r)
callback to draw on drawable area of nsgtk core window
GtkScrolledWindow * scrolled
scrollable area drawing area is within
nserror(* mouse)(struct nsgtk_corewindow *nsgtk_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse event on nsgtk core window
core_window_drag_status drag_status
drag status set by core
GtkDrawingArea * drawing_area
GTK drawable widget.
GtkIMContext * input_method
Input method.
struct nsgtk_corewindow_mouse mouse_state
mouse state