GimpTextEditor

GimpTextEditor

Synopsis

                    GimpTextEditor;
GtkWidget *         gimp_text_editor_new                (const gchar *title,
                                                         GtkWindow *parent,
                                                         Gimp *gimp,
                                                         GimpMenuFactory *menu_factory,
                                                         GimpText *text,
                                                         GimpTextBuffer *text_buffer,
                                                         gdouble xres,
                                                         gdouble yres);
void                gimp_text_editor_set_text           (GimpTextEditor *editor,
                                                         const gchar *text,
                                                         gint len);
gchar *             gimp_text_editor_get_text           (GimpTextEditor *editor);
void                gimp_text_editor_set_direction      (GimpTextEditor *editor,
                                                         GimpTextDirection base_dir);
GimpTextDirection   gimp_text_editor_get_direction      (GimpTextEditor *editor);
void                gimp_text_editor_set_font_name      (GimpTextEditor *editor,
                                                         const gchar *font_name);
const gchar *       gimp_text_editor_get_font_name      (GimpTextEditor *editor);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkWindow
                                       +----GtkDialog
                                             +----GimpDialog
                                                   +----GimpTextEditor

Implemented Interfaces

GimpTextEditor implements AtkImplementorIface and GtkBuildable.

Signals

  "dir-changed"                                    : Run First
  "text-changed"                                   : Run First

Description

Details

GimpTextEditor

typedef struct _GimpTextEditor GimpTextEditor;


gimp_text_editor_new ()

GtkWidget *         gimp_text_editor_new                (const gchar *title,
                                                         GtkWindow *parent,
                                                         Gimp *gimp,
                                                         GimpMenuFactory *menu_factory,
                                                         GimpText *text,
                                                         GimpTextBuffer *text_buffer,
                                                         gdouble xres,
                                                         gdouble yres);


gimp_text_editor_set_text ()

void                gimp_text_editor_set_text           (GimpTextEditor *editor,
                                                         const gchar *text,
                                                         gint len);


gimp_text_editor_get_text ()

gchar *             gimp_text_editor_get_text           (GimpTextEditor *editor);


gimp_text_editor_set_direction ()

void                gimp_text_editor_set_direction      (GimpTextEditor *editor,
                                                         GimpTextDirection base_dir);


gimp_text_editor_get_direction ()

GimpTextDirection   gimp_text_editor_get_direction      (GimpTextEditor *editor);


gimp_text_editor_set_font_name ()

void                gimp_text_editor_set_font_name      (GimpTextEditor *editor,
                                                         const gchar *font_name);


gimp_text_editor_get_font_name ()

const gchar *       gimp_text_editor_get_font_name      (GimpTextEditor *editor);

Signal Details

The "dir-changed" signal

void                user_function                      (GimpTextEditor *gimptexteditor,
                                                        gpointer        user_data)           : Run First

gimptexteditor :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "text-changed" signal

void                user_function                      (GimpTextEditor *gimptexteditor,
                                                        gpointer        user_data)           : Run First

gimptexteditor :

the object which received the signal.

user_data :

user data set when the signal handler was connected.