Struct gtk::builders::StyleContextBuilder
source · pub struct StyleContextBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct StyleContext
objects.
Implementations§
source§impl StyleContextBuilder
impl StyleContextBuilder
pub fn direction(self, direction: TextDirection) -> Self
pub fn paint_clock(self, paint_clock: &FrameClock) -> Self
pub fn parent(self, parent: &impl IsA<StyleContext>) -> Self
pub fn screen(self, screen: &Screen) -> Self
sourcepub fn build(self) -> StyleContext
pub fn build(self) -> StyleContext
Build the StyleContext
.
Auto Trait Implementations§
impl RefUnwindSafe for StyleContextBuilder
impl !Send for StyleContextBuilder
impl !Sync for StyleContextBuilder
impl Unpin for StyleContextBuilder
impl UnwindSafe for StyleContextBuilder
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