mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 19:40:21 +01:00
* Code clean up in dialog and configuration views.
This commit is contained in:
@@ -11,5 +11,4 @@ class ConfigView(View):
|
||||
def __init__(self, ctrl):
|
||||
View.__init__(self, ctrl, self.GLADE)
|
||||
return
|
||||
|
||||
pass # end of class
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
import gtk
|
||||
|
||||
class Qst(object):
|
||||
"""Show simple dialog for questions"""
|
||||
"""Show simple dialog for questions
|
||||
if "OK" button pressed, return "True"
|
||||
"Cancel" button return "False"
|
||||
"""
|
||||
def __init__(self, title="", message=""):
|
||||
self.dialog = gtk.MessageDialog(
|
||||
flags = gtk.DIALOG_DESTROY_WITH_PARENT,
|
||||
|
||||
Reference in New Issue
Block a user