diff options
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. |