Plots now show names outside the canvas.
This commit is contained in:
parent
31527e51fd
commit
3a62580125
|
@ -256,6 +256,7 @@ class View (gtk.Frame):
|
||||||
gtk.Frame.__init__(self)
|
gtk.Frame.__init__(self)
|
||||||
self.title = title
|
self.title = title
|
||||||
self.set_shadow_type(gtk.SHADOW_NONE)
|
self.set_shadow_type(gtk.SHADOW_NONE)
|
||||||
|
self.set_label(title)
|
||||||
|
|
||||||
def get_toolbar(self):
|
def get_toolbar(self):
|
||||||
return None
|
return None
|
||||||
|
@ -265,6 +266,7 @@ class EmptyView (View):
|
||||||
"""EmptyView is shown in ViewFrames that are unused."""
|
"""EmptyView is shown in ViewFrames that are unused."""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
View.__init__(self, 'Empty view')
|
View.__init__(self, 'Empty view')
|
||||||
|
self.set_label(None)
|
||||||
label = gtk.Label('No view')
|
label = gtk.Label('No view')
|
||||||
ebox = gtk.EventBox()
|
ebox = gtk.EventBox()
|
||||||
ebox.add(label)
|
ebox.add(label)
|
||||||
|
|
Reference in New Issue