[][src]Struct dialog::backends::KDialog

pub struct KDialog { /* fields omitted */ }

The kdialog backend.

This backend uses the external kdialog program to display KDE dialog boxes.

Methods

impl KDialog[src]

pub fn new() -> KDialog[src]

Creates a new KDialog instance without configuration.

pub fn set_icon(&mut self, icon: impl Into<String>)[src]

Sets the icon in the dialog box's titlebar and taskbar button.

The icon can be either a name from the user's configured icon theme, such as error or info or the path to an image to use.

The default image depends on the dialog type.

Trait Implementations

impl Backend for KDialog[src]

impl AsRef<KDialog> for KDialog[src]

impl Default for KDialog[src]

impl Debug for KDialog[src]

Auto Trait Implementations

impl Send for KDialog

impl Sync for KDialog

impl Unpin for KDialog

impl UnwindSafe for KDialog

impl RefUnwindSafe for KDialog

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]