57 |
font = font) |
font = font) |
58 |
|
|
59 |
for win in self.screen.root.query_tree().children: |
for win in self.screen.root.query_tree().children: |
60 |
|
for atom in win.list_properties(): |
61 |
|
print self.display.get_atom_name(atom) |
62 |
|
print win.get_wm_class() |
63 |
|
print win.get_wm_name() |
64 |
self.build_win(win) |
self.build_win(win) |
65 |
|
|
66 |
|
|
131 |
def handle_event(self, event): |
def handle_event(self, event): |
132 |
|
|
133 |
if event.type == X.Expose: |
if event.type == X.Expose: |
134 |
|
win.get_wm_name() |
135 |
print "EXPOSE" |
print "EXPOSE" |
136 |
|
|
137 |
if event.type == X.ButtonPress: |
if event.type == X.ButtonPress: |