pick


Description:

[ Version ( since = "1.0" ) ]
public virtual signal void pick (Color color)

The pick signal is emitted each time an actor is being painted in "pick mode".

Note:

Override the pick virtual function instead.

The pick mode is used to identify the actor during the event handling phase, or by get_actor_at_pos. The actor should paint its shape using the passed pick_color.

Subclasses of Actor should override the class signal handler and paint themselves in that function.

It is possible to connect a handler to the pick signal in order to set up some custom aspect of a paint in pick mode.

Parameters:

color

the Color to be used when picking




2022 vala-language.org