pub struct AboutDialogBuilder { /* private fields */ }Expand description
A builder-pattern type to construct AboutDialog objects.
Implementations§
Source§impl AboutDialogBuilder
impl AboutDialogBuilder
pub fn application_icon(self, application_icon: impl Into<GString>) -> Self
pub fn application_name(self, application_name: impl Into<GString>) -> Self
pub fn artists(self, artists: impl Into<StrV>) -> Self
pub fn comments(self, comments: impl Into<GString>) -> Self
pub fn copyright(self, copyright: impl Into<GString>) -> Self
pub fn debug_info(self, debug_info: impl Into<GString>) -> Self
pub fn debug_info_filename( self, debug_info_filename: impl Into<GString>, ) -> Self
pub fn designers(self, designers: impl Into<StrV>) -> Self
pub fn developer_name(self, developer_name: impl Into<GString>) -> Self
pub fn developers(self, developers: impl Into<StrV>) -> Self
pub fn documenters(self, documenters: impl Into<StrV>) -> Self
pub fn issue_url(self, issue_url: impl Into<GString>) -> Self
pub fn license(self, license: impl Into<GString>) -> Self
pub fn license_type(self, license_type: License) -> Self
pub fn release_notes(self, release_notes: impl Into<GString>) -> Self
pub fn release_notes_version( self, release_notes_version: impl Into<GString>, ) -> Self
pub fn support_url(self, support_url: impl Into<GString>) -> Self
pub fn translator_credits(self, translator_credits: impl Into<GString>) -> Self
pub fn version(self, version: impl Into<GString>) -> Self
pub fn website(self, website: impl Into<GString>) -> Self
pub fn can_close(self, can_close: bool) -> Self
pub fn child(self, child: &impl IsA<Widget>) -> Self
pub fn content_height(self, content_height: i32) -> Self
pub fn content_width(self, content_width: i32) -> Self
pub fn default_widget(self, default_widget: &impl IsA<Widget>) -> Self
pub fn focus_widget(self, focus_widget: &impl IsA<Widget>) -> Self
pub fn follows_content_size(self, follows_content_size: bool) -> Self
pub fn presentation_mode( self, presentation_mode: DialogPresentationMode, ) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
pub fn can_focus(self, can_focus: bool) -> Self
pub fn can_target(self, can_target: bool) -> Self
pub fn css_classes(self, css_classes: impl Into<StrV>) -> Self
pub fn css_name(self, css_name: impl Into<GString>) -> Self
pub fn cursor(self, cursor: &Cursor) -> Self
pub fn focus_on_click(self, focus_on_click: bool) -> Self
pub fn focusable(self, focusable: bool) -> Self
pub fn halign(self, halign: Align) -> Self
pub fn has_tooltip(self, has_tooltip: bool) -> Self
pub fn height_request(self, height_request: i32) -> Self
pub fn hexpand(self, hexpand: bool) -> Self
pub fn hexpand_set(self, hexpand_set: bool) -> Self
pub fn layout_manager(self, layout_manager: &impl IsA<LayoutManager>) -> Self
pub fn margin_bottom(self, margin_bottom: i32) -> Self
pub fn margin_end(self, margin_end: i32) -> Self
pub fn margin_start(self, margin_start: i32) -> Self
pub fn margin_top(self, margin_top: i32) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
pub fn opacity(self, opacity: f64) -> Self
pub fn overflow(self, overflow: Overflow) -> Self
pub fn receives_default(self, receives_default: bool) -> Self
pub fn sensitive(self, sensitive: bool) -> Self
pub fn tooltip_markup(self, tooltip_markup: impl Into<GString>) -> Self
pub fn tooltip_text(self, tooltip_text: impl Into<GString>) -> Self
pub fn valign(self, valign: Align) -> Self
pub fn vexpand(self, vexpand: bool) -> Self
pub fn vexpand_set(self, vexpand_set: bool) -> Self
pub fn visible(self, visible: bool) -> Self
pub fn width_request(self, width_request: i32) -> Self
pub fn accessible_role(self, accessible_role: AccessibleRole) -> Self
Sourcepub fn build(self) -> AboutDialog
pub fn build(self) -> AboutDialog
Build the AboutDialog.
Auto Trait Implementations§
impl Freeze for AboutDialogBuilder
impl RefUnwindSafe for AboutDialogBuilder
impl !Send for AboutDialogBuilder
impl !Sync for AboutDialogBuilder
impl Unpin for AboutDialogBuilder
impl UnwindSafe for AboutDialogBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more