/[ascend]/trunk/pygtk/interface/observer.py
ViewVC logotype

Diff of /trunk/pygtk/interface/observer.py

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

revision 250 by johnpye, Wed Feb 1 04:01:10 2006 UTC revision 251 by johnpye, Wed Feb 1 04:33:46 2006 UTC
# Line 80  class ObserverTab: Line 80  class ObserverTab:
80          # keep the data in self.rows as well          # keep the data in self.rows as well
81          self.rows[self.activerow] = _r;          self.rows[self.activerow] = _r;
82    
83      def copy_to_clipboard(self):      def copy_to_clipboard(self,clip):
         _clip = gtk.Clipboard()  
84          _t = ""          _t = ""
85          for _r in self.rows:          for _r in self.rows:
86              _t += '\t'.join([`_c` for _c in _r]) + '\n'              _t += '\t'.join([`_c` for _c in _r]) + '\n'
87          _clip.set_text(_t,len(_t))          clip.set_text(_t,len(_t))
88          print "TEXT ON CLIPBOARD IS",_t          print "TEXT ON CLIPBOARD IS",_t
89    
90      def make_row(self,isactive,row):      def make_row(self,isactive,row):

Legend:
Removed from v.250  
changed lines
  Added in v.251

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22