• Home
  • Raw
  • Download

Lines Matching full:handlers

66  * provided handlers are frequently connected and disconnected to/from a certain
75 * 2 - Invocation of normal user-provided signal handlers (<emphasis>after</emphasis> flag %FALSE)
81 …* 4 - Invocation of user provided signal handlers, connected with an <emphasis>after</emphasis> f…
87 * The user-provided signal handlers are called in the order they were
89 * All handlers may prematurely stop a signal emission, and any number of
90 * handlers may be connected, disconnected, blocked or unblocked during
92 * There are certain criteria for skipping user handlers in stages 2 and 4
94 * First, user handlers may be <emphasis>blocked</emphasis>, blocked handlers are omitted
101 * Specification of no detail argument for signal handlers (omission of the
239 Handler *handlers; member
240 Handler *tail_before; /* normal signal handlers are appended here */
241 Handler *tail_after; /* CONNECT_AFTER handlers are appended here */
382 key.handlers = NULL; in handler_list_ensure()
430 for (handler = hlist->handlers; handler; handler = handler->next) in handler_lookup()
497 for (handler = hlist ? hlist->handlers : NULL; handler; handler = handler->next) in handlers_find()
534 for (handler = hlist->handlers; handler; handler = handler->next) in handlers_find()
606 hlist->handlers = handler->next; in handler_unref_R()
653 if (!hlist->handlers) in handler_insert()
655 hlist->handlers = handler; in handler_insert()
674 else /* insert !after handler into a list of only after handlers */ in handler_insert()
676 handler->next = hlist->handlers; in handler_insert()
679 hlist->handlers = handler; in handler_insert()
810 * @instance: the object whose signal handlers you wish to stop.
1062 * @instance: the object whose signal handlers you wish to stop.
1336 /* optimize NOP emissions with NULL class handlers */ in g_signal_new()
2325 * handlers are called during signal emissions is deterministic,
2436 Handler *handler = hlist->handlers; in g_signal_handlers_destroy()
2444 /* cruel unlink, this works because _all_ handlers vanish */ in g_signal_handlers_destroy()
2541 * @instance: The instance to block handlers from.
2543 * and/or @data the handlers have to match.
2544 * @signal_id: Signal the handlers have to be connected to.
2545 * @detail: Signal detail the handlers have to be connected to.
2546 * @closure: The closure the handlers will invoke.
2547 * @func: The C closure callback of the handlers (useless for non-C closures).
2548 * @data: The closure data of the handlers' closures.
2550 * Blocks all handlers on an instance that match a certain selection criteria.
2555 * If no handlers were found, 0 is returned, the number of blocked handlers
2558 * Returns: The number of handlers that matched.
2588 * @instance: The instance to unblock handlers from.
2590 * and/or @data the handlers have to match.
2591 * @signal_id: Signal the handlers have to be connected to.
2592 * @detail: Signal detail the handlers have to be connected to.
2593 * @closure: The closure the handlers will invoke.
2594 * @func: The C closure callback of the handlers (useless for non-C closures).
2595 * @data: The closure data of the handlers' closures.
2597 * Unblocks all handlers on an instance that match a certain selection
2602 * If no handlers were found, 0 is returned, the number of unblocked handlers
2603 * otherwise. The match criteria should not apply to any handlers that are
2606 * Returns: The number of handlers that matched.
2636 * @instance: The instance to remove handlers from.
2638 * and/or @data the handlers have to match.
2639 * @signal_id: Signal the handlers have to be connected to.
2640 * @detail: Signal detail the handlers have to be connected to.
2641 * @closure: The closure the handlers will invoke.
2642 * @func: The C closure callback of the handlers (useless for non-C closures).
2643 * @data: The closure data of the handlers' closures.
2645 * Disconnects all handlers on an instance that match a certain
2651 * matches. If no handlers were found, 0 is returned, the number of
2652 * disconnected handlers otherwise.
2654 * Returns: The number of handlers that matched.
2684 * @instance: the object whose signal handlers are sought.
2687 * @may_be_blocked: whether blocked handlers should count as match.
2689 * Returns whether there are any handlers connected to @instance for the
2746 /* are we able to check for NULL class handlers? */ in signal_check_skip_emission()
2774 /* do we have pending handlers? */ in signal_check_skip_emission()
2776 if (hlist && hlist->handlers) in signal_check_skip_emission()
2795 * Note that g_signal_emitv() doesn't change @return_value if no handlers are
2898 * if no handlers are connected, in contrast to g_signal_emitv().
3026 * if no handlers are connected, in contrast to g_signal_emitv().
3052 * if no handlers are connected, in contrast to g_signal_emitv().
3165 handler_list = hlist ? hlist->handlers : NULL; in signal_emit_unlocked_R()