From e32b3939205052683883709d75cabb776d12604f Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Thu, 16 Jul 2009 13:52:32 +0000 Subject: [PATCH] add gramps widget catalog for use with glade-3 svn: r12809 --- src/glade/catalog/grampswidgets.py | 14 ++++++++++++++ src/glade/catalog/grampswidgets.xml | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/glade/catalog/grampswidgets.py create mode 100644 src/glade/catalog/grampswidgets.xml diff --git a/src/glade/catalog/grampswidgets.py b/src/glade/catalog/grampswidgets.py new file mode 100644 index 000000000..ee73dab42 --- /dev/null +++ b/src/glade/catalog/grampswidgets.py @@ -0,0 +1,14 @@ +import gobject +import gtk + +class ValidatableMaskedEntry(gtk.Entry): + __gtype_name__ = 'ValidatableMaskedEntry' + + def __init__(self): + gtk.Entry.__init__(self) + +class StyledTextEditor(gtk.TextView): + __gtype_name__ = 'StyledTextEditor' + + def __init__(self): + gtk.Entry.__init__(self) diff --git a/src/glade/catalog/grampswidgets.xml b/src/glade/catalog/grampswidgets.xml new file mode 100644 index 000000000..00849fc0a --- /dev/null +++ b/src/glade/catalog/grampswidgets.xml @@ -0,0 +1,18 @@ + + glade_python_init + + + + + + + + +