You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now they emit warnings:
```
gtk_spreadsheet_sgskip.py:36: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "homogeneous, spacing" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
vbox = Gtk.VBox(False, 8)
gtk_spreadsheet_sgskip.py:39: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
label = Gtk.Label('Double click a row to plot the data')
gtk_spreadsheet_sgskip.py:51: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "model" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
self.treeview = Gtk.TreeView(model)
gtk_spreadsheet_sgskip.py:52: DeprecationWarning: Gtk.TreeView.set_rules_hint is deprecated
self.treeview.set_rules_hint(True)
```
```
pylab_with_gtk_sgskip.py:30: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
button = Gtk.Button('Click me')
```
Fix that, and some more.
0 commit comments