Marker
Object Hierarchy:
Description:
[
CCode ( type_id =
"champlain_marker_get_type ()" ) ]
[
Version ( since =
"0.10" ) ]
public class Marker :
Actor,
Implementor,
Location,
Animatable,
Container,
Scriptable
The Marker structure contains only private data and should be accessed using the provided API
Content:
Properties:
- public bool draggable { get; set; }
The draggable state of the marker
- public bool selectable { get; set; }
The selectable state of the marker
- public bool selected { get; set; }
The selected state of the marker
Static methods:
- public static unowned Color? get_selection_color ()
Gets the selection color.
- public static unowned Color? get_selection_text_color ()
Gets the selection text color.
- public static void set_selection_color (Color color)
Changes the selection color, this is to ensure a better integration
with the desktop, this is automatically done by GtkChamplainEmbed.
- public static void set_selection_text_color (Color color)
Changes the selection text color, this is to ensure a better
integration with the desktop, this is automatically done by GtkChamplainEmbed.
Creation methods:
Methods:
- public void animate_in ()
Animates the marker as if it were falling from the sky onto the map.
- public void animate_in_with_delay (uint delay)
Animates the marker as if it were falling from the sky onto the map
after delay.
- public void animate_out ()
Animates the marker as if it were drawn through the sky.
- public void animate_out_with_delay (uint delay)
Animates the marker as if it were drawn through the sky after delay.
- public bool get_draggable ()
Checks whether the marker is draggable.
- public bool get_selectable ()
Checks whether the marker is selectable.
- public bool get_selected ()
Checks whether the marker is selected.
- public void set_draggable (bool value)
Sets the marker as draggable or not.
- public void set_selectable (bool value)
Sets the marker as selectable or not.
- public void set_selected (bool value)
Sets the marker as selected or not.
Signals:
- public signal void button_press (Event event)
Emitted when button is pressed.
- public signal void button_release (Event event)
Emitted when button is released.
- public signal void drag_finish (Event event)
Emitted when marker dragging ends (i.e. the button is released at the
end of dragging).
- public signal void drag_motion (double dx, double dy, Event event)
Emmitted when the marker is dragged by mouse.
Inherited Members:
All known members inherited from class Clutter.Actor
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Atk.Implementor
All known members inherited from interface Champlain.Location
All known members inherited from interface Clutter.Animatable
- animate_property
- find_property
- get_initial_state
- interpolate_value
All known members inherited from interface Clutter.Container
- @foreach
- actor_added
- actor_removed
- add
- add_actor
- add_valist
- child_get
- child_get_property
- child_notify
- child_set
- child_set_property
- class_find_child_property
- class_list_child_properties
- create_child_meta
- destroy_child_meta
- find_child_by_name
- find_child_property
- foreach_with_internals
- get_child_meta
- get_children
- list_child_properties
- lower_child
- raise_child
- remove
- remove_actor
- remove_valist
- sort_depth_order
All known members inherited from interface Clutter.Scriptable