Package advene :: Package gui :: Package views :: Module accumulatorpopup :: Class AccumulatorPopup
[hide private]
[frames] | no frames]

Class AccumulatorPopup

source code

object --+    
         |    
 AdhocView --+
             |
            AccumulatorPopup
Known Subclasses:

View displaying a limited number of popups.

Instance Methods [hide private]
 
__init__(self, controller=None, autohide=False, size=3, vertical=False, scrollable=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
undisplay_cb(self, button=None, widget=None) source code
 
display_message(self, message='', timeout=None, title=None)
Convenience method.
source code
 
display(self, widget=None, timeout=None, title=None)
Display the given widget.
source code
 
set_color(self, button, color) source code
 
get_popup_width(self)
Return the requested popup width
source code
 
undisplay(self, widget=None) source code
 
hide(self, *p, **kw) source code
 
show(self, *p, **kw) source code
 
update_position(self, pos) source code
 
build_widget(self) source code

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

    Inherited from AdhocView
 
attach_view(self, menuitem, window) source code
 
close(self, *p) source code
 
export_as_static_view(self, ident=None)
Propose to export the view as a static view.
source code
 
get_save_arguments(self)
Method called when saving a parametered view.
source code
 
get_widget(self)
Return the widget.
source code
 
load_parameters(self, param)
Parse the parameters from a Content object, a tuple or an ElementTree.Element
source code
 
log(self, msg, level=None) source code
 
message(self, m)
Display a message in the statusbar, if present.
source code
 
parameters_to_element(self, options=None, arguments=None)
Generate an ET.Element representing the view and its parameters.
source code
 
popup(self, label=None) source code
 
register_slave_view(self, v) source code
 
safe_connect(self, obj, *p)
Connect a signal handler to a gobject.
source code
 
save_default_options(self, *p)
Save the default options.
source code
 
save_parameters(self, content, options=None, arguments=None)
Save the view parameters to a Content object.
source code
 
save_view(self, *p) source code
 
set_label(self, label) source code
 
unregister_slave_view(self, v) source code
Class Variables [hide private]
  view_name = 'PopupAccumulator'
  view_id = 'popupaccumulator'
  tooltip = 'Stack a limited number of popup widgets'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, controller=None, autohide=False, size=3, vertical=False, scrollable=False)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

display(self, widget=None, timeout=None, title=None)

source code 

Display the given widget.

timeout is in ms. title is either a string (that will be converted to a label), or a gtk widget.

get_popup_width(self)

source code 

Return the requested popup width

According to the hbox size and the max number of popups.

build_widget(self)

source code 
Overrides: AdhocView.build_widget