47 |
|
|
48 |
def load(self): |
def load(self): |
49 |
|
|
|
self.wm_actions.call_action('popup', 'foo') |
|
50 |
self.screen = self.display.screen() |
self.screen = self.display.screen() |
51 |
self.colormap = self.screen.default_colormap |
self.colormap = self.screen.default_colormap |
52 |
font = self.display.open_font("9x15") |
font = self.display.open_font("9x15") |
101 |
print "EXPOSE" |
print "EXPOSE" |
102 |
|
|
103 |
if event.type == X.ButtonPress: |
if event.type == X.ButtonPress: |
104 |
|
print event.window |
105 |
focus_win = self.display.get_input_focus().focus |
focus_win = self.display.get_input_focus().focus |
106 |
# focus_win = self.display.create_resourIce_object('window', focus_win_id) |
# focus_win = self.display.create_resourIce_object('window', focus_win_id) |
107 |
print focus_win |
print focus_win |