My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Fixed
Owner:  rileydutton@gmail.com
Closed:  Aug 2009


 
Reported by riley%ri...@gtempaccount.com, Aug 12, 2009
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
I verified that you can add a MTKinteticList to a MTScatterWidget, and the GUI still displays. So the bug is 
somewhere in the MTInnerWindow code, most likely.
Aug 12, 2009
#2 riley%ri...@gtempaccount.com
Fixed. See revision # f659ab0415509bdf84dbf005a0f64b
Aug 12, 2009
Project Member #3 rileydutton@gmail.com
Closed.
Status: Fixed
Owner: rileydutton
Aug 12, 2009
Project Member #4 txprog
Seem it's a stencil bug, cheking
Status: Accepted
Labels: Milestone-0.3 Component-Core
Aug 12, 2009
Project Member #5 txprog
This issue was closed by revision fa5cabe45d.
Status: Fixed

Powered by Google Project Hosting