Logo Search packages:      
Sourcecode: accerciser version File versions

def event_monitor::EventMonitor::_writeText (   self,
  text,
  tags 
) [private]

Convinience function for inserting text in to the text buffer.
If tags are provided they are applied to the inserted text.

@param text: Text to insert
@type text: string
@param *tags: List of optional tags to insert with text
@type *tags: list of gtk.TextTag

Definition at line 338 of file event_monitor.py.

00338                                    :
    '''
    Convinience function for inserting text in to the text buffer.
    If tags are provided they are applied to the inserted text.
    
    @param text: Text to insert
    @type text: string
    @param *tags: List of optional tags to insert with text
    @type *tags: list of gtk.TextTag
    '''
    if tags:
      self.monitor_buffer.insert_with_tags(
        self.monitor_buffer.get_iter_at_mark(self.monitor_mark),
        text, *tags)
    else:
      self.monitor_buffer.insert(
        self.monitor_buffer.get_iter_at_mark(self.monitor_mark),
        text)

  def _createHyperlink(self, acc):


Generated by  Doxygen 1.6.0   Back to index