Struct gtk::builders::AccelLabelBuilder
source · pub struct AccelLabelBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct AccelLabel
objects.
Implementations§
source§impl AccelLabelBuilder
impl AccelLabelBuilder
pub fn accel_closure(self, accel_closure: &Closure) -> Self
pub fn accel_widget(self, accel_widget: &impl IsA<Widget>) -> Self
pub fn angle(self, angle: f64) -> Self
pub fn attributes(self, attributes: &AttrList) -> Self
pub fn ellipsize(self, ellipsize: EllipsizeMode) -> Self
pub fn justify(self, justify: Justification) -> Self
pub fn label(self, label: impl Into<GString>) -> Self
pub fn lines(self, lines: i32) -> Self
pub fn max_width_chars(self, max_width_chars: i32) -> Self
pub fn mnemonic_widget(self, mnemonic_widget: &impl IsA<Widget>) -> Self
pub fn pattern(self, pattern: impl Into<GString>) -> Self
pub fn selectable(self, selectable: bool) -> Self
pub fn single_line_mode(self, single_line_mode: bool) -> Self
pub fn track_visited_links(self, track_visited_links: bool) -> Self
pub fn use_markup(self, use_markup: bool) -> Self
pub fn use_underline(self, use_underline: bool) -> Self
pub fn width_chars(self, width_chars: i32) -> Self
pub fn wrap(self, wrap: bool) -> Self
pub fn wrap_mode(self, wrap_mode: WrapMode) -> Self
pub fn xalign(self, xalign: f32) -> Self
pub fn yalign(self, yalign: f32) -> Self
pub fn app_paintable(self, app_paintable: bool) -> Self
pub fn can_default(self, can_default: bool) -> Self
pub fn can_focus(self, can_focus: bool) -> Self
pub fn events(self, events: EventMask) -> Self
pub fn expand(self, expand: bool) -> Self
pub fn focus_on_click(self, focus_on_click: bool) -> Self
pub fn halign(self, halign: Align) -> Self
pub fn has_default(self, has_default: bool) -> Self
pub fn has_focus(self, has_focus: bool) -> 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 is_focus(self, is_focus: bool) -> Self
pub fn margin(self, margin: i32) -> 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 no_show_all(self, no_show_all: bool) -> Self
pub fn opacity(self, opacity: f64) -> Self
pub fn parent(self, parent: &impl IsA<Container>) -> 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
sourcepub fn build(self) -> AccelLabel
pub fn build(self) -> AccelLabel
Build the AccelLabel
.