Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/o/collective.contentgroup-0.1b3/collective/contentgroup/events.py   collective.contentgroup(Download)
def initialized(obj, event):
    group_name = obj.get_group_name()    
    group_manager = IGroupManager(obj)
    group_manager.create_group(group_name)
    group_manager.set_group_title(group_name, obj.get_group_title())
 
def edited(obj, event):
    group_manager = IGroupManager(obj)
    group_manager.set_group_title(obj.get_group_name(), obj.get_group_title())