Interface

Gtk-4.0GtkToggleButtonConstructorProps

interface ConstructorProps {
    accessible_role: Gtk.AccessibleRole;
    accessibleRole: Gtk.AccessibleRole;
    action_name: string;
    action_target: GLib.Variant;
    actionName: string;
    actionTarget: GLib.Variant;
    active: boolean;
    can_focus: boolean;
    can_shrink: boolean;
    can_target: boolean;
    canFocus: boolean;
    canShrink: boolean;
    canTarget: boolean;
    child: Gtk.Widget;
    css_classes: string[];
    css_name: string;
    cssClasses: string[];
    cssName: string;
    cursor: Gdk.Cursor;
    focus_on_click: boolean;
    focusable: boolean;
    focusOnClick: boolean;
    group: Gtk.ToggleButton;
    halign: Gtk.Align;
    has_default: boolean;
    has_focus: boolean;
    has_frame: boolean;
    has_tooltip: boolean;
    hasDefault: boolean;
    hasFocus: boolean;
    hasFrame: boolean;
    hasTooltip: boolean;
    height_request: number;
    heightRequest: number;
    hexpand: boolean;
    hexpand_set: boolean;
    hexpandSet: boolean;
    icon_name: string;
    iconName: string;
    label: string;
    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;
    use_underline: boolean;
    useUnderline: boolean;
    valign: Gtk.Align;
    vexpand: boolean;
    vexpand_set: boolean;
    vexpandSet: boolean;
    visible: boolean;
    width_request: number;
    widthRequest: number;
}

Hierarchy (View Summary)

Index

Properties

active: boolean

Properties - Inherited from Gtk.Button.ConstructorProps

accessible_role: Gtk.AccessibleRole
accessibleRole: Gtk.AccessibleRole
action_name: string
action_target: GLib.Variant
actionName: string
actionTarget: GLib.Variant
can_focus: boolean
can_shrink: boolean
can_target: boolean
canFocus: boolean
canShrink: boolean
canTarget: boolean
child: Gtk.Widget
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_frame: boolean
has_tooltip: boolean
hasDefault: boolean
hasFocus: boolean
hasFrame: boolean
hasTooltip: boolean
height_request: number
heightRequest: number
hexpand: boolean
hexpand_set: boolean
hexpandSet: boolean
icon_name: string
iconName: string
label: string
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
use_underline: boolean
useUnderline: boolean
valign: Gtk.Align
vexpand: boolean
vexpand_set: boolean
vexpandSet: boolean
visible: boolean
width_request: number
widthRequest: number