parameters: (self)
docstring: Update the statusbar with node info
docstring_summary: Update the statusbar with node info
docstring_tokens: Update the statusbar with node info
function: def update_selected_node_statusbar_info(self):
          """Update the statusbar with node info"""
          if not self.curr_tree_iter:
              statusbar_text = _("No Node is Selected")
          else:
              separator_text = "  -  "
              statusbar_text = _("Node Type") + _(": ")
              if self.syntax_highlighting == cons.RICH_TEXT_ID: statusbar_text += _("Rich Text")
              elif self.syntax_highlighting == cons.PLAIN_TEXT_ID: statusbar_text += _("Plain Text")
              else: statusbar_text += self.syntax_highlighting
              if self.treestore[self.curr_tree_iter][6]: statusbar_text += separator_text + _("Tags") + _(": ") + self.treestore[self.curr_tree_iter][6]
              if self.enable_spell_check and self.syntax_highlighting == cons.RICH_TEXT_ID:
                  statusbar_text += separator_text + _("Spell Check") + _(": ") + self.spell_check_lang
              if self.word_count:
                  statusbar_text += separator_text + _("Word Count") + _(": ") + str(support.get_word_count(self))
              ts_creation = self.treestore[self.curr_tree_iter][12]
              if ts_creation:
                  timestamp_creation = support.get_timestamp_str(self.timestamp_format, ts_creation)
                  statusbar_text += separator_text + _("Date Created") + _(": ") + timestamp_creation
              ts_lastsave = self.treestore[self.curr_tree_iter][13]
              if ts_lastsave:
                  timestamp_lastsave = support.get_timestamp_str(self.timestamp_format, ts_lastsave)
                  statusbar_text += separator_text + _("Date Modified") + _(": ") + timestamp_lastsave
              print "sel node id=%s, seq=%s" % (self.treestore[self.curr_tree_iter][3], self.treestore[self.curr_tree_iter][5])
          self.statusbar.pop(self.statusbar_context_id)
          self.statusbar.push(self.statusbar_context_id, statusbar_text)
function_tokens: def update_selected_node_statusbar_info ( self ) : if not self . curr_tree_iter : statusbar_text = _ ( "No Node is Selected" ) else : separator_text = "  -  " statusbar_text = _ ( "Node Type" ) + _ ( ": " ) if self . syntax_highlighting == cons . RICH_TEXT_ID : statusbar_text += _ ( "Rich Text" ) elif self . syntax_highlighting == cons . PLAIN_TEXT_ID : statusbar_text += _ ( "Plain Text" ) else : statusbar_text += self . syntax_highlighting if self . treestore [ self . curr_tree_iter ] [ 6 ] : statusbar_text += separator_text + _ ( "Tags" ) + _ ( ": " ) + self . treestore [ self . curr_tree_iter ] [ 6 ] if self . enable_spell_check and self . syntax_highlighting == cons . RICH_TEXT_ID : statusbar_text += separator_text + _ ( "Spell Check" ) + _ ( ": " ) + self . spell_check_lang if self . word_count : statusbar_text += separator_text + _ ( "Word Count" ) + _ ( ": " ) + str ( support . get_word_count ( self ) ) ts_creation = self . treestore [ self . curr_tree_iter ] [ 12 ] if ts_creation : timestamp_creation = support . get_timestamp_str ( self . timestamp_format , ts_creation ) statusbar_text += separator_text + _ ( "Date Created" ) + _ ( ": " ) + timestamp_creation ts_lastsave = self . treestore [ self . curr_tree_iter ] [ 13 ] if ts_lastsave : timestamp_lastsave = support . get_timestamp_str ( self . timestamp_format , ts_lastsave ) statusbar_text += separator_text + _ ( "Date Modified" ) + _ ( ": " ) + timestamp_lastsave print "sel node id=%s, seq=%s" % ( self . treestore [ self . curr_tree_iter ] [ 3 ] , self . treestore [ self . curr_tree_iter ] [ 5 ] ) self . statusbar . pop ( self . statusbar_context_id ) self . statusbar . push ( self . statusbar_context_id , statusbar_text )