pub fn connect_node_reached<F: Fn(&PathConstraint, &Actor, u32) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId {
        unsafe extern "C" fn node_reached_trampoline<
            F: Fn(&PathConstraint, &Actor, u32) + 'static,
        >(
            this: *mut ffi::ClutterPathConstraint,
            actor: *mut ffi::ClutterActor,
            index: libc::c_uint,
            f: glib_sys::gpointer,
        ) {
            let f: &F = &*(f as *const F);
            f(&from_glib_borrow(this), &from_glib_borrow(actor), index)
        }
        unsafe {
            let f: Box_<F> = Box_::new(f);
            connect_raw(
                self.as_ptr() as *mut _,
                b"node-reached\0".as_ptr() as *const _,
                Some(transmute::<_, unsafe extern "C" fn()>(
                    node_reached_trampoline::<F> as *const (),
                )),
                Box_::into_raw(f),
            )
        }
    }
/// The ::node-reached signal is emitted each time a
/// `PathConstraint:offset` value results in the actor
/// passing a `PathNode`
/// ## `actor`
/// the `Actor` using the `constraint`
/// ## `index`
/// the index of the node that has been reached
The ::node-reached signal is emitted each time a
`PathConstraint:offset` value results in the actor
passing a `PathNode`
The :: node - reached signal is emitted each time a ` PathConstraint : offset ` value results in the actor passing a ` PathNode `
pub fn connect_node_reached<F: Fn(&PathConstraint, &Actor, u32) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId {
        unsafe extern "C" fn node_reached_trampoline<
            F: Fn(&PathConstraint, &Actor, u32) + 'static,
        >(
            this: *mut ffi::ClutterPathConstraint,
            actor: *mut ffi::ClutterActor,
            index: libc::c_uint,
            f: glib_sys::gpointer,
        ) {
            let f: &F = &*(f as *const F);
            f(&from_glib_borrow(this), &from_glib_borrow(actor), index)
        }
        unsafe {
            let f: Box_<F> = Box_::new(f);
            connect_raw(
                self.as_ptr() as *mut _,
                b"node-reached\0".as_ptr() as *const _,
                Some(transmute::<_, unsafe extern "C" fn()>(
                    node_reached_trampoline::<F> as *const (),
                )),
                Box_::into_raw(f),
            )
        }
    }
pub fn connect_node_reached < F : Fn ( & PathConstraint , & Actor , u32 ) + ' static > ( & self , f : F , ) -> SignalHandlerId { unsafe extern " " fn node_reached_trampoline < F : Fn ( & PathConstraint , & Actor , u32 ) + ' static , > ( this : * mut ffi :: ClutterPathConstraint , actor : * mut ffi :: ClutterActor , index : libc :: c_uint , f : glib_sys :: gpointer , ) { let f : & F = & * ( f as * const F ) ; f ( & from_glib_borrow ( this ) , & from_glib_borrow ( actor ) , index ) } unsafe { let f : Box_ < F > = Box_ :: new ( f ) ; connect_raw ( self . as_ptr ( ) as * mut _ , b" \0 " . as_ptr ( ) as * const _ , Some ( transmute :: < _ , unsafe extern " " fn ( ) > ( node_reached_trampoline :: < F > as * const ( ) , ) ) , Box_ :: into_raw ( f ) , ) } }
The ::node-reached signal is emitted each time a
`PathConstraint:offset` value results in the actor
passing a `PathNode`
The :: node - reached signal is emitted each time a ` PathConstraint : offset ` value results in the actor passing a ` PathNode `
&self
f
F
`actor`
the `Actor` using the `constraint`
the ` Actor ` using the ` constraint `
`index`
the index of the node that has been reached
the index of the node that has been reached