Gtk.VolumeButton.new
function new():Gtk.Widget {
// Gjs wrapper for gtk_volume_button_new()
}Creates a Gtk.VolumeButton, with 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 Gtk.ScaleButton.
Since 2.12
- Returns
a new Gtk.VolumeButton