I am currently writing a Python plugin for Gedit. The overridden remove() method is causing some problems for me.
When plugins are deactivated, a callback is triggered that allows them to remove any widgets they may have added to the Gedit window on activation. For my plugin, a natural place for a status indicator widget is inside the gtk.Statusbar (which inherits from HBox), right next to the line and column number (which is also a gtk.Label packed into the Statusbar). However, there is no way for me to remove this widget again, since the remove() method now does something completely different. Are there any workarounds for this? I tried using unparent() instead, but that crashes Gedit. Is this overriding method a bug in PyGTK? I see that gtkmm names the Statusbar method "remove_message". Thanks, Karl
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
