[][src]Struct native_windows_gui::FontDialog

pub struct FontDialog { /* fields omitted */ }

The Font dialog box lets the user choose attributes for a logical font, such as font family and associated font style, point size, effects (underline, strikeout), and a script (or character set).

Implementations

impl FontDialog[src]

pub fn builder() -> FontDialogBuilder[src]

pub fn run<C: Into<ControlHandle>>(&self, owner: Option<C>) -> bool[src]

Execute the font dialog. This function will return true if the user select a font or false if the dialog is cancelled

pub fn font(&self) -> FontInfo[src]

Return a FontInfo structure that describe the font selected by the user.

Trait Implementations

impl Default for FontDialog[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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 = Infallible

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.