Extending Gtk.TextView

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Extending Gtk.TextView

Doug Blank
Does anyone have an idea what this would mean, or how to fix it?

>>> import Gtk
>>> class MyTextView(Gtk.TextView):
...>     pass
>>> mtv = MyTextView()

(pyjama:611): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.28.6/./gobject/gsignal.c:1549: signal
"set_scroll_adjustments" already exists in the `GtkTextView' class
ancestry

-Doug
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: Extending Gtk.TextView

Dino Viehland
Doug wrote:

> From: [hidden email] [mailto:users-
> [hidden email]] On Behalf Of Doug Blank
> Sent: Friday, May 06, 2011 2:13 PM
> To: Discussion of IronPython
> Subject: [IronPython] Extending Gtk.TextView
>
> Does anyone have an idea what this would mean, or how to fix it?
>
> >>> import Gtk
> >>> class MyTextView(Gtk.TextView):
> ...>     pass
> >>> mtv = MyTextView()
>
> (pyjama:611): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.28.6/./gobject/gsignal.c:1549: signal
> "set_scroll_adjustments" already exists in the `GtkTextView' class ancestry
>

Does this happen if you just subclass Gtk.TextView from C#?  We shouldn't be really
doing anything special when we subclass (other than overriding every single virtual
member).
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com