Struct gtk4::builders::SettingsBuilder
source · pub struct SettingsBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Settings
objects.
Implementations§
source§impl SettingsBuilder
impl SettingsBuilder
pub fn gtk_alternative_sort_arrows( self, gtk_alternative_sort_arrows: bool ) -> Self
pub fn gtk_application_prefer_dark_theme( self, gtk_application_prefer_dark_theme: bool ) -> Self
pub fn gtk_cursor_aspect_ratio(self, gtk_cursor_aspect_ratio: f64) -> Self
pub fn gtk_cursor_blink(self, gtk_cursor_blink: bool) -> Self
pub fn gtk_cursor_blink_time(self, gtk_cursor_blink_time: i32) -> Self
pub fn gtk_cursor_blink_timeout(self, gtk_cursor_blink_timeout: i32) -> Self
pub fn gtk_cursor_theme_name( self, gtk_cursor_theme_name: impl Into<GString> ) -> Self
pub fn gtk_cursor_theme_size(self, gtk_cursor_theme_size: i32) -> Self
pub fn gtk_decoration_layout( self, gtk_decoration_layout: impl Into<GString> ) -> Self
pub fn gtk_dialogs_use_header(self, gtk_dialogs_use_header: bool) -> Self
pub fn gtk_dnd_drag_threshold(self, gtk_dnd_drag_threshold: i32) -> Self
pub fn gtk_double_click_distance(self, gtk_double_click_distance: i32) -> Self
pub fn gtk_double_click_time(self, gtk_double_click_time: i32) -> Self
pub fn gtk_enable_accels(self, gtk_enable_accels: bool) -> Self
pub fn gtk_enable_animations(self, gtk_enable_animations: bool) -> Self
pub fn gtk_enable_event_sounds(self, gtk_enable_event_sounds: bool) -> Self
pub fn gtk_enable_input_feedback_sounds( self, gtk_enable_input_feedback_sounds: bool ) -> Self
pub fn gtk_enable_primary_paste(self, gtk_enable_primary_paste: bool) -> Self
pub fn gtk_entry_password_hint_timeout( self, gtk_entry_password_hint_timeout: u32 ) -> Self
pub fn gtk_entry_select_on_focus(self, gtk_entry_select_on_focus: bool) -> Self
pub fn gtk_error_bell(self, gtk_error_bell: bool) -> Self
pub fn gtk_font_name(self, gtk_font_name: impl Into<GString>) -> Self
pub fn gtk_fontconfig_timestamp(self, gtk_fontconfig_timestamp: u32) -> Self
pub fn gtk_icon_theme_name( self, gtk_icon_theme_name: impl Into<GString> ) -> Self
pub fn gtk_im_module(self, gtk_im_module: impl Into<GString>) -> Self
pub fn gtk_label_select_on_focus(self, gtk_label_select_on_focus: bool) -> Self
pub fn gtk_long_press_time(self, gtk_long_press_time: u32) -> Self
pub fn gtk_overlay_scrolling(self, gtk_overlay_scrolling: bool) -> Self
pub fn gtk_print_backends(self, gtk_print_backends: impl Into<GString>) -> Self
pub fn gtk_print_preview_command( self, gtk_print_preview_command: impl Into<GString> ) -> Self
pub fn gtk_recent_files_enabled(self, gtk_recent_files_enabled: bool) -> Self
pub fn gtk_recent_files_max_age(self, gtk_recent_files_max_age: i32) -> Self
pub fn gtk_shell_shows_desktop(self, gtk_shell_shows_desktop: bool) -> Self
pub fn gtk_sound_theme_name( self, gtk_sound_theme_name: impl Into<GString> ) -> Self
pub fn gtk_split_cursor(self, gtk_split_cursor: bool) -> Self
pub fn gtk_theme_name(self, gtk_theme_name: impl Into<GString>) -> Self
pub fn gtk_titlebar_double_click( self, gtk_titlebar_double_click: impl Into<GString> ) -> Self
pub fn gtk_titlebar_middle_click( self, gtk_titlebar_middle_click: impl Into<GString> ) -> Self
pub fn gtk_titlebar_right_click( self, gtk_titlebar_right_click: impl Into<GString> ) -> Self
pub fn gtk_xft_antialias(self, gtk_xft_antialias: i32) -> Self
pub fn gtk_xft_dpi(self, gtk_xft_dpi: i32) -> Self
pub fn gtk_xft_hinting(self, gtk_xft_hinting: i32) -> Self
pub fn gtk_xft_hintstyle(self, gtk_xft_hintstyle: impl Into<GString>) -> Self
pub fn gtk_xft_rgba(self, gtk_xft_rgba: impl Into<GString>) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for SettingsBuilder
impl !Send for SettingsBuilder
impl !Sync for SettingsBuilder
impl Unpin for SettingsBuilder
impl UnwindSafe for SettingsBuilder
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