Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void sigc::slot_base::set_parent ( void *  parent,
void *(*)(void *)  cleanup 
) const

Sets the parent of this slot. This function is used by signals to register a notification callback. This notification callback is executed when the slot becomes invalid because of some referred object dying.

Parameters:
parent The new parent.
cleanup The notification callback.

Definition at line 132 of file slot_base.cc.

References rep_.

Referenced by Glib::SignalProxyConnectionNode::SignalProxyConnectionNode().

{
  if (rep_)
    rep_->set_parent(parent, cleanup);
}


Generated by  Doxygen 1.6.0   Back to index