And more text entry stuff.
This commit is contained in:
+9
-4
@@ -37,11 +37,8 @@ canvas.set_root(vbox)
|
||||
toolbar = Toolbar()
|
||||
vbox.append(toolbar)
|
||||
|
||||
frame = Frame()
|
||||
toolbar.append(frame)
|
||||
|
||||
button = Button('theme:stock-close')
|
||||
frame.append(button)
|
||||
toolbar.append(button)
|
||||
|
||||
entry = Entry()
|
||||
entry.props.text = 'mec mac'
|
||||
@@ -51,4 +48,12 @@ entry2 = Entry()
|
||||
entry2.props.text = 'moc muc'
|
||||
toolbar.append(entry2, hippo.PACK_EXPAND)
|
||||
|
||||
gtk_entry = gtk.Entry()
|
||||
gtk_entry.props.has_frame = False
|
||||
#gtk_entry.connect("activate", self._entry_activate_cb)
|
||||
|
||||
gtk_entry_widget = hippo.CanvasWidget()
|
||||
gtk_entry_widget.props.widget = gtk_entry
|
||||
toolbar.append(gtk_entry_widget, hippo.PACK_EXPAND)
|
||||
|
||||
gtk.main()
|
||||
|
||||
Reference in New Issue
Block a user