GtkOldEditable

## GtkOldEditable GtkOldEditable — Base class for text-editing widgets |

## Synopsis

    #include <gtk/gtk.h>

    struct              GtkOldEditable;
    void                (*GtkTextFunction)                  (GtkOldEditable *editable,
                                                             guint32 time_);
    void                gtk_old_editable_claim_selection    (GtkOldEditable *old_editable,
                                                             gboolean claim,
                                                             guint32 time_);
    void                gtk_old_editable_changed            (GtkOldEditable *old_editable);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkOldEditable
                               +----GtkText

## Implemented Interfaces

GtkOldEditable implements AtkImplementorIface, GtkBuildable and GtkEditable.

## Properties

      "editable"                 gboolean              : Read / Write
      "text-position"            gint                  : Read / Write

## Signals

      "activate"                                       : Action
      "copy-clipboard"                                 : Action
      "cut-clipboard"                                  : Action
      "kill-char"                                      : Action
      "kill-line"                                      : Action
      "kill-word"                                      : Action
      "move-cursor"                                    : Action
      "move-page"                                      : Action
      "move-to-column"                                 : Action
      "move-to-row"                                    : Action
      "move-word"                                      : Action
      "paste-clipboard"                                : Action
      "set-editable"                                   : Action

## Description

GtkOldEditable has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use the GtkEditable interface instead.

## Details

### struct GtkOldEditable

    struct GtkOldEditable {
      guint      current_pos;

      guint      selection_start_pos;
      guint      selection_end_pos;
      guint      has_selection : 1;
    };

### Warning

`GtkOldEditable` is deprecated and should not be used in newly-written code.

### GtkTextFunction ()

    void                (*GtkTextFunction)                  (GtkOldEditable *editable,
                                                             guint32 time_);

### Warning

`GtkTextFunction` is deprecated and should not be used in newly-written code.

### gtk_old_editable_claim_selection ()

    void                gtk_old_editable_claim_selection    (GtkOldEditable *old_editable,
                                                             gboolean claim,
                                                             guint32 time_);

### Warning

`gtk_old_editable_claim_selection` is deprecated and should not be used in newly-written code.

Claims or gives up ownership of the selection.

`old_editable` : | a GtkOldEditable
`claim` : | if `TRUE`, claim ownership of the selection, if `FALSE`, give up ownership
`time_` : | timestamp for this operation

### gtk_old_editable_changed ()

    void                gtk_old_editable_changed            (GtkOldEditable *old_editable);

### Warning

`gtk_old_editable_changed` is deprecated and should not be used in newly-written code.

Emits the ::changed signal on `old_editable`.

`old_editable` : | a GtkOldEditable

## Property Details

### The `"editable"` property

      "editable"                 gboolean              : Read / Write

Default value: FALSE

### The `"text-position"` property

      "text-position"            gint                  : Read / Write

Default value: 0

## Signal Details

### The `"activate"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"copy-clipboard"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"cut-clipboard"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"kill-char"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"kill-line"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"kill-word"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"move-cursor"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gint            arg2,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"move-page"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gint            arg2,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"move-to-column"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"move-to-row"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"move-word"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gint            arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"paste-clipboard"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"set-editable"` signal

    void                user_function                      (GtkOldEditable *oldeditable,
                                                            gboolean        arg1,
                                                            gpointer        user_data)        : Action

`oldeditable` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.