[]Struct gtk::FontChooserWidget

pub struct FontChooserWidget(_, _);

The FontChooserWidget widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the FontChooserDialog widget to provide a dialog box for selecting fonts.

To set the font which is initially selected, use FontChooser::set_font or FontChooser::set_font_desc.

To get the selected font use FontChooser::get_font or FontChooser::get_font_desc.

To change the text which is shown in the preview area, use FontChooser::set_preview_text.

CSS nodes

FontChooserWidget has a single CSS node with name fontchooser.

Implements

FontChooserWidgetExt, BoxExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, OrientableExt, FontChooserExt, WidgetExtManual, BuildableExtManual

Implementations

impl FontChooserWidget[src]

pub fn new() -> FontChooserWidget[src]

Creates a new FontChooserWidget.

Returns

a new FontChooserWidget

Trait Implementations

impl Clone for FontChooserWidget

impl Debug for FontChooserWidget

impl Default for FontChooserWidget[src]

impl Display for FontChooserWidget[src]

impl Eq for FontChooserWidget

impl Hash for FontChooserWidget

impl IsA<Box> for FontChooserWidget

impl IsA<Buildable> for FontChooserWidget

impl IsA<Container> for FontChooserWidget

impl IsA<FontChooser> for FontChooserWidget

impl IsA<Orientable> for FontChooserWidget

impl IsA<Widget> for FontChooserWidget

impl Ord for FontChooserWidget

impl<T: ObjectType> PartialEq<T> for FontChooserWidget

impl<T: ObjectType> PartialOrd<T> for FontChooserWidget

impl StaticType for FontChooserWidget

Auto Trait Implementations

impl RefUnwindSafe for FontChooserWidget

impl !Send for FontChooserWidget

impl !Sync for FontChooserWidget

impl Unpin for FontChooserWidget

impl UnwindSafe for FontChooserWidget

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

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

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

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.