]> Pileus Git - ~andy/gtk/commitdiff
Document the arguments of the ::move-cursor signal. (#142725)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 18 May 2004 17:30:58 +0000 (17:30 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 18 May 2004 17:30:58 +0000 (17:30 +0000)
2004-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (gtk_text_view_class_init): Document the
arguments of the ::move-cursor signal.  (#142725)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextview.c

index f188965b9f063a1973aa1cab3e095404d82e0266..6191420fa5d35868d049dcc2aa54a6f661d1233b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+2004-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): Document the
+       arguments of the ::move-cursor signal.  (#142725)
+
 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
 
-        Mreged from 2.4:
+        Merged from 2.4:
        
        * gtk/gtkbutton.c (gtk_button_size_request) 
        (gtk_button_size_allocate, _gtk_button_paint): Allocate
index f188965b9f063a1973aa1cab3e095404d82e0266..6191420fa5d35868d049dcc2aa54a6f661d1233b 100644 (file)
@@ -1,6 +1,11 @@
+2004-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): Document the
+       arguments of the ::move-cursor signal.  (#142725)
+
 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
 
-        Mreged from 2.4:
+        Merged from 2.4:
        
        * gtk/gtkbutton.c (gtk_button_size_request) 
        (gtk_button_size_allocate, _gtk_button_paint): Allocate
index f188965b9f063a1973aa1cab3e095404d82e0266..6191420fa5d35868d049dcc2aa54a6f661d1233b 100644 (file)
@@ -1,6 +1,11 @@
+2004-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): Document the
+       arguments of the ::move-cursor signal.  (#142725)
+
 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
 
-        Mreged from 2.4:
+        Merged from 2.4:
        
        * gtk/gtkbutton.c (gtk_button_size_request) 
        (gtk_button_size_allocate, _gtk_button_paint): Allocate
index f188965b9f063a1973aa1cab3e095404d82e0266..6191420fa5d35868d049dcc2aa54a6f661d1233b 100644 (file)
@@ -1,6 +1,11 @@
+2004-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): Document the
+       arguments of the ::move-cursor signal.  (#142725)
+
 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
 
-        Mreged from 2.4:
+        Merged from 2.4:
        
        * gtk/gtkbutton.c (gtk_button_size_request) 
        (gtk_button_size_allocate, _gtk_button_paint): Allocate
index 4abf72627d0945aac30deabad65b356d8bd9ec92..932fced84fd4f6d7542af7a6a4acdb530f78510c 100644 (file)
@@ -691,16 +691,27 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    * Signals
    */
 
-  signals[MOVE_CURSOR] =
+  /**
+   * GtkTextView::move-cursor: 
+   * @widget: the object which received the signal
+   * @step: the granularity of the move, as a #GtkMovementStep
+   * @count: the number of @step units to move
+   * @extend_selection: %TRUE if the move should extend the selection
+   *  
+   * The ::move-cursor signal is a keybinding signal which gets emitted
+   * when the user initiates a cursor movement. Applications should not
+   * use it.
+   */
+  signals[MOVE_CURSOR] = 
     g_signal_new ("move_cursor",
-                 G_OBJECT_CLASS_TYPE (gobject_class),
-                 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+                 G_OBJECT_CLASS_TYPE (gobject_class), 
+                 G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, 
                  G_STRUCT_OFFSET (GtkTextViewClass, move_cursor),
-                 NULL, NULL,
-                 _gtk_marshal_VOID__ENUM_INT_BOOLEAN,
+                 NULL, NULL, 
+                 _gtk_marshal_VOID__ENUM_INT_BOOLEAN, 
                  G_TYPE_NONE, 3,
-                 GTK_TYPE_MOVEMENT_STEP,
-                 G_TYPE_INT,
+                 GTK_TYPE_MOVEMENT_STEP, 
+                 G_TYPE_INT, 
                  G_TYPE_BOOLEAN);
 
   signals[PAGE_HORIZONTALLY] =