diff options
-rw-r--r-- | sugarvte/vteview.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sugarvte/vteview.py b/sugarvte/vteview.py index 395d2db..489476d 100644 --- a/sugarvte/vteview.py +++ b/sugarvte/vteview.py @@ -46,7 +46,7 @@ class View(Gtk.Widget, Gtk.Scrollable): 'paste-primary': (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, tuple())} __gproperties__ = {'word-chars' : (GObject.TYPE_PYOBJECT, 'word chars', '', - GObject.PARAM_READWRITE)} + GObject.PARAM_READWRITE),} char_width = 1 char_height = 2 char_ascent = 3 @@ -55,6 +55,7 @@ class View(Gtk.Widget, Gtk.Scrollable): underline_position = 1 strikethrough_position = 1 scroll_on_keystroke = True + bell_margin = 10 def __init__(self): GObject.GObject.__init__(self) @@ -63,6 +64,9 @@ class View(Gtk.Widget, Gtk.Scrollable): self.set_redraw_on_allocate(False) self.set_word_chars(None) + + audible_bell = GObject.property(type=bool, default=True) + allow_bold = GObject.property(type=bool, default=True) vadjustment = GObject.property(type=Gtk.Adjustment) hadjustment = GObject.property(type=Gtk.Adjustment) hscroll_policy = GObject.property(type=Gtk.ScrollablePolicy, default=Gtk.ScrollablePolicy.NATURAL) |