Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

cr-box-view.h File Reference

#include <gnome.h>
#include <cr-box.h>

Go to the source code of this file.

Data Structures

struct  _CRBoxView
struct  _CRBoxViewClass

Defines

#define CR_TYPE_BOX_VIEW   (cr_box_view_get_type ())
#define CR_BOX_VIEW(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), CR_TYPE_BOX_VIEW, CRBoxView))
#define CR_BOX_VIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), CR_TYPE_BOX_VIEW, CRBoxViewClass))
#define CR_IS_BOX_VIEW(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CR_TYPE_BOX_VIEW))
#define CR_IS_BOX_VIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), CR_TYPE_BOX_VIEW))
#define CR_BOX_VIEW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), CR_TYPE_BOX_VIEW, CRBoxViewClass))

Typedefs

typedef _CRBoxView CRBoxView
typedef _CRBoxViewClass CRBoxViewClass
typedef _CRBoxViewPriv CRBoxViewPriv

Functions

GType cr_box_view_get_type (void)
CRBoxViewcr_box_view_new_from_xml_css_bufs (const guchar *a_xml_buf, const guchar *a_css_buf)
enum CRStatus cr_box_view_get_box_model (CRBoxView *a_this, CRBoxModel **a_box_model)
enum CRStatus cr_box_view_set_box_model (CRBoxView *a_this, CRBoxModel *a_box_model)
CRBoxViewcr_box_view_new_from_bm (CRBoxModel *a_box_root)
enum CRStatus cr_box_view_layout (CRBoxView *a_this)
void cr_box_view_destroy (GtkObject *a_this)


Define Documentation

#define CR_BOX_VIEW obj   )     (G_TYPE_CHECK_INSTANCE_CAST ((obj), CR_TYPE_BOX_VIEW, CRBoxView))
 

Definition at line 38 of file cr-box-view.h.

Referenced by cr_box_view_destroy().

#define CR_BOX_VIEW_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST ((klass), CR_TYPE_BOX_VIEW, CRBoxViewClass))
 

Definition at line 39 of file cr-box-view.h.

#define CR_BOX_VIEW_GET_CLASS obj   )     (G_TYPE_INSTANCE_GET_CLASS ((obj), CR_TYPE_BOX_VIEW, CRBoxViewClass))
 

Definition at line 42 of file cr-box-view.h.

#define CR_IS_BOX_VIEW obj   )     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CR_TYPE_BOX_VIEW))
 

Definition at line 40 of file cr-box-view.h.

Referenced by cr_box_view_destroy(), and cr_box_view_layout().

#define CR_IS_BOX_VIEW_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE ((klass), CR_TYPE_BOX_VIEW))
 

Definition at line 41 of file cr-box-view.h.

#define CR_TYPE_BOX_VIEW   (cr_box_view_get_type ())
 

Definition at line 37 of file cr-box-view.h.

Referenced by cr_box_view_new_from_bm(), and cr_box_view_new_from_xml_css_bufs().


Typedef Documentation

typedef struct _CRBoxView CRBoxView
 

Definition at line 44 of file cr-box-view.h.

typedef struct _CRBoxViewClass CRBoxViewClass
 

Definition at line 45 of file cr-box-view.h.

typedef struct _CRBoxViewPriv CRBoxViewPriv
 

Definition at line 46 of file cr-box-view.h.


Function Documentation

void cr_box_view_destroy GtkObject *  a_this  ) 
 

Definition at line 746 of file cr-box-view.c.

References cr_box_unref(), CR_BOX_VIEW, CR_IS_BOX_VIEW, and PRIVATE.

Referenced by cr_box_view_new_from_bm(), and cr_box_view_new_from_xml_css_bufs().

enum CRStatus cr_box_view_get_box_model CRBoxView a_this,
CRBoxModel **  a_box_model
 

Definition at line 735 of file cr-box-view.c.

References CR_BAD_PARAM_ERROR, and PRIVATE.

GType cr_box_view_get_type void   ) 
 

Definition at line 531 of file cr-box-view.c.

enum CRStatus cr_box_view_layout CRBoxView a_this  ) 
 

Definition at line 718 of file cr-box-view.c.

References CR_BAD_PARAM_ERROR, CR_IS_BOX_VIEW, cr_lay_eng_layout_box_tree(), CR_OK, and PRIVATE.

CRBoxView* cr_box_view_new_from_bm CRBoxModel a_box_root  ) 
 

Definition at line 671 of file cr-box-view.c.

References cr_box_view_destroy(), cr_box_view_set_box_model(), cr_lay_eng_new(), CR_TYPE_BOX_VIEW, cr_utils_trace_info, and PRIVATE.

CRBoxView* cr_box_view_new_from_xml_css_bufs const guchar *  a_xml_buf,
const guchar *  a_css_buf
 

Definition at line 557 of file cr-box-view.c.

References _CRBoxModel::box, cr_box_destroy(), cr_box_view_destroy(), cr_box_view_set_box_model(), cr_cascade_destroy(), cr_cascade_new(), CR_ERROR, cr_lay_eng_create_box_model(), cr_lay_eng_new(), CR_OK, cr_om_parser_simply_parse_buf(), cr_stylesheet_destroy(), CR_TYPE_BOX_VIEW, CR_UTF_8, cr_utils_trace_info, CRStatus, _CRBox::inner_edge, _CRBoxEdge::max_width, PRIVATE, and _CRBoxEdge::width.

enum CRStatus cr_box_view_set_box_model CRBoxView a_this,
CRBoxModel a_box_model
 

Definition at line 699 of file cr-box-view.c.

References CR_BAD_PARAM_ERROR, cr_box_ref(), cr_box_unref(), and PRIVATE.

Referenced by cr_box_view_new_from_bm(), and cr_box_view_new_from_xml_css_bufs().


Generated on Wed Oct 1 01:36:50 2003 for Libcroco by doxygen 1.3.3