gtk4::builders

Struct FontChooserWidgetBuilder

Source
pub struct FontChooserWidgetBuilder { /* private fields */ }
๐Ÿ‘ŽDeprecated: Since 4.10
Expand description

A builder-pattern type to construct FontChooserWidget objects.

Implementationsยง

Sourceยง

impl FontChooserWidgetBuilder

Source

pub fn can_focus(self, can_focus: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn can_target(self, can_target: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn css_classes(self, css_classes: impl Into<StrV>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn css_name(self, css_name: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn cursor(self, cursor: &Cursor) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn focus_on_click(self, focus_on_click: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn focusable(self, focusable: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn halign(self, halign: Align) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn has_tooltip(self, has_tooltip: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn height_request(self, height_request: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn hexpand(self, hexpand: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn hexpand_set(self, hexpand_set: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn layout_manager(self, layout_manager: &impl IsA<LayoutManager>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn margin_bottom(self, margin_bottom: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn margin_end(self, margin_end: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn margin_start(self, margin_start: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn margin_top(self, margin_top: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn name(self, name: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn opacity(self, opacity: f64) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn overflow(self, overflow: Overflow) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn receives_default(self, receives_default: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn sensitive(self, sensitive: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn tooltip_markup(self, tooltip_markup: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn tooltip_text(self, tooltip_text: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn valign(self, valign: Align) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn vexpand(self, vexpand: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn vexpand_set(self, vexpand_set: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn visible(self, visible: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn width_request(self, width_request: i32) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn accessible_role(self, accessible_role: AccessibleRole) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn font(self, font: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn font_desc(self, font_desc: &FontDescription) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn language(self, language: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn level(self, level: FontChooserLevel) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn preview_text(self, preview_text: impl Into<GString>) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn show_preview_entry(self, show_preview_entry: bool) -> Self

๐Ÿ‘ŽDeprecated: Since 4.10
Source

pub fn build(self) -> FontChooserWidget

๐Ÿ‘ŽDeprecated: Since 4.10

Build the FontChooserWidget.

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

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

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.