Package flumotion :: Package admin :: Package gtk :: Module parts :: Class AdminStatusbar
[hide private]

Class AdminStatusbar

source code

I implement the status bar used in the admin UI.

Instance Methods [hide private]
 
__init__(self, widget) source code
 
clear(self, context=None)
Clear the status bar for the given context, or for all contexts if none specified.
source code
 
push(self, context, message)
Push the given message for the given context.
source code
 
pop(self, context)
Pop the last message for the given context.
source code
 
set(self, context, message)
Replace the current top message for this context with this new one.
source code
 
remove(self, context, mid)
Remove the message with the given id from the given context.
source code
 
_clear_context(self, context) source code
Method Details [hide private]

__init__(self, widget)
(Constructor)

source code 
Parameters:
  • widget - a gtk.Statusbar to wrap.

push(self, context, message)

source code 

Push the given message for the given context.

Returns:
message id

pop(self, context)

source code 

Pop the last message for the given context.

Returns:
message id popped, or None

set(self, context, message)

source code 

Replace the current top message for this context with this new one.

Returns:
the message id of the message pushed

remove(self, context, mid)

source code 

Remove the message with the given id from the given context.

Returns:
whether or not the given mid was valid.