| Issue 89: | MTKineticList doesn't show GUI items when placed in a MTInnerWindow | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The following code:
from pymt import *
def print_me(*largs):
print 'CLICKED ON', largs[0].label
def my_onpress_handlers(*largs):
print 'touched'
mms = MTWindow()
w = MTInnerWindow(size=(600, 600))
#k = MTKineticList(pos=(20, 20), size=(400, 400), h_limit=2, w_limit=0, do_x=True,
do_y=False)
k = MTKineticList(pos=(20, 20), size=(400, 400), w_limit=3)
w.add_widget(k)
d = range(0, 10)
for x in d:
item = MTKineticItem(label=str(x))
item.push_handlers(on_press=curry(print_me, item))
k.add_widget(item)
#item = MTKineticImage(filename='/home/tito/code/nuipaint/filters/puppy.jpg')
#item.push_handlers(on_press=my_onpress_handlers)
#k.add_widget(item)
mms.add_widget(w)
runTouchApp()
---
You don't see the title bar, the delete buttons, or the search button. However, if you press
"about" where they should be, the event still fires. So it seems to be a draw bug of some sort
(maybe child elements are getting drawn after title bar should be drawn?)
Aug 12, 2009
#1
riley%ri...@gtempaccount.com
Aug 12, 2009
Fixed. See revision # f659ab0415509bdf84dbf005a0f64b
Aug 12, 2009
Closed.
Status:
Fixed
Owner: rileydutton
Aug 12, 2009
Seem it's a stencil bug, cheking
Status:
Accepted
Labels: Milestone-0.3 Component-Core |