54 lines
1.1 KiB
Python
54 lines
1.1 KiB
Python
|
# Bryan Schumaker (11/25/2010)
|
||
|
|
||
|
import gtk
|
||
|
from ocarina.body.button import make_button
|
||
|
import entry
|
||
|
|
||
|
header = gtk.VBox()
|
||
|
header_body = gtk.HBox()
|
||
|
header_sep = gtk.HSeparator()
|
||
|
|
||
|
header.pack_start(header_body)
|
||
|
header.pack_start(header_sep)
|
||
|
header.show_all()
|
||
|
|
||
|
header_body.pack_start(entry.entry)
|
||
|
|
||
|
#import ocarina
|
||
|
#from ocarina.components import button
|
||
|
#from ocarina.components import entry
|
||
|
|
||
|
#gtk = ocarina.gtk
|
||
|
#header = None
|
||
|
#bar = None
|
||
|
|
||
|
|
||
|
#def bar_add(widget, expand = False, fill = False):
|
||
|
#bar.pack_start(widget, expand, fill)
|
||
|
|
||
|
#def init():
|
||
|
#global header
|
||
|
#global bar
|
||
|
|
||
|
#header = gtk.VBox()
|
||
|
#bar = gtk.HBox()
|
||
|
#sep = gtk.HSeparator()
|
||
|
#vsep = gtk.VSeparator()
|
||
|
#vsep.show()
|
||
|
#header.pack_start(bar)
|
||
|
#header.pack_start(sep)
|
||
|
#header.show_all()
|
||
|
|
||
|
#bar_add(entry.FilterEntry(), True, True)
|
||
|
#bar_add(button.OpenButton())
|
||
|
#bar_add(button.SaveButton())
|
||
|
#bar_add(button.ExportButton())
|
||
|
#bar_add(button.SettingsButton())
|
||
|
#bar_add(vsep)
|
||
|
#bar_add(button.UpdateButton())
|
||
|
#bar_add(button.ClearButton())
|
||
|
#bar_add(button.GotoButton())
|
||
|
#bar_add(button.RandomButton())
|
||
|
#bar_add(button.VolumeButton())
|
||
|
#init()
|