[pygtk/gtk-3.0: 34/55] Deprecated: Remove GtkOptionMenu
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk/gtk-3.0: 34/55] Deprecated: Remove GtkOptionMenu
- Date: Sat, 17 Jul 2010 00:27:16 +0000 (UTC)
commit d70f2bb777e03dc773abc30fea164fbc2d8ffea3
Author: John Stowers <john stowers gmail com>
Date: Sat Jul 10 22:01:55 2010 +1200
Deprecated: Remove GtkOptionMenu
gtk/gtk-base-types.defs | 7 ------
gtk/gtk-base.defs | 56 -----------------------------------------------
2 files changed, 0 insertions(+), 63 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index 8209281..46c8a7c 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -1900,13 +1900,6 @@
(gtype-id "GTK_TYPE_OBJECT")
)
-(define-object OptionMenu
- (in-module "Gtk")
- (parent "GtkButton")
- (c-name "GtkOptionMenu")
- (gtype-id "GTK_TYPE_OPTION_MENU")
-)
-
(define-object Paned
(in-module "Gtk")
(parent "GtkContainer")
diff --git a/gtk/gtk-base.defs b/gtk/gtk-base.defs
index 9243cff..8faa45c 100644
--- a/gtk/gtk-base.defs
+++ b/gtk/gtk-base.defs
@@ -11246,62 +11246,6 @@
)
)
-;; From /opt/gtk2/include/gtk-2.0/gtk/gtkoptionmenu.h
-
-(define-function gtk_option_menu_get_type
- (c-name "gtk_option_menu_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_option_menu_new
- (c-name "gtk_option_menu_new")
- (is-constructor-of "GtkOptionMenu")
- (return-type "GtkWidget*")
- (deprecated "use gtk.ComboBox")
-)
-
-(define-method get_menu
- (of-object "GtkOptionMenu")
- (c-name "gtk_option_menu_get_menu")
- (return-type "GtkWidget*")
-)
-
-(define-method set_menu
- (of-object "GtkOptionMenu")
- (c-name "gtk_option_menu_set_menu")
- (return-type "none")
- (parameters
- '("GtkWidget*" "menu")
- )
-)
-
-(define-method remove_menu
- (of-object "GtkOptionMenu")
- (c-name "gtk_option_menu_remove_menu")
- (return-type "none")
-)
-
-(define-method get_history
- (of-object "GtkOptionMenu")
- (c-name "gtk_option_menu_get_history")
- (return-type "gint")
-)
-
-(define-method set_history
- (of-object "GtkOptionMenu")
- (c-name "gtk_option_menu_set_history")
- (return-type "none")
- (parameters
- '("guint" "index")
- )
-)
-
-(define-virtual changed
- (of-object "GtkOptionMenu")
- (return-type "none")
-)
-
-
;; From /opt/gtk2/include/gtk-2.0/gtk/gtkpaned.h
(define-function gtk_paned_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]