Logo Search packages:      
Sourcecode: samba-gtk version File versions  Download package

def sambagtk::main::SambaUtilities::push_status_message (   self,
  message 
)
Pushes a message to the status textview in the main tab. This function inserts a \"\\n\" for you.

Definition at line 279 of file main.py.

                                          :
        """Pushes a message to the status textview in the main tab. This function inserts a \"\\n\" for you."""
        buffer = self.messages_textview.get_buffer()
        text = buffer.get_text(buffer.get_start_iter(), buffer.get_end_iter())
        text += message + "\n"
        buffer.set_text(text)
        
        #scroll to the bottom
        self.messages_textview.scroll_to_iter(buffer.get_end_iter(), 0.0)
        

Generated by  Doxygen 1.6.0   Back to index