projects
/
mevemon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3165193
)
building the character sheet, including figuring out which character was selected
author
Ryan Campbell
<campbellr@gmail.com>
Mon, 19 Apr 2010 05:38:06 +0000
(23:38 -0600)
committer
Ryan Campbell
<campbellr@gmail.com>
Mon, 19 Apr 2010 05:38:06 +0000
(23:38 -0600)
ui/fremantle/ui.py
patch
|
blob
|
history
diff --git
a/ui/fremantle/ui.py
b/ui/fremantle/ui.py
index
c52d4c4
..
f4aab76
100644
(file)
--- a/
ui/fremantle/ui.py
+++ b/
ui/fremantle/ui.py
@@
-56,6
+56,24
@@
class mEveMonUI():
print treeview
print path
print view_column
print treeview
print path
print view_column
+ win = hildon.StackableWindow()
+
+ model = treeview.get_model()
+ miter = model.get_iter(path)
+
+ # column 0 is the portrait, column 1 is name
+
+ char_name = model.get_value(miter, 1)
+
+ win.set_title(char_name)
+
+ label = gtk.Label("This is a subview with information about %s" % char_name)
+
+ vbox = gtk.VBox(False, 0)
+ vbox.pack_start(label, True, True, 0)
+
+ win.add(vbox)
+ win.show_all()
def create_char_model(self):
def create_char_model(self):