Interface

Gtk-4.0GtkTextViewConstructorProps

interface ConstructorProps {
    accepts_tab: boolean;
    acceptsTab: boolean;
    accessible_role: Gtk.AccessibleRole;
    accessibleRole: Gtk.AccessibleRole;
    bottom_margin: number;
    bottomMargin: number;
    buffer: Gtk.TextBuffer;
    can_focus: boolean;
    can_target: boolean;
    canFocus: boolean;
    canTarget: boolean;
    css_classes: string[];
    css_name: string;
    cssClasses: string[];
    cssName: string;
    cursor: Gdk.Cursor;
    cursor_visible: boolean;
    cursorVisible: boolean;
    editable: boolean;
    extra_menu: Gio.MenuModel;
    extraMenu: Gio.MenuModel;
    focus_on_click: boolean;
    focusable: boolean;
    focusOnClick: boolean;
    hadjustment: Gtk.Adjustment;
    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;
    hscroll_policy: Gtk.ScrollablePolicy;
    hscrollPolicy: Gtk.ScrollablePolicy;
    im_module: string;
    imModule: string;
    indent: number;
    input_hints: Gtk.InputHints;
    input_purpose: Gtk.InputPurpose;
    inputHints: Gtk.InputHints;
    inputPurpose: Gtk.InputPurpose;
    justification: Gtk.Justification;
    layout_manager: Gtk.LayoutManager;
    layoutManager: Gtk.LayoutManager;
    left_margin: number;
    leftMargin: number;
    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;
    monospace: boolean;
    name: string;
    opacity: number;
    overflow: Gtk.Overflow;
    overwrite: boolean;
    parent: Gtk.Widget;
    pixels_above_lines: number;
    pixels_below_lines: number;
    pixels_inside_wrap: number;
    pixelsAboveLines: number;
    pixelsBelowLines: number;
    pixelsInsideWrap: number;
    receives_default: boolean;
    receivesDefault: boolean;
    right_margin: number;
    rightMargin: number;
    root: Gtk.Root;
    scale_factor: number;
    scaleFactor: number;
    sensitive: boolean;
    tabs: TabArray;
    tooltip_markup: string;
    tooltip_text: string;
    tooltipMarkup: string;
    tooltipText: string;
    top_margin: number;
    topMargin: number;
    vadjustment: Gtk.Adjustment;
    valign: Gtk.Align;
    vexpand: boolean;
    vexpand_set: boolean;
    vexpandSet: boolean;
    visible: boolean;
    vscroll_policy: Gtk.ScrollablePolicy;
    vscrollPolicy: Gtk.ScrollablePolicy;
    width_request: number;
    widthRequest: number;
    wrap_mode: Gtk.WrapMode;
    wrapMode: Gtk.WrapMode;
}

Hierarchy (View Summary)

Index

Properties

accepts_tab: boolean
acceptsTab: boolean
bottom_margin: number
bottomMargin: number
buffer: Gtk.TextBuffer
cursor_visible: boolean
cursorVisible: boolean
editable: boolean
extra_menu: Gio.MenuModel
extraMenu: Gio.MenuModel
im_module: string
imModule: string
indent: number
input_hints: Gtk.InputHints
input_purpose: Gtk.InputPurpose
inputHints: Gtk.InputHints
inputPurpose: Gtk.InputPurpose
justification: Gtk.Justification
left_margin: number
leftMargin: number
monospace: boolean
overwrite: boolean
pixels_above_lines: number
pixels_below_lines: number
pixels_inside_wrap: number
pixelsAboveLines: number
pixelsBelowLines: number
pixelsInsideWrap: number
right_margin: number
rightMargin: number
tabs: TabArray
top_margin: number
topMargin: number
wrap_mode: Gtk.WrapMode
wrapMode: Gtk.WrapMode

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

Properties - Inherited from Gtk.Scrollable.ConstructorProps

hadjustment: Gtk.Adjustment
hscroll_policy: Gtk.ScrollablePolicy
hscrollPolicy: Gtk.ScrollablePolicy
vadjustment: Gtk.Adjustment
vscroll_policy: Gtk.ScrollablePolicy
vscrollPolicy: Gtk.ScrollablePolicy