EText

Name

EText -- 

Synopsis



            ETextSuckFont;
            ETextSuckChar;
            EText;

Object Hierarchy


  GtkObject
   +----GnomeCanvasItem
         +----EText

Properties


  "model"                GtkObject             : Read / Write
  "event-processor"      GtkObject             : Read / Write
  "text"                 gchar*                : Read / Write
  "font"                 gchar*                : Write
  "fontset"              gchar*                : Write
  "font-gdk"             GdkFont               : Write
  "font-e"               gpointer              : Read / Write
  "anchor"               GtkAnchorType         : Read / Write
  "justification"        GtkJustification      : Read / Write
  "clip-width"           gdouble               : Read / Write
  "clip-height"          gdouble               : Read / Write
  "clip"                 gboolean              : Read / Write
  "fill-clip-rectangle"  gboolean              : Read / Write
  "x-offset"             gdouble               : Read / Write
  "y-offset"             gdouble               : Read / Write
  "fill-color"           gchar*                : Write
  "fill-color-gdk"       GdkColor              : Read / Write
  "fill-color-rgba"      guint                 : Read / Write
  "fill-stipple"         GdkWindow             : Read / Write
  "text-width"           gdouble               : Read
  "text-height"          gdouble               : Read
  "editable"             gboolean              : Read / Write
  "use-ellipsis"         gboolean              : Read / Write
  "ellipsis"             gchar*                : Read / Write
  "line-wrap"            gboolean              : Read / Write
  "break-characters"     gchar*                : Read / Write
  "max-lines"            gint                  : Read / Write
  "width"                gdouble               : Read / Write
  "height"               gdouble               : Read
  "draw-borders"         gboolean              : Read / Write
  "allow-newlines"       gboolean              : Read / Write

Signal Prototypes


"changed"   void        user_function      (EText *etext,
                                            gpointer user_data);
"activate"  void        user_function      (EText *etext,
                                            gpointer user_data);

Description

Details

ETextSuckFont

typedef struct {
	guchar *bitmap;
	gint    bitmap_width;
	gint    bitmap_height;
	gint    ascent;
	ETextSuckChar chars[256];
} ETextSuckFont;


ETextSuckChar

typedef struct {
	int     left_sb;
	int     right_sb;
	int     width;
	int     ascent;
	int     descent;
	int     bitmap_offset; /* in pixels */
} ETextSuckChar;


EText

typedef struct _EText EText;

Properties

The "model" property

  "model"                GtkObject             : Read / Write


The "event-processor" property

  "event-processor"      GtkObject             : Read / Write


The "text" property

  "text"                 gchar*                : Read / Write


The "font" property

  "font"                 gchar*                : Write


The "fontset" property

  "fontset"              gchar*                : Write


The "font-gdk" property

  "font-gdk"             GdkFont               : Write


The "font-e" property

  "font-e"               gpointer              : Read / Write


The "anchor" property

  "anchor"               GtkAnchorType         : Read / Write


The "justification" property

  "justification"        GtkJustification      : Read / Write


The "clip-width" property

  "clip-width"           gdouble               : Read / Write


The "clip-height" property

  "clip-height"          gdouble               : Read / Write


The "clip" property

  "clip"                 gboolean              : Read / Write


The "fill-clip-rectangle" property

  "fill-clip-rectangle"  gboolean              : Read / Write


The "x-offset" property

  "x-offset"             gdouble               : Read / Write


The "y-offset" property

  "y-offset"             gdouble               : Read / Write


The "fill-color" property

  "fill-color"           gchar*                : Write


The "fill-color-gdk" property

  "fill-color-gdk"       GdkColor              : Read / Write


The "fill-color-rgba" property

  "fill-color-rgba"      guint                 : Read / Write


The "fill-stipple" property

  "fill-stipple"         GdkWindow             : Read / Write


The "text-width" property

  "text-width"           gdouble               : Read


The "text-height" property

  "text-height"          gdouble               : Read


The "editable" property

  "editable"             gboolean              : Read / Write


The "use-ellipsis" property

  "use-ellipsis"         gboolean              : Read / Write


The "ellipsis" property

  "ellipsis"             gchar*                : Read / Write


The "line-wrap" property

  "line-wrap"            gboolean              : Read / Write


The "break-characters" property

  "break-characters"     gchar*                : Read / Write


The "max-lines" property

  "max-lines"            gint                  : Read / Write


The "width" property

  "width"                gdouble               : Read / Write


The "height" property

  "height"               gdouble               : Read


The "draw-borders" property

  "draw-borders"         gboolean              : Read / Write


The "allow-newlines" property

  "allow-newlines"       gboolean              : Read / Write

Signals

The "changed" signal

void        user_function                  (EText *etext,
                                            gpointer user_data);

etext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.


The "activate" signal

void        user_function                  (EText *etext,
                                            gpointer user_data);

etext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.