/[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.7 by tvon, Sat Nov 23 17:15:23 2002 UTC revision 1.8 by tvon, Sat Nov 23 19:43:43 2002 UTC
# Line 57  class MyModule(module.Module): Line 57  class MyModule(module.Module):
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    
# Line 127  class MyModule(module.Module): Line 131  class MyModule(module.Module):
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:

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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