GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkOldEditable

## Name

GtkOldEditable --

## 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
       +----GtkObject
             +----GtkWidget
                   +----GtkOldEditable

## Properties

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

## Signal Prototypes

    "activate"  void        user_function      (GtkOldEditable *oldeditable,
                                                gpointer user_data);
    "copy-clipboard"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gpointer user_data);
    "cut-clipboard"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gpointer user_data);
    "kill-char" void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gpointer user_data);
    "kill-line" void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gpointer user_data);
    "kill-word" void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gpointer user_data);
    "move-cursor"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gint arg2,
                                                gpointer user_data);
    "move-page" void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gint arg2,
                                                gpointer user_data);
    "move-to-column"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gpointer user_data);
    "move-to-row"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gpointer user_data);
    "move-word" void        user_function      (GtkOldEditable *oldeditable,
                                                gint arg1,
                                                gpointer user_data);
    "paste-clipboard"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gpointer user_data);
    "set-editable"
                void        user_function      (GtkOldEditable *oldeditable,
                                                gboolean arg1,
                                                gpointer user_data);

## Description

## 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.

`editable` : |
`time` : |

### 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

## Properties

"`text-position`" (gint : Read / Write)

"`editable`" (gboolean : Read / Write)

## Signals

### The "activate" signal

    void        user_function                  (GtkOldEditable *oldeditable,
                                                gpointer user_data);

`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);

`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);

`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`arg2` : |
`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`arg2` : |
`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`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);

`oldeditable` : | the object which received the signal.
`arg1` : |
`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);

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

### The "paste-clipboard" signal

    void        user_function                  (GtkOldEditable *oldeditable,
                                                gpointer user_data);

`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);

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

<<< Previous Page | Home | Up | Next Page >>>
GtkPreview | GtkText