audrey/src/rust.vapi

32 lines
1 KiB
Vala
Raw Normal View History

2024-10-31 07:20:36 +00:00
[CCode (cheader_filename = "rust.h")]
namespace Audrey {
public class Ui.Playbar : Adw.Bin {
public PlaybinSong? song { get; set; }
public Gdk.Paintable? playing_cover_art { get; set; }
public weak Playbin playbin { get; set; }
public bool show_cover_art { get; set; /*default = true;*/ }
public int volume { get; set; }
}
public class Ui.PlayQueueSong : Gtk.Box {
public bool draggable { get; set; }
public bool show_position { get; set; }
public bool show_artist { get; set; }
public bool show_cover { get; set; }
public bool current { get; set; }
public uint displayed_position { get; set; }
public PlaybinSong song { get; set; }
public PlayQueueSong (Playbin playbin);
public void bind (uint position, PlaybinSong song);
public void unbind ();
}
2024-10-31 11:02:00 +00:00
public class Ui.PlayQueue : Adw.Bin {
public Playbin playbin { get; set; }
public bool can_clear_all { get; }
}
2024-10-31 07:20:36 +00:00
}