[][src]Type Definition irssi_sys::GSourceFunc

type GSourceFunc = Option<unsafe extern "C" fn(user_data: gpointer) -> gboolean>;

GSourceFunc: @user_data: data passed to the function, set when the source was created with one of the above functions

Specifies the type of function passed to g_timeout_add(), g_timeout_add_full(), g_idle_add(), and g_idle_add_full().

Returns: %FALSE if the source should be removed. #G_SOURCE_CONTINUE and #G_SOURCE_REMOVE are more memorable names for the return value.