StateMachine

Constructors

this
this(DzlStateMachine* dzlStateMachine, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this()

Members

Functions

addBinding
void addBinding(string state, void* sourceObject, string sourceProperty, void* targetObject, string targetProperty, GBindingFlags flags)
addPropertyValist
void addPropertyValist(string state, void* object, string property, void* varArgs)
addPropertyv
void addPropertyv(string state, void* object, string property, Value value)
addStyle
void addStyle(string state, Widget widget, string style)
connectObject
void connectObject(string state, void* source, string detailedSignal, GCallback callback, void* userData, GConnectFlags flags)

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

createAction
ActionIF createAction(string name)

Creates a new #GAction with the name of @name.

getState
string getState()

Gets the #DzlStateMachine:state property. This is the name of the current state of the machine.

getStateMachineStruct
DzlStateMachine* getStateMachineStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

isState
bool isState(string state)

Checks to see if the current state of the #DzlStateMachine matches @state.

setState
void setState(string state)

Sets the #DzlStateMachine:state property.

Static functions

buildableIfaceInit
void buildableIfaceInit(GtkBuildableIface* iface)
getType
GType getType()

Variables

dzlStateMachine
DzlStateMachine* dzlStateMachine;

the main Gtk struct

Meta