Struct pnmixerlib::app_state::AppS [] [src]

pub struct AppS {
    pub gui: Gui,
    pub audio: Rc<Audio>,
    pub prefs: RefCell<Prefs>,
    pub notif: Option<Notif>,
    pub hotkeys: RefCell<Box<Hotkeys>>,
    // some fields omitted
}

The global application state struct.

Fields

Mostly static GUI state.

Audio state.

Preferences state.

Notification state. In case of initialization failure, this is set to None.

[]

Hotkey state.

Methods

impl AppS
[src]

[]

Create an application state instance. There should really only be one.

[]

Update the tray icon state.

[]

Update the Popup Window state.

[]

Update the notification state.

[]

Update the audio state.

[]

Update the config file.

[]

Update hotkey state.