AgsGui.Tempo¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), 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 control name of tempo  | 
||
r/w  | 
The default value of tempo  | 
||
r/w  | 
The lower of tempo  | 
||
r/w  | 
The upper of tempo  | 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
The   | 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
button_state  | 
r  | 
||
control_name  | 
r  | 
||
default_value  | 
r  | 
||
font_size  | 
r  | 
||
key_mask  | 
r  | 
||
lower  | 
r  | 
||
orientation  | 
r  | 
||
page_size  | 
r  | 
||
step_count  | 
r  | 
||
tempo_point  | 
r  | 
||
tempo_step_count  | 
r  | 
||
tempo_value  | 
r  | 
||
upper  | 
r  | 
||
widget  | 
r  | 
Class Details¶
- class AgsGui.Tempo(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(orientation, width_request, height_request)¶
 - Parameters:
 orientation (
Gtk.Orientation) – theGtk.Orientationwidth_request (
int) – the tempo’s widthheight_request (
int) – the tempo’s height
- Returns:
 the new
AgsGui.Tempoinstance- Return type:
 
Create a new instance of
AgsGui.Tempo.New in version 5.1.0.
- get_control_name()¶
 - Returns:
 the tempo height
- Return type:
 
Get tempo height of self.
New in version 3.2.2.
- get_default_value()¶
 - Returns:
 the normalized volume
- Return type:
 
Get normalized volume of self.
New in version 3.2.2.
- set_control_name(control_name)¶
 - Parameters:
 control_name (
str) – the tempo height
Set control_name of self.
New in version 3.2.2.
- set_default_value(default_value)¶
 - Parameters:
 default_value (
float) – the normalized volume
Set default_value of self.
New in version 3.2.2.
- value_changed(default_value)¶
 - Parameters:
 default_value (
float) – the default value
Emits
::value-changedevent.New in version 5.1.0.
- do_value_changed(default_value) virtual¶
 - Parameters:
 default_value (
float) – the default value
Emits
::value-changedevent.New in version 5.1.0.
Signal Details¶
- AgsGui.Tempo.signals.value_changed(tempo, default_value)¶
 - Signal Name:
 value-changed- Flags:
 - Parameters:
 tempo (
AgsGui.Tempo) – The object which received the signaldefault_value (
float) – the changed default value
The
::value-changedsignal notifies about modified default value.New in version 5.1.0.
Property Details¶
- AgsGui.Tempo.props.control_name¶
 - 
The tempo’s control name.
New in version 5.1.0.
 
- AgsGui.Tempo.props.default_value¶
 - 
The tempo’s default value.
New in version 5.1.0.
 
- AgsGui.Tempo.props.lower¶
 - 
The tempo’s lower range.
New in version 5.1.0.