-- --
-- --
-- --
-- --
-- --
-- --
pragma Warnings (Off, "*is already use-visible*");
with Glib; use Glib;
with Glib.Types; use Glib.Types;
with Gtk.Action; use Gtk.Action;
with Gtk.Activatable; use Gtk.Activatable;
with Gtk.Buildable; use Gtk.Buildable;
with Gtk.Enums; use Gtk.Enums;
with Gtk.Orientable; use Gtk.Orientable;
with Gtk.Scale_Button; use Gtk.Scale_Button;
with Gtk.Widget; use Gtk.Widget;
package Gtk.Volume_Button is
type Gtk_Volume_Button_Record is new Gtk_Scale_Button_Record with null record;
type Gtk_Volume_Button is access all Gtk_Volume_Button_Record'Class;
procedure Gtk_New (Widget : out Gtk_Volume_Button);
procedure Initialize (Widget : access Gtk_Volume_Button_Record'Class);
function Get_Type return Glib.GType;
pragma Import (C, Get_Type, "gtk_volume_button_get_type");
procedure Do_Set_Related_Action
(Self : access Gtk_Volume_Button_Record;
Action : access Gtk.Action.Gtk_Action_Record'Class);
function Get_Related_Action
(Self : access Gtk_Volume_Button_Record) return Gtk.Action.Gtk_Action;
procedure Set_Related_Action
(Self : access Gtk_Volume_Button_Record;
Action : access Gtk.Action.Gtk_Action_Record'Class);
function Get_Use_Action_Appearance
(Self : access Gtk_Volume_Button_Record) return Boolean;
procedure Set_Use_Action_Appearance
(Self : access Gtk_Volume_Button_Record;
Use_Appearance : Boolean);
procedure Sync_Action_Properties
(Self : access Gtk_Volume_Button_Record;
Action : access Gtk.Action.Gtk_Action_Record'Class);
function Get_Orientation
(Self : access Gtk_Volume_Button_Record)
return Gtk.Enums.Gtk_Orientation;
procedure Set_Orientation
(Self : access Gtk_Volume_Button_Record;
Orientation : Gtk.Enums.Gtk_Orientation);
package Implements_Activatable is new Glib.Types.Implements
(Gtk.Activatable.Gtk_Activatable, Gtk_Volume_Button_Record, Gtk_Volume_Button);
function "+"
(Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Activatable.Gtk_Activatable
renames Implements_Activatable.To_Interface;
function "-"
(Interf : Gtk.Activatable.Gtk_Activatable)
return Gtk_Volume_Button
renames Implements_Activatable.To_Object;
package Implements_Buildable is new Glib.Types.Implements
(Gtk.Buildable.Gtk_Buildable, Gtk_Volume_Button_Record, Gtk_Volume_Button);
function "+"
(Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Buildable.Gtk_Buildable
renames Implements_Buildable.To_Interface;
function "-"
(Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Volume_Button
renames Implements_Buildable.To_Object;
package Implements_Orientable is new Glib.Types.Implements
(Gtk.Orientable.Gtk_Orientable, Gtk_Volume_Button_Record, Gtk_Volume_Button);
function "+"
(Widget : access Gtk_Volume_Button_Record'Class)
return Gtk.Orientable.Gtk_Orientable
renames Implements_Orientable.To_Interface;
function "-"
(Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_Volume_Button
renames Implements_Orientable.To_Object;
end Gtk.Volume_Button;