RptObjText

RptObjText — A textual object.

Synopsis




                    RptObjText;
RptObject*          rpt_obj_text_new                    (const gchar *name,
                                                         RptPoint position);
RptObject*          rpt_obj_text_new_from_xml           (xmlNode *xnode);
void                rpt_obj_text_get_xml                (RptObject *rpt_objtext,
                                                         xmlNode *xnode);

Object Hierarchy


  GObject
   +----RptObject
         +----RptObjText

Properties


  "align"                    gpointer              : Read / Write
  "background-color"         gpointer              : Read / Write
  "border"                   gpointer              : Read / Write
  "font"                     gpointer              : Read / Write
  "padding-bottom"           gdouble               : Read / Write
  "padding-left"             gdouble               : Read / Write
  "padding-right"            gdouble               : Read / Write
  "padding-top"              gdouble               : Read / Write
  "rotation"                 gpointer              : Read / Write
  "size"                     gpointer              : Read / Write
  "source"                   gchararray            : Read / Write / Construct

Description

Details

RptObjText

typedef struct _RptObjText RptObjText;


rpt_obj_text_new ()

RptObject*          rpt_obj_text_new                    (const gchar *name,
                                                         RptPoint position);

Creates a new RptObjText object and sets its position to position.

name : the RptObjText's name.
position : an RptPoint.
Returns : the newly created RptObject object.

rpt_obj_text_new_from_xml ()

RptObject*          rpt_obj_text_new_from_xml           (xmlNode *xnode);

xnode : an xmlNode.
Returns : the newly created RptObject object.

rpt_obj_text_get_xml ()

void                rpt_obj_text_get_xml                (RptObject *rpt_objtext,
                                                         xmlNode *xnode);

rpt_objtext : an RptObjText object.
xnode : an xmlNode.

Property Details

The "align" property

  "align"                    gpointer              : Read / Write

The text's align.


The "background-color" property

  "background-color"         gpointer              : Read / Write

The text's background color.


The "border" property

  "border"                   gpointer              : Read / Write

The object's border.


The "font" property

  "font"                     gpointer              : Read / Write

The object's font.


The "padding-bottom" property

  "padding-bottom"           gdouble               : Read / Write

Padding Bottom.

Allowed values: >= 0

Default value: 0


The "padding-left" property

  "padding-left"             gdouble               : Read / Write

Padding Left.

Allowed values: >= 0

Default value: 0


The "padding-right" property

  "padding-right"            gdouble               : Read / Write

Padding Right.

Allowed values: >= 0

Default value: 0


The "padding-top" property

  "padding-top"              gdouble               : Read / Write

Padding Top.

Allowed values: >= 0

Default value: 0


The "rotation" property

  "rotation"                 gpointer              : Read / Write

The object's rotation.


The "size" property

  "size"                     gpointer              : Read / Write

The object's size.


The "source" property

  "source"                   gchararray            : Read / Write / Construct

The source.

Default value: ""