This file is indexed.

/usr/share/pymt-examples/widgets/modalwindow.py is in python-pymt 0.5.1-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from pymt import *

m = MTWindow()

# a back button, you will be unable to click on him
# cause the modal window will take all events
back = MTButton(label='Try to click me', pos=(200, 200))

# create a modal window
mw = MTModalWindow()

# add a button to close modal window
mb = MTButton(label='Close Modal')
@mb.event
def on_press(*largs):
	global mw
	m.remove_widget(mw)
mw.add_widget(mb)

# add back button
m.add_widget(back)

# add modal window
m.add_widget(mw)

runTouchApp()