20 lines
422 B
Python
20 lines
422 B
Python
# Bryan Schumaker (8/13/2010)
|
|
|
|
import ocarina
|
|
|
|
libsaria = ocarina.libsaria
|
|
gtk = ocarina.gtk
|
|
|
|
class Tabs(gtk.Notebook):
|
|
def __init__(self):
|
|
gtk.Notebook.__init__(self)
|
|
self.set_tab_pos(gtk.POS_LEFT)
|
|
self.show()
|
|
|
|
|
|
def append_page(self, content, text):
|
|
label = gtk.Label(text)
|
|
label.set_angle(90)
|
|
gtk.Notebook.append_page(self, content, label)
|
|
self.set_tab_label_packing(content, True, True, gtk.PACK_START)
|