Re: 2 (or more) slots to 1 signal
- From: Havoc Pennington <hp redhat com>
- To: m_hrebien wp pl
- Cc: gtk-app-devel-list gnome org
- Subject: Re: 2 (or more) slots to 1 signal
- Date: 02 Sep 2001 21:27:46 -0400
Maciej Hrebien <m_hrebien wp pl> writes:
I've found that if i have 2 or more slots connected to one signal then
if the event happen all slots are called. But i wounder what is the
order they are called. Is it _always_ the order the slots were
connected, ie:
sig0 -> connect with slot0
sig0 -> connect with slot1
sig0 -> connect with slot2...
So, the call order is: slot0, slot1, slot2... ?? Or is it mixed (random
calls)??
It's in the order of connection, but programs that rely on this tend
to be a bit unmaintainable.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]