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

Class AdminStatusbar

source code

object --+
         |
        AdminStatusbar

I implement the status bar used in the admin UI.

Instance Methods [hide private]
 
__init__(self, widget)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
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
 
_clearContext(self, context) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, widget)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • widget - a gtk.Statusbar to wrap.
Overrides: object.__init__

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.