About my projects, examples and tutorials
Gnome::Gtk4::VolumeButton

Gnome::Gtk4::VolumeButton

Description§

Gnome::Gtk4::VolumeButton is a Gnome::Gtk4::ScaleButton subclass tailored for volume control.

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/volumebutton.png> :width<30\%>

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/VolumeButton.png> :width<70\%>

Class initialization§

Note: The native version of this class is deprecated in gtk4-lib() since version 4.10

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )
Code

new-volumebutton§

Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10

Creates a Gnome::Gtk4::VolumeButton.

The button has a range between 0.0 and 1.0, with a stepping of 0.02. Volume values can be obtained and modified using the functions from Gnome::Gtk4::ScaleButton.

method new-volumebutton ( --> Gnome::Gtk4::VolumeButton )
Code