/[circus]/circus/modules/CircusFrame/frame.py
ViewVC logotype

Diff of /circus/modules/CircusFrame/frame.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by tvon, Sat Nov 23 21:37:21 2002 UTC revision 1.11 by tvon, Sat Nov 23 22:17:01 2002 UTC
# Line 47  class MyModule(module.Module): Line 47  class MyModule(module.Module):
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")
# Line 102  class MyModule(module.Module): Line 101  class MyModule(module.Module):
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

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26