From d538b47a50419c8866b0aa8ee20e3d10bb6950ea Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 18 Aug 2009 13:45:57 +0100 Subject: [PATCH] initial import of a titlebar class --- terminatorlib/titlebar.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 terminatorlib/titlebar.py diff --git a/terminatorlib/titlebar.py b/terminatorlib/titlebar.py new file mode 100755 index 00000000..224d5800 --- /dev/null +++ b/terminatorlib/titlebar.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# Terminator by Chris Jones +# GPL v2 only +"""titlebar.py - classes necessary to provide a terminal title bar""" + +import gtk +import gobject + +from translation import _ + +class Titlebar(gtk.EventBox): + """Class implementing the Titlebar widget""" + + def __init__(self): + """Class initialiser""" + gtk.EventBox.__init__(self) + self.__gobject__init() + + self.show() + +gobject.type_register(Titlebar)