| Top |  |  |  |  | 
| GogView * | gog_view_find_child_view () | 
| GogObject * | gog_view_get_model () | 
| void | gog_view_get_natural_size () | 
| char * | gog_view_get_tip_at_point () | 
| GogTool * | gog_view_get_tool_at_point () | 
| GSList const * | gog_view_get_toolkit () | 
| GogView * | gog_view_get_view_at_point () | 
| void | gog_view_padding_request () | 
| void | gog_view_queue_redraw () | 
| void | gog_view_queue_resize () | 
| void | gog_view_render () | 
| void | gog_view_render_toolkit () | 
| void | gog_view_size_allocate () | 
| void | gog_view_size_child_request () | 
| void | gog_view_size_request () | 
| gboolean | gog_view_update_sizes () | 
GBoxed ╰── GogViewAllocation GObject ╰── GogView ├── Gog3DBoxView ├── GogAxisBaseView ├── GogOutlinedView ╰── GogPlotView
GogView * gog_view_find_child_view (GogView const *container,GogObject const *target_model);
Find the GogView contained in container
 that corresponds to model
.
void gog_view_get_natural_size (GogView *view,GogViewRequisition *requisition);
char * gog_view_get_tip_at_point (GogView *view,double x,double y);
Gets a tip string related to the position as defined by (x
,y
) in view
.
GogTool * gog_view_get_tool_at_point (GogView *view,double x,double y,GogObject **gobj);
GogView * gog_view_get_view_at_point (GogView *view,double x,double y,GogObject **obj,GogTool **tool);
Gets view under cursor, searching recursively from view
. Corresponding object
is stored in obj
. This object may or may not be view->model
 of pointed view.
This function also stores tool under cursor, for the pointed view.
void gog_view_padding_request (GogView *view,GogViewAllocation const *bbox,GogViewPadding *padding);
void
gog_view_queue_redraw (GogView *view);
Requests a redraw for the entire graph.
void
gog_view_queue_resize (GogView *view);
Flags a view to have its size renegotiated; should be called when a model for some reason has a new size request. For example, when you change the size of a legend.
void gog_view_size_allocate (GogView *view,GogViewAllocation const *allocation);
Assign a size and position to a GogView. Primarilly used by containers.
void gog_view_size_child_request (GogView *view,GogViewRequisition const *available,GogViewRequisition *req,GogViewRequisition *min_req);
Computes additional requision in req
 which must be added to parent requisition,
and minimum requisition in min_req
 which is minimum space for displaying all
children.
| view | a GogView | |
| available | the amount of space available in total | |
| req | additionnal requisition | |
| min_req | minimum size for displaying all children | 
void gog_view_size_request (GogView *view,GogViewRequisition const *available,GogViewRequisition *requisition);
Determines the desired size of a view.
Note, that the virtual method deviates slightly from this function.  This
function will zero requisition
 before calling the virtual method.
Remember that the size request is not necessarily the size a view will actually be allocated.
typedef struct {
	GObjectClass base;
	unsigned int clip; 	/* Automaticaly clip to object bounding box */
	/* Virtuals */
	void	 (*state_init)    (GogView *view);
	void	 (*padding_request) 		(GogView *view, GogViewAllocation const *bbox,
						 GogViewPadding *padding);
	void	 (*size_request)    		(GogView *view, GogViewRequisition const *available,
						 GogViewRequisition *requisition);
	void	 (*size_allocate)   		(GogView *view, GogViewAllocation const *allocation);
	void	 (*render)        		(GogView *view, GogViewAllocation const *bbox);
	void	 (*build_toolkit)		(GogView *view);
	char    *(*get_tip_at_point)		(GogView *view, double x, double y);
	void	 (*natural_size)    		(GogView *view, GogViewRequisition *req);
} GogViewClass;