AgsGui.Led¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The led’s segment height |
||
r/w |
The led’s segment width |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
active |
r |
||
segment_height |
r |
||
segment_width |
r |
||
widget |
r |
Class Details¶
- class AgsGui.Led(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(segment_width, segment_height)¶
- Parameters:
- Returns:
the new
AgsGui.Led
- Return type:
Create a new instance of
AgsGui.Led
.New in version 3.0.0.
- get_segment_height()¶
- Returns:
the segment height
- Return type:
Get segment height.
New in version 4.0.0.
- get_segment_width()¶
- Returns:
the segment width
- Return type:
Get segment width.
New in version 4.0.0.
- is_active()¶
-
Set self to active state.
New in version 3.2.0.
- set_active(active)¶
-
Set self active by active.
New in version 3.0.0.
Property Details¶
- AgsGui.Led.props.segment_height¶
-
The led’s segment height.
New in version 4.0.0.