Definition at line 302 of file emcalc_gui.py.
def emcalc_gui.TextView.__init__ |
( |
|
self | ) |
|
Definition at line 303 of file emcalc_gui.py.
307 self.text_window.set_title(
'Value with Text')
308 self.text_window.set_position(gtk.WIN_POS_MOUSE)
309 self.text_window.set_default_size(500, 300)
312 self.text_window.add(vbox)
314 sw = gtk.ScrolledWindow()
315 sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
319 textview = gtk.TextView()
323 hbox = gtk.HButtonBox()
324 hbox.set_layout(gtk.BUTTONBOX_END)
325 hbox.set_border_width(self.
__margin)
326 vbox.pack_start(hbox, expand=
False)
328 close_button = gtk.Button(stock = gtk.STOCK_CLOSE)
330 hbox.add(close_button)