Lines Matching refs:Gtk
22 from gi.repository import Gdk, GObject, Gtk
110 listStore = Gtk.ListStore(GObject.TYPE_STRING)
111 cell = Gtk.CellRendererText()
113 self.store = Gtk.ListStore(GObject.TYPE_BOOLEAN, GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_STRING)
114 self.store.set_sort_column_id(1, Gtk.SortType.ASCENDING)
117 checkbox = Gtk.CellRendererToggle()
119 col = Gtk.TreeViewColumn('Active', checkbox, active=ACTIVE)
124 col = Gtk.TreeViewColumn("Module", Gtk.CellRendererText(), text=MODULE)
129 col = Gtk.TreeViewColumn("Description", Gtk.CellRendererText(), text=DESC)
130 col.set_sizing(Gtk.TreeViewColumnSizing.FIXED)
136 col = Gtk.TreeViewColumn("Name", Gtk.CellRendererText(), text=BOOLEAN)
145 dlg = Gtk.MessageDialog(None, 0, Gtk.MessageType.ERROR,
146 Gtk.ButtonsType.CLOSE,
148 dlg.set_position(Gtk.WindowPosition.MOUSE)