feature: GTK4 GUI with pavucontrol-style tabs
Hand-written minimal GTK4 binding (one dispatch callback, tag table, signal suppression during programmatic updates) and the GUI: Playback, Recording, Output Devices and Input Devices tabs with linked volume sliders up to 150%, mute, default-device toggle and per-stream device selector, updated live by diffing view rows. Includes a .desktop file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c55883b8ad
commit
91d3bb68bb
8 files changed
+1375
No files matched your search
@@ -0,0 +1,74 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "geordi/moonmix/gtk"
|
||||
|
||||
// Values
|
||||
pub fn dropdown((Int32) -> Unit) -> (Widget, Int32)
|
||||
|
||||
pub fn hbox(Int32) -> Widget
|
||||
|
||||
pub fn image(String, Int32) -> Widget
|
||||
|
||||
pub fn init_gtk() -> Bool
|
||||
|
||||
pub fn label(String) -> Widget
|
||||
|
||||
pub fn load_css(String) -> Unit
|
||||
|
||||
pub fn notebook(on_switch? : (Int32) -> Unit) -> Widget
|
||||
|
||||
pub fn now_us() -> Int64
|
||||
|
||||
pub fn quit() -> Unit
|
||||
|
||||
pub fn run() -> Unit
|
||||
|
||||
pub fn scale(Double, Double, (Double) -> Unit) -> (Widget, Int32)
|
||||
|
||||
pub fn scrolled(Widget) -> Widget
|
||||
|
||||
pub fn separator() -> Widget
|
||||
|
||||
pub fn timeout(Int32, () -> Unit) -> Unit
|
||||
|
||||
pub fn toggle(String, String, (Bool) -> Unit) -> (Widget, Int32)
|
||||
|
||||
pub fn unregister(Int32) -> Unit
|
||||
|
||||
pub fn updating(() -> Unit) -> Unit
|
||||
|
||||
pub fn vbox(Int32) -> Widget
|
||||
|
||||
pub fn window(String, Int32, Int32, on_close? : () -> Unit) -> Widget
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
#external
|
||||
pub type Widget
|
||||
pub fn Widget::add_css_class(Self, String) -> Unit
|
||||
pub fn Widget::append(Self, Self) -> Unit
|
||||
pub fn Widget::append_page(Self, Self, String) -> Unit
|
||||
pub fn Widget::present(Self) -> Unit
|
||||
pub fn Widget::remove(Self, Self) -> Unit
|
||||
pub fn Widget::reorder_after(Self, Self, Self?) -> Unit
|
||||
pub fn Widget::save_png(Self, String) -> Bool
|
||||
pub fn Widget::set_active(Self, Bool) -> Unit
|
||||
pub fn Widget::set_button_icon(Self, String) -> Unit
|
||||
pub fn Widget::set_child(Self, Self) -> Unit
|
||||
pub fn Widget::set_hexpand(Self, Bool) -> Unit
|
||||
pub fn Widget::set_icon(Self, String) -> Unit
|
||||
pub fn Widget::set_items(Self, Array[String], Int32) -> Unit
|
||||
pub fn Widget::set_margins(Self, Int32) -> Unit
|
||||
pub fn Widget::set_page(Self, Int32) -> Unit
|
||||
pub fn Widget::set_sensitive(Self, Bool) -> Unit
|
||||
pub fn Widget::set_text(Self, String) -> Unit
|
||||
pub fn Widget::set_tooltip(Self, String) -> Unit
|
||||
pub fn Widget::set_valign_center(Self) -> Unit
|
||||
pub fn Widget::set_value(Self, Double) -> Unit
|
||||
pub fn Widget::set_visible(Self, Bool) -> Unit
|
||||
pub fn Widget::set_width_chars(Self, Int32) -> Unit
|
||||
pub fn Widget::value(Self) -> Double
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user