Lines Matching refs:Gtk
20 from gi.repository import Gdk, Gtk
45 while Gtk.events_pending():
46 Gtk.main_iteration()
109 dlg = Gtk.MessageDialog(None, 0, Gtk.MessageType.INFO,
110 Gtk.ButtonsType.YES_NO,
113 dlg.set_position(Gtk.WindowPosition.MOUSE)
120 dlg = Gtk.MessageDialog(None, 0, Gtk.MessageType.ERROR,
121 Gtk.ButtonsType.CLOSE,
123 dlg.set_position(Gtk.WindowPosition.MOUSE)
130 if (it is not None) and (self.verify(_("Are you sure you want to delete %s '%s'?" % (self.description, store.get_value(it, 0))), _("Delete %s" % self.description)) == Gtk.ResponseType.YES):
139 self.dialog.set_position(Gtk.WindowPosition.MOUSE)
141 while self.dialog.run() == Gtk.ResponseType.OK:
153 self.dialog.set_position(Gtk.WindowPosition.MOUSE)
154 while self.dialog.run() == Gtk.ResponseType.OK: