[−][src]Struct native_windows_gui::FontDialog
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]
fn default() -> FontDialog[src]
Auto Trait Implementations
impl !RefUnwindSafe for FontDialog
impl !Send for FontDialog
impl !Sync for FontDialog
impl Unpin for FontDialog
impl UnwindSafe for FontDialog
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,