[pygtk/gtk-3.0: 37/55] Deprecated: Remove GtkProgress
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk/gtk-3.0: 37/55] Deprecated: Remove GtkProgress
- Date: Sat, 17 Jul 2010 00:27:31 +0000 (UTC)
commit 088f7d4b472691959adad1b5c6e783aa57453a57
Author: John Stowers <john stowers gmail com>
Date: Sat Jul 10 22:25:13 2010 +1200
Deprecated: Remove GtkProgress
gtk/gtk-base-types.defs | 9 +---
gtk/gtk-base.defs | 147 -----------------------------------------------
2 files changed, 1 insertions(+), 155 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index 46c8a7c..0c469ae 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -1914,16 +1914,9 @@
(gtype-id "GTK_TYPE_PLUG")
)
-(define-object Progress
- (in-module "Gtk")
- (parent "GtkWidget")
- (c-name "GtkProgress")
- (gtype-id "GTK_TYPE_PROGRESS")
-)
-
(define-object ProgressBar
(in-module "Gtk")
- (parent "GtkProgress")
+ (parent "GtkWidget")
(c-name "GtkProgressBar")
(gtype-id "GTK_TYPE_PROGRESS_BAR")
)
diff --git a/gtk/gtk-base.defs b/gtk/gtk-base.defs
index c7550c9..1d1bdde 100644
--- a/gtk/gtk-base.defs
+++ b/gtk/gtk-base.defs
@@ -11408,153 +11408,6 @@
;; From /opt/gtk2/include/gtk-2.0/gtk/gtkprivate.h
-
-
-;; From /opt/gtk2/include/gtk-2.0/gtk/gtkprogress.h
-
-(define-function gtk_progress_get_type
- (c-name "gtk_progress_get_type")
- (return-type "GType")
-)
-
-(define-method set_show_text
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_show_text")
- (return-type "none")
- (parameters
- '("gboolean" "show_text")
- )
- (deprecated "gtk.Progress.set_show_text is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method set_text_alignment
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_text_alignment")
- (return-type "none")
- (parameters
- '("gfloat" "x_align")
- '("gfloat" "y_align")
- )
- (deprecated "gtk.Progress.set_text_alignment is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method set_format_string
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_format_string")
- (return-type "none")
- (parameters
- '("const-gchar*" "format")
- )
- (deprecated "gtk.Progress.set_format_string is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method set_adjustment
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_adjustment")
- (return-type "none")
- (parameters
- '("GtkAdjustment*" "adjustment")
- )
- (deprecated "gtk.Progress.set_adjustment is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method configure
- (of-object "GtkProgress")
- (c-name "gtk_progress_configure")
- (return-type "none")
- (parameters
- '("gdouble" "value")
- '("gdouble" "min")
- '("gdouble" "max")
- )
- (deprecated "gtk.Progress.configure is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method set_percentage
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_percentage")
- (return-type "none")
- (parameters
- '("gdouble" "percentage")
- )
- (deprecated "gtk.Progress.set_percentage is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method set_value
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_value")
- (return-type "none")
- (parameters
- '("gdouble" "value")
- )
- (deprecated "gtk.Progress.set_value is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method get_value
- (of-object "GtkProgress")
- (c-name "gtk_progress_get_value")
- (return-type "gdouble")
- (deprecated "gtk.Progress.get_value is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method set_activity_mode
- (of-object "GtkProgress")
- (c-name "gtk_progress_set_activity_mode")
- (return-type "none")
- (parameters
- '("gboolean" "activity_mode")
- )
- (deprecated "gtk.Progress.set_activity_mode is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method get_current_text
- (of-object "GtkProgress")
- (c-name "gtk_progress_get_current_text")
- (return-type "gchar*")
- (deprecated "gtk.Progress.get_current_text is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method get_text_from_value
- (of-object "GtkProgress")
- (c-name "gtk_progress_get_text_from_value")
- (return-type "gchar*")
- (parameters
- '("gdouble" "value")
- )
- (deprecated "gtk.Progress.get_text_from_value is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method get_current_percentage
- (of-object "GtkProgress")
- (c-name "gtk_progress_get_current_percentage")
- (return-type "gdouble")
- (deprecated "gtk.Progress.get_current_percentage is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-method get_percentage_from_value
- (of-object "GtkProgress")
- (c-name "gtk_progress_get_percentage_from_value")
- (return-type "gdouble")
- (parameters
- '("gdouble" "value")
- )
- (deprecated "gtk.Progress.get_percentage_from_value is deprecated, use gtk.ProgressBar methods")
-)
-
-(define-virtual paint
- (of-object "GtkProgress")
- (return-type "none")
-)
-(define-virtual update
- (of-object "GtkProgress")
- (return-type "none")
-)
-(define-virtual act_mode_enter
- (of-object "GtkProgress")
- (return-type "none")
-)
-
-
;; From /opt/gtk2/include/gtk-2.0/gtk/gtkprogressbar.h
(define-function gtk_progress_bar_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]