Prettier script widget

master
Yevgen Muntyan 2007-03-26 23:27:35 -05:00
parent feeeefdc31
commit c160b696f1
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ class PyCmdFactory(moo.edit.CommandFactory):
def do_create_widget(self):
swin = gtk.ScrolledWindow()
swin.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
swin.set_shadow_type(gtk.SHADOW_ETCHED_IN)
textview = moo.edit.TextView()
swin.add(textview)
swin.show_all()