Struct gtk4::builders::ApplicationBuilder
source · pub struct ApplicationBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Application
objects.
Implementations§
source§impl ApplicationBuilder
impl ApplicationBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ApplicationBuilder
.
sourcepub fn build(self) -> Application
pub fn build(self) -> Application
Build the Application
.
pub fn register_session(self, register_session: bool) -> Self
pub fn action_group(self, action_group: &impl IsA<ActionGroup>) -> Self
pub fn application_id(self, application_id: &str) -> Self
pub fn flags(self, flags: ApplicationFlags) -> Self
pub fn inactivity_timeout(self, inactivity_timeout: u32) -> Self
pub fn resource_base_path(self, resource_base_path: &str) -> Self
Trait Implementations§
source§impl Clone for ApplicationBuilder
impl Clone for ApplicationBuilder
source§fn clone(&self) -> ApplicationBuilder
fn clone(&self) -> ApplicationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ApplicationBuilder
impl Default for ApplicationBuilder
source§fn default() -> ApplicationBuilder
fn default() -> ApplicationBuilder
Returns the “default value” for a type. Read more