Marker
-
class Marker(**properties: Any)
Superclasses: Widget
, InitiallyUnowned
, Object
Subclasses: Point
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
, Location
- Constructors:
Marker(**properties)
new() -> Shumate.Marker
Constructors
-
class Marker
-
classmethod new() → Marker
Creates an instance of Marker
.
Methods
-
class Marker
-
animate_in() → None
-
animate_in_with_delay(delay: int) → None
- Parameters:
delay
-
animate_out() → None
-
animate_out_with_delay(delay: int) → None
- Parameters:
delay
-
get_child() → Widget | None
Retrieves the current child of marker
.
-
get_draggable() → bool
-
get_selectable() → bool
Checks whether the marker is selectable.
-
is_selected() → bool
Checks whether the marker is selected.
-
set_child(child: Widget | None = None) → None
Sets the child widget of marker
.
- Parameters:
child – a Widget
-
set_draggable(value: bool) → None
- Parameters:
value
-
set_selectable(value: bool) → None
Sets the marker as selectable or not.
- Parameters:
value – the selectable state
Properties
-
class Marker
-
props.child: Widget
The child widget of the marker
-
props.selectable: bool
The selectable state of the marker
Fields
-
class Marker
-
parent_instance