Home | History | Annotate | Download | only in gui

Lines Matching refs:Gtk

26 from gi.repository import GObject, Gtk
61 self.store = Gtk.ListStore(GObject.TYPE_STRING, GObject.TYPE_STRING,
64 self.store.set_sort_column_id(0, Gtk.SortType.ASCENDING)
65 col = Gtk.TreeViewColumn(_("Module Name"), Gtk.CellRendererText(), text=0)
69 self.store.set_sort_column_id(0, Gtk.SortType.ASCENDING)
70 col = Gtk.TreeViewColumn(_("Priority"), Gtk.CellRendererText(), text=1)
78 self.store.set_sort_column_id(2, Gtk.SortType.ASCENDING)
79 col = Gtk.TreeViewColumn(_("Kind"), Gtk.CellRendererText(), text=2)
175 dialog = Gtk.FileChooserDialog(_("Load Policy Module"),
177 Gtk.FileChooserAction.OPEN,
178 (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,
179 Gtk.STOCK_OPEN, Gtk.ResponseType.OK))
180 dialog.set_default_response(Gtk.ResponseType.OK)
182 filter = Gtk.FileFilter()
188 if response == Gtk.ResponseType.OK: