GtkOldEditable

GtkOldEditable — Base class for text-editing widgets

Synopsis


#include <gtk/gtk.h>


                    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 and GtkEditable.

Properties


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

Signals


  activate                                       : Run Last / Action
  copy-clipboard                                 : Run Last / Action
  cut-clipboard                                  : Run Last / Action
  kill-char                                      : Run Last / Action
  kill-line                                      : Run Last / Action
  kill-word                                      : Run Last / Action
  move-cursor                                    : Run Last / Action
  move-page                                      : Run Last / Action
  move-to-column                                 : Run Last / Action
  move-to-row                                    : Run Last / Action
  move-word                                      : Run Last / Action
  paste-clipboard                                : Run Last / Action
  set-editable                                   : Run Last / 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

GtkOldEditable

typedef struct {
  guint      current_pos;

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

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

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)        : Run Last / 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)        : Run Last / 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)        : Run Last / 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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / Action

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)        : Run Last / 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)        : Run Last / Action

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