[−][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]
pub fn default() -> FontDialog
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FontDialog
[src]
impl !Send for FontDialog
[src]
impl !Sync for FontDialog
[src]
impl Unpin for FontDialog
[src]
impl UnwindSafe for FontDialog
[src]
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,
pub 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.
pub 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>,