summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.override
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gcarneiro@src.gnome.org>2004-08-22 15:29:08 +0000
committerGustavo J. A. M. Carneiro <gcarneiro@src.gnome.org>2004-08-22 15:29:08 +0000
commit09a8b0cbfcb67989846d71e63e6c8047ba57a92f (patch)
tree706e201959596bc0b679d0754765f321ab5e1668 /gtk/gtkwidget.override
parente9d37f9238a3ed4c010b1ef79ddc8a6924f74d56 (diff)
downloadpygtk-09a8b0cbfcb67989846d71e63e6c8047ba57a92f.tar.gz
Bug 150698: gtk.Widget subclassing
Diffstat (limited to 'gtk/gtkwidget.override')
-rw-r--r--gtk/gtkwidget.override8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkwidget.override b/gtk/gtkwidget.override
index 46ac1298..bfabe97f 100644
--- a/gtk/gtkwidget.override
+++ b/gtk/gtkwidget.override
@@ -24,7 +24,6 @@ ignore
gtk_widget_destroyed
gtk_widget_get
gtk_widget_getv
- gtk_widget_new
gtk_widget_newv
gtk_widget_set
gtk_widget_setv
@@ -362,3 +361,10 @@ _wrap_gtk_widget_hide_on_delete(PyGObject *self, PyObject *args)
return PyBool_FromLong(gtk_widget_hide_on_delete(GTK_WIDGET(self->obj)));
}
+%%
+override gtk_widget_new kwargs
+static int
+_wrap_gtk_widget_new(PyObject *self, PyObject *args, PyObject *kwargs)
+{
+ return PyGObject_Type.tp_init(self, args, kwargs);
+}