Interface

Gtk-4.0GtkLabelConstructorProps

interface ConstructorProps {
    accessible_role: Gtk.AccessibleRole;
    accessibleRole: Gtk.AccessibleRole;
    attributes: AttrList;
    can_focus: boolean;
    can_target: boolean;
    canFocus: boolean;
    canTarget: boolean;
    css_classes: string[];
    css_name: string;
    cssClasses: string[];
    cssName: string;
    cursor: Gdk.Cursor;
    ellipsize: Pango.EllipsizeMode;
    extra_menu: Gio.MenuModel;
    extraMenu: Gio.MenuModel;
    focus_on_click: boolean;
    focusable: boolean;
    focusOnClick: boolean;
    halign: Gtk.Align;
    has_default: boolean;
    has_focus: boolean;
    has_tooltip: boolean;
    hasDefault: boolean;
    hasFocus: boolean;
    hasTooltip: boolean;
    height_request: number;
    heightRequest: number;
    hexpand: boolean;
    hexpand_set: boolean;
    hexpandSet: boolean;
    justify: Gtk.Justification;
    label: string;
    layout_manager: Gtk.LayoutManager;
    layoutManager: Gtk.LayoutManager;
    limit_events: boolean;
    limitEvents: boolean;
    lines: number;
    margin_bottom: number;
    margin_end: number;
    margin_start: number;
    margin_top: number;
    marginBottom: number;
    marginEnd: number;
    marginStart: number;
    marginTop: number;
    max_width_chars: number;
    maxWidthChars: number;
    mnemonic_keyval: number;
    mnemonic_widget: Gtk.Widget;
    mnemonicKeyval: number;
    mnemonicWidget: Gtk.Widget;
    name: string;
    natural_wrap_mode: Gtk.NaturalWrapMode;
    naturalWrapMode: Gtk.NaturalWrapMode;
    opacity: number;
    overflow: Gtk.Overflow;
    parent: Gtk.Widget;
    receives_default: boolean;
    receivesDefault: boolean;
    root: Gtk.Root;
    scale_factor: number;
    scaleFactor: number;
    selectable: boolean;
    sensitive: boolean;
    single_line_mode: boolean;
    singleLineMode: boolean;
    tabs: TabArray;
    tooltip_markup: string;
    tooltip_text: string;
    tooltipMarkup: string;
    tooltipText: string;
    use_markup: boolean;
    use_underline: boolean;
    useMarkup: boolean;
    useUnderline: boolean;
    valign: Gtk.Align;
    vexpand: boolean;
    vexpand_set: boolean;
    vexpandSet: boolean;
    visible: boolean;
    width_chars: number;
    width_request: number;
    widthChars: number;
    widthRequest: number;
    wrap: boolean;
    wrap_mode: Pango.WrapMode;
    wrapMode: Pango.WrapMode;
    xalign: number;
    yalign: number;
}

Hierarchy (View Summary)

Index

Properties

attributes: AttrList
ellipsize: Pango.EllipsizeMode
extra_menu: Gio.MenuModel
extraMenu: Gio.MenuModel
label: string
lines: number
max_width_chars: number
maxWidthChars: number
mnemonic_keyval: number
mnemonic_widget: Gtk.Widget
mnemonicKeyval: number
mnemonicWidget: Gtk.Widget
natural_wrap_mode: Gtk.NaturalWrapMode
naturalWrapMode: Gtk.NaturalWrapMode
selectable: boolean
single_line_mode: boolean
singleLineMode: boolean
tabs: TabArray
use_markup: boolean
use_underline: boolean
useMarkup: boolean
useUnderline: boolean
width_chars: number
widthChars: number
wrap: boolean
wrap_mode: Pango.WrapMode
wrapMode: Pango.WrapMode
xalign: number
yalign: number

Properties - Inherited from Gtk.Widget.ConstructorProps

accessible_role: Gtk.AccessibleRole
accessibleRole: Gtk.AccessibleRole
can_focus: boolean
can_target: boolean
canFocus: boolean
canTarget: boolean
css_classes: string[]
css_name: string
cssClasses: string[]
cssName: string
cursor: Gdk.Cursor
focus_on_click: boolean
focusable: boolean
focusOnClick: boolean
halign: Gtk.Align
has_default: boolean
has_focus: boolean
has_tooltip: boolean
hasDefault: boolean
hasFocus: boolean
hasTooltip: boolean
height_request: number
heightRequest: number
hexpand: boolean
hexpand_set: boolean
hexpandSet: boolean
layout_manager: Gtk.LayoutManager
layoutManager: Gtk.LayoutManager
limit_events: boolean
limitEvents: boolean
margin_bottom: number
margin_end: number
margin_start: number
margin_top: number
marginBottom: number
marginEnd: number
marginStart: number
marginTop: number
name: string
opacity: number
overflow: Gtk.Overflow
parent: Gtk.Widget
receives_default: boolean
receivesDefault: boolean
root: Gtk.Root
scale_factor: number
scaleFactor: number
sensitive: boolean
tooltip_markup: string
tooltip_text: string
tooltipMarkup: string
tooltipText: string
valign: Gtk.Align
vexpand: boolean
vexpand_set: boolean
vexpandSet: boolean
visible: boolean
width_request: number
widthRequest: number