diff options
author | Simon Poirier <simpoir@gmail.com> | 2009-10-24 21:18:52 (GMT) |
---|---|---|
committer | Simon Poirier <simpoir@gmail.com> | 2009-10-24 21:18:52 (GMT) |
commit | a6e312c9f0e1bd690963191bb5331eaabb06b431 (patch) | |
tree | a9f8589299de7bf09291e94e533005dc0cee7f10 /tutorius/properties.py | |
parent | 704e35494433a11ecdcf675fff7cfccaa8bbd2ec (diff) |
creator with viewer and non-linear editing.
Conflicts:
tutorius/creator.py
Diffstat (limited to 'tutorius/properties.py')
-rw-r--r-- | tutorius/properties.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tutorius/properties.py b/tutorius/properties.py index cbb2ae3..68e6091 100644 --- a/tutorius/properties.py +++ b/tutorius/properties.py @@ -331,6 +331,16 @@ class TAddonProperty(TutoriusProperty): return super(TAddonProperty, self).validate(value) raise ValueError("Expected TPropContainer instance as TaddonProperty value") +class TGtkSignal(TutoriusProperty): + """ + Represents a gobject signal for a GTK widget. + """ + def __init__(self, value): + TutoriusProperty.__init__(self) + self.type = "gtk-signal" + + self.default = self.validate(value) + class TAddonListProperty(TutoriusProperty): """ Reprensents an embedded tutorius Addon List Component. |