AboutDialogBuilder

Struct AboutDialogBuilder 

Source
pub struct AboutDialogBuilder { /* private fields */ }
Expand description

A builder-pattern type to construct AboutDialog objects.

Implementations§

Source§

impl AboutDialogBuilder

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn license_type(self, license_type: License) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn child(self, child: &impl IsA<Widget>) -> Self

Source

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

Source

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

Source

pub fn default_widget(self, default_widget: &impl IsA<Widget>) -> Self

Source

pub fn focus_widget(self, focus_widget: &impl IsA<Widget>) -> Self

Source

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

Source

pub fn presentation_mode( self, presentation_mode: DialogPresentationMode, ) -> Self

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn build(self) -> AboutDialog

Build the AboutDialog.

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.