12345678910111213141516171819 |
- import gi
- gi.require_version('Gtk', '3.0')
- from gi.repository import Gtk
- class OperationBox(Gtk.VBox):
- def __init__(self, *args, **kwds):
- super().__init__(*args, **kwds)
- self.current_selection=None
- self.init(None)
- def init(self, sel):
- self.current_selection=sel
- if sel: pass
- else: pass
|