EText

EText

Synopsis

struct              EText;
void                e_text_cancel_editing               (EText *text);
void                e_text_stop_editing                 (EText *text);
void                e_text_delete_selection             (EText *text);
void                e_text_cut_clipboard                (EText *text);
void                e_text_copy_clipboard               (EText *text);
void                e_text_paste_clipboard              (EText *text);
void                e_text_select_all                   (EText *text);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GnomeCanvasItem
               +----EText

Properties

  "allow-newlines"           gboolean              : Read / Write
  "bold"                     gboolean              : Read / Write
  "break-characters"         gchar*                : Read / Write
  "clip"                     gboolean              : Read / Write
  "clip-height"              gdouble               : Read / Write
  "clip-width"               gdouble               : Read / Write
  "cursor-pos"               gint                  : Read / Write
  "editable"                 gboolean              : Read / Write
  "ellipsis"                 gchar*                : Read / Write
  "event-processor"          ETextEventProcessor*  : Read / Write
  "fill-clip-rectangle"      gboolean              : Read / Write
  "fill-color"               gchar*                : Write
  "fill-color-gdk"           GdkColor*             : Write
  "fill-color-rgba"          guint                 : Read / Write
  "handle-popup"             gboolean              : Read / Write
  "height"                   gdouble               : Read / Write
  "im-context"               GtkIMContext*         : Read / Write
  "justification"            GtkJustification      : Read / Write
  "line-wrap"                gboolean              : Read / Write
  "max-lines"                gint                  : Read / Write
  "model"                    ETextModel*           : Read / Write
  "strikeout"                gboolean              : Read / Write
  "text"                     gchar*                : Read / Write
  "text-height"              gdouble               : Read
  "text-width"               gdouble               : Read
  "use-ellipsis"             gboolean              : Read / Write
  "width"                    gdouble               : Read / Write
  "x-offset"                 gdouble               : Read / Write
  "y-offset"                 gdouble               : Read / Write

Signals

  "activate"                                       : Run Last
  "changed"                                        : Run Last
  "keypress"                                       : Run Last
  "populate-popup"                                 : Run Last

Description

Details

struct EText

struct EText;

e_text_cancel_editing ()

void                e_text_cancel_editing               (EText *text);

e_text_stop_editing ()

void                e_text_stop_editing                 (EText *text);

e_text_delete_selection ()

void                e_text_delete_selection             (EText *text);

e_text_cut_clipboard ()

void                e_text_cut_clipboard                (EText *text);

e_text_copy_clipboard ()

void                e_text_copy_clipboard               (EText *text);

e_text_paste_clipboard ()

void                e_text_paste_clipboard              (EText *text);

e_text_select_all ()

void                e_text_select_all                   (EText *text);

Property Details

The "allow-newlines" property

  "allow-newlines"           gboolean              : Read / Write

Allow newlines.

Default value: FALSE


The "bold" property

  "bold"                     gboolean              : Read / Write

Bold.

Default value: FALSE


The "break-characters" property

  "break-characters"         gchar*                : Read / Write

Break characters.

Default value: NULL


The "clip" property

  "clip"                     gboolean              : Read / Write

Clip.

Default value: FALSE


The "clip-height" property

  "clip-height"              gdouble               : Read / Write

Clip Height.

Allowed values: >= 0

Default value: 0


The "clip-width" property

  "clip-width"               gdouble               : Read / Write

Clip Width.

Allowed values: >= 0

Default value: 0


The "cursor-pos" property

  "cursor-pos"               gint                  : Read / Write

Cursor position.

Allowed values: >= 0

Default value: 0


The "editable" property

  "editable"                 gboolean              : Read / Write

Editable.

Default value: FALSE


The "ellipsis" property

  "ellipsis"                 gchar*                : Read / Write

Ellipsis.

Default value: NULL


The "event-processor" property

  "event-processor"          ETextEventProcessor*  : Read / Write

Event Processor.


The "fill-clip-rectangle" property

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

Fill clip rectangle.

Default value: FALSE


The "fill-color" property

  "fill-color"               gchar*                : Write

Fill color.

Default value: NULL


The "fill-color-gdk" property

  "fill-color-gdk"           GdkColor*             : Write

GDK fill color.


The "fill-color-rgba" property

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

GDK fill color.

Default value: 0


The "handle-popup" property

  "handle-popup"             gboolean              : Read / Write

Handle Popup.

Default value: FALSE


The "height" property

  "height"                   gdouble               : Read / Write

Height.

Allowed values: >= 0

Default value: 0


The "im-context" property

  "im-context"               GtkIMContext*         : Read / Write

IM Context.


The "justification" property

  "justification"            GtkJustification      : Read / Write

Justification.

Default value: GTK_JUSTIFY_LEFT


The "line-wrap" property

  "line-wrap"                gboolean              : Read / Write

Line wrap.

Default value: FALSE


The "max-lines" property

  "max-lines"                gint                  : Read / Write

Max lines.

Allowed values: >= 0

Default value: 0


The "model" property

  "model"                    ETextModel*           : Read / Write

Model.


The "strikeout" property

  "strikeout"                gboolean              : Read / Write

Strikeout.

Default value: FALSE


The "text" property

  "text"                     gchar*                : Read / Write

Text.

Default value: NULL


The "text-height" property

  "text-height"              gdouble               : Read

Text height.

Allowed values: >= 0

Default value: 0


The "text-width" property

  "text-width"               gdouble               : Read

Text width.

Allowed values: >= 0

Default value: 0


The "use-ellipsis" property

  "use-ellipsis"             gboolean              : Read / Write

Use ellipsis.

Default value: FALSE


The "width" property

  "width"                    gdouble               : Read / Write

Width.

Allowed values: >= 0

Default value: 0


The "x-offset" property

  "x-offset"                 gdouble               : Read / Write

X Offset.

Allowed values: >= 0

Default value: 0


The "y-offset" property

  "y-offset"                 gdouble               : Read / Write

Y Offset.

Allowed values: >= 0

Default value: 0

Signal Details

The "activate" signal

void                user_function                      (EText   *etext,
                                                        gpointer user_data)      : Run Last

The "changed" signal

void                user_function                      (EText   *etext,
                                                        gpointer user_data)      : Run Last

The "keypress" signal

void                user_function                      (EText   *etext,
                                                        guint    arg1,
                                                        guint    arg2,
                                                        gpointer user_data)      : Run Last

The "populate-popup" signal

void                user_function                      (EText   *etext,
                                                        gpointer arg1,
                                                        gint     arg2,
                                                        GtkMenu *arg3,
                                                        gpointer user_data)      : Run Last