[gedit-list] plugin statusbar



Hi,

How can I add a text on my window's status? I checked others plugins
and they used something like:

self.statusbar = window.get_statusbar()
self.context_id = self.statusbar.get_context_id('MyPluginNameStatusbar')

self.statusbar.pop(self.context_id)
   if text is not None:
       self.statusbar.push(self.context_id, text)

But it looks that my test is being overwritten by others. How do I do
to add something like Line/Columns status text?

Thanks,

--
Nando Vieira
bloggin' @ http://simplesideias.com.br
money  @ http://spesa.com.br



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]