Package advene :: Package gui :: Package edit :: Module rules :: Class EditRule
[hide private]
[frames] | no frames]

Class EditRule

source code

EditGeneric --+
              |
             EditRule

Instance Methods [hide private]
 
__init__(self, rule, catalog=None, editable=True, controller=None) source code
 
set_update_label(self, l)
Specify a label to be updated when the rule name changes
source code
 
drag_sent(self, widget, context, selection, targetType, eventTime) source code
 
invalid_items(self)
Returns the names of invalid items.
source code
 
update_value(self)
Updates the value of the represented element.
source code
 
update_name(self, entry) source code
 
remove_condition(self, widget, conditionwidget, hbox) source code
 
remove_action(self, widget, actionwidget, hbox) source code
 
add_condition(self, widget, conditionsbox) source code
 
add_condition_widget(self, cond, conditionsbox) source code
 
add_action(self, widget, actionsbox)
Callback for the Add action button.
source code
 
add_action_widget(self, action, actionsbox)
Add an action widget to the given actionsbox.
source code
 
build_widget(self) source code
    Inherited from EditGeneric
 
get_model(self) source code
 
get_widget(self) source code
Method Details [hide private]

invalid_items(self)

source code 

Returns the names of invalid items.

Overrides: EditGeneric.invalid_items
(inherited documentation)

update_value(self)

source code 

Updates the value of the represented element.

After that, the element can be accessed through get_model().

Overrides: EditGeneric.update_value
(inherited documentation)