StateMachine.connectObject

Connects to the @detailed_signal of @source only when the current state of the state machine is @state.

class StateMachine
void
connectObject
(
string state
,
void* source
,,
GCallback callback
,
void* userData
,
GConnectFlags flags
)

Parameters

state
Type: string

The state the signal connection should exist within

source
Type: void*

the source object to connect to

detailedSignal
Type: string

The detailed signal of @source to connect.

callback
Type: GCallback

The callback to execute upon signal emission.

userData
Type: void*

The user data for @callback.

flags
Type: GConnectFlags

signal connection flags.

Meta