AgsGui.Level¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)
- 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 data format |
||
r/w |
The lower of level |
||
r/w |
The normalized volume of level |
||
r/w |
The samplerate of level |
||
r/w |
The upper of level |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
audio_channel |
r |
||
audio_channel_count |
r |
||
button_state |
r |
||
data_format |
r |
||
flags |
r |
||
font_size |
r |
||
key_mask |
r |
||
lower |
r |
||
normalized_volume |
r |
||
orientation |
r |
||
page_size |
r |
||
samplerate |
r |
||
step_count |
r |
||
upper |
r |
||
widget |
r |
Class Details¶
- class AgsGui.Level(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(orientation, width_request, height_request)¶
- Parameters:
orientation (
Gtk.Orientation
) – theGtk.Orientation
width_request (
int
) – the level’s widthheight_request (
int
) – the level’s height
- Returns:
the new
AgsGui.Level
instance- Return type:
Create a new instance of
AgsGui.Level
.New in version 3.0.0.
- get_normalized_volume()¶
- Returns:
the normalized volume
- Return type:
Get normalized volume of self.
New in version 3.2.2.
- set_data_format(data_format)¶
- Parameters:
data_format (
AgsGui.LevelDataFormat
) – the data format
Set data-format.
New in version 5.1.0.
- set_normalized_volume(normalized_volume)¶
- Parameters:
normalized_volume (
float
) – the normalized volume
Set normalized_volume of self.
New in version 3.2.2.
- set_samplerate(samplerate)¶
- Parameters:
samplerate (
int
) – the samplerate
Set samplerate.
New in version 5.1.0.
- value_changed(normalized_volume)¶
- Parameters:
normalized_volume (
float
) – the normalized volume
Emits
::value-changed
event.New in version 3.0.0.
- do_value_changed(normalized_volume) virtual¶
- Parameters:
normalized_volume (
float
) – the normalized volume
Emits
::value-changed
event.New in version 3.0.0.
Signal Details¶
- AgsGui.Level.signals.value_changed(level, normalized_volume)¶
- Signal Name:
value-changed
- Flags:
- Parameters:
level (
AgsGui.Level
) – The object which received the signalnormalized_volume (
float
) – the changed default value
The
::value-changed
signal notifies about modified default value.New in version 3.0.0.
Property Details¶
- AgsGui.Level.props.data_format¶
-
The data format.
New in version 4.0.0.
- AgsGui.Level.props.lower¶
-
The level’s lower range.
New in version 3.0.0.
- AgsGui.Level.props.normalized_volume¶
-
The level’s default value.
New in version 3.0.0.
- AgsGui.Level.props.samplerate¶
-
The level’s samplerate.
New in version 5.1.0.