initial import of a titlebar class

This commit is contained in:
Chris Jones 2009-08-18 13:45:57 +01:00
parent 53f33109b4
commit d538b47a50
1 changed files with 21 additions and 0 deletions

21
terminatorlib/titlebar.py Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/python
# Terminator by Chris Jones <cmsj@tenshu.net>
# 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)