Struct pnmixerlib::ui_hotkey_dialog::HotkeyDialog
[−]
[src]
pub struct HotkeyDialog { /* fields omitted */ }
Hotkey dialog struct holding the relevant gtk widgets.
Methods
impl HotkeyDialog
[src]
fn new<P>(parent: &P, hotkey: String) -> HotkeyDialog where
P: IsA<Window>,
P: IsA<Window>,
Creates a new hotkey dialog.
fn run(&self) -> Result<String>
Runs the hotkey dialog and returns a String representing the hotkey that has been pressed.