[pygtk/gtk-3.0: 26/55] Deprecated: Remove GtkText and GtkOldEditable
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk/gtk-3.0: 26/55] Deprecated: Remove GtkText and GtkOldEditable
- Date: Sat, 17 Jul 2010 00:26:35 +0000 (UTC)
commit a00dc3045a1e1e5d9b9c0963e613854464787954
Author: John Stowers <john stowers gmail com>
Date: Sat Jul 10 20:55:22 2010 +1200
Deprecated: Remove GtkText and GtkOldEditable
gtk/gtk-base-types.defs | 16 ---
gtk/gtk-base.defs | 269 -----------------------------------------------
2 files changed, 0 insertions(+), 285 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index 9f3753e..188f8c1 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -1973,14 +1973,6 @@
(gtype-id "GTK_TYPE_OBJECT")
)
-(define-object OldEditable
- (in-module "Gtk")
- (parent "GtkWidget")
- (c-name "GtkOldEditable")
- (gtype-id "GTK_TYPE_OLD_EDITABLE")
- (implements "GtkEditable")
-)
-
(define-object OptionMenu
(in-module "Gtk")
(parent "GtkButton")
@@ -2540,14 +2532,6 @@
(gtype-id "GTK_TYPE_TEXT_LAYOUT")
)
-(define-object Text
- (in-module "Gtk")
- (parent "GtkOldEditable")
- (c-name "GtkText")
- (gtype-id "GTK_TYPE_TEXT")
- (implements "GtkEditable")
-)
-
(define-object Tree
(in-module "Gtk")
(parent "GtkContainer")
diff --git a/gtk/gtk-base.defs b/gtk/gtk-base.defs
index ca7f49c..5358a59 100644
--- a/gtk/gtk-base.defs
+++ b/gtk/gtk-base.defs
@@ -11325,161 +11325,6 @@
)
)
-
-;; From /opt/gtk2/include/gtk-2.0/gtk/gtkoldeditable.h
-
-(define-function gtk_old_editable_get_type
- (c-name "gtk_old_editable_get_type")
- (return-type "GType")
-)
-
-(define-method claim_selection
- (of-object "GtkOldEditable")
- (c-name "gtk_old_editable_claim_selection")
- (return-type "none")
- (parameters
- '("gboolean" "claim")
- '("guint32" "time" (default "GDK_CURRENT_TIME"))
- )
-)
-
-(define-method changed
- (of-object "GtkOldEditable")
- (c-name "gtk_old_editable_changed")
- (return-type "none")
-)
-
-(define-virtual activate
- (of-object "GtkOldEditable")
- (return-type "none")
-)
-
-(define-virtual set_editable
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gboolean" "is_editable")
- )
-)
-
-(define-virtual move_cursor
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "x")
- '("gint" "y")
- )
-)
-
-(define-virtual move_word
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "n")
- )
-)
-
-(define-virtual move_page
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "x")
- '("gint" "y")
- )
-)
-
-(define-virtual move_to_row
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "row")
- )
-)
-
-(define-virtual move_to_column
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "row")
- )
-)
-
-(define-virtual kill_char
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "direction")
- )
-)
-
-(define-virtual kill_word
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "direction")
- )
-)
-
-(define-virtual kill_line
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "direction")
- )
-)
-
-(define-virtual cut_clipboard
- (of-object "GtkOldEditable")
- (return-type "none")
-)
-
-(define-virtual copy_clipboard
- (of-object "GtkOldEditable")
- (return-type "none")
-)
-
-(define-virtual paste_clipboard
- (of-object "GtkOldEditable")
- (return-type "none")
-)
-
-(define-virtual update_text
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
- )
-)
-
-(define-virtual get_chars
- (of-object "GtkOldEditable")
- (return-type "gchar*")
- (parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
- )
-)
-
-(define-virtual set_selection
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
- )
-)
-
-(define-virtual set_position
- (of-object "GtkOldEditable")
- (return-type "none")
- (parameters
- '("gint" "position")
- )
-)
-
-
-
;; From /opt/gtk2/include/gtk-2.0/gtk/gtkoptionmenu.h
(define-function gtk_option_menu_get_type
@@ -15647,120 +15492,6 @@
(return-type "GtkWidget*")
)
-
-(define-function text_get_type
- (c-name "gtk_text_get_type")
- (return-type "GtkType")
-)
-
-(define-function text_new
- (c-name "gtk_text_new")
- (is-constructor-of "GtkText")
- (return-type "GtkWidget*")
- (parameters
- '("GtkAdjustment*" "hadj")
- '("GtkAdjustment*" "vadj")
- )
-)
-
-(define-method set_editable
- (of-object "GtkText")
- (c-name "gtk_text_set_editable")
- (return-type "none")
- (parameters
- '("gboolean" "editable")
- )
-)
-
-(define-method set_word_wrap
- (of-object "GtkText")
- (c-name "gtk_text_set_word_wrap")
- (return-type "none")
- (parameters
- '("gboolean" "word_wrap")
- )
-)
-
-(define-method set_line_wrap
- (of-object "GtkText")
- (c-name "gtk_text_set_line_wrap")
- (return-type "none")
- (parameters
- '("gboolean" "line_wrap")
- )
-)
-
-(define-method set_adjustments
- (of-object "GtkText")
- (c-name "gtk_text_set_adjustments")
- (return-type "none")
- (parameters
- '("GtkAdjustment*" "hadj")
- '("GtkAdjustment*" "vadj")
- )
-)
-
-(define-method set_point
- (of-object "GtkText")
- (c-name "gtk_text_set_point")
- (return-type "none")
- (parameters
- '("guint" "index")
- )
-)
-
-(define-method get_point
- (of-object "GtkText")
- (c-name "gtk_text_get_point")
- (return-type "guint")
-)
-
-(define-method get_length
- (of-object "GtkText")
- (c-name "gtk_text_get_length")
- (return-type "guint")
-)
-
-(define-method freeze
- (of-object "GtkText")
- (c-name "gtk_text_freeze")
- (return-type "none")
-)
-
-(define-method thaw
- (of-object "GtkText")
- (c-name "gtk_text_thaw")
- (return-type "none")
-)
-
-(define-method backward_delete
- (of-object "GtkText")
- (c-name "gtk_text_backward_delete")
- (return-type "gboolean")
- (parameters
- '("guint" "nchars")
- )
-)
-
-(define-method forward_delete
- (of-object "GtkText")
- (c-name "gtk_text_forward_delete")
- (return-type "gboolean")
- (parameters
- '("guint" "nchars")
- )
-)
-
-(define-virtual set_scroll_adjustments
- (of-object "GtkText")
- (return-type "none")
- (parameters
- '("GtkAdjustment*" "hadjustment")
- '("GtkAdjustment*" "vadjustment")
- )
-)
-
-
;; From /opt/gtk2/include/gtk-2.0/gtk/gtktextbuffer.h
(define-function gtk_text_buffer_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]