Table of Contents

Class Toggle

Namespace
Adw
Assembly
Adw-1.dll
public sealed class Toggle : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
Toggle
Implements
Inherited Members

Constructors

Toggle(ToggleHandle)

public Toggle(ToggleHandle handle)

Parameters

handle ToggleHandle

Toggle(params ConstructArgument[])

public Toggle(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Fields

ChildPropertyDefinition

public static readonly Property<Widget?, Toggle> ChildPropertyDefinition

Field Value

Property<Widget, Toggle>

EnabledPropertyDefinition

public static readonly Property<bool, Toggle> EnabledPropertyDefinition

Field Value

Property<bool, Toggle>

IconNamePropertyDefinition

public static readonly Property<string?, Toggle> IconNamePropertyDefinition

Field Value

Property<string, Toggle>

LabelPropertyDefinition

public static readonly Property<string?, Toggle> LabelPropertyDefinition

Field Value

Property<string, Toggle>

NamePropertyDefinition

public static readonly Property<string?, Toggle> NamePropertyDefinition

Field Value

Property<string, Toggle>

TooltipPropertyDefinition

public static readonly Property<string?, Toggle> TooltipPropertyDefinition

Field Value

Property<string, Toggle>

UseUnderlinePropertyDefinition

public static readonly Property<bool, Toggle> UseUnderlinePropertyDefinition

Field Value

Property<bool, Toggle>

Properties

Child

public Widget? Child { get; set; }

Property Value

Widget

Enabled

public bool Enabled { get; set; }

Property Value

bool

IconName

public string? IconName { get; set; }

Property Value

string

Label

public string? Label { get; set; }

Property Value

string

Name

public string? Name { get; set; }

Property Value

string

Tooltip

public string? Tooltip { get; set; }

Property Value

string

UseUnderline

public bool UseUnderline { get; set; }

Property Value

bool

Methods

GetChild()

[Version("1.7")]
public Widget? GetChild()

Returns

Widget

GetEnabled()

[Version("1.7")]
public bool GetEnabled()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetIconName()

[Version("1.7")]
public string? GetIconName()

Returns

string

GetIndex()

[Version("1.7")]
public uint GetIndex()

Returns

uint

GetLabel()

[Version("1.7")]
public string? GetLabel()

Returns

string

GetName()

[Version("1.7")]
public string GetName()

Returns

string

GetTooltip()

[Version("1.7")]
public string GetTooltip()

Returns

string

GetUseUnderline()

[Version("1.7")]
public bool GetUseUnderline()

Returns

bool

New()

[Version("1.7")]
public static Toggle New()

Returns

Toggle

SetChild(Widget?)

[Version("1.7")]
public void SetChild(Widget? child)

Parameters

child Widget

SetEnabled(bool)

[Version("1.7")]
public void SetEnabled(bool enabled)

Parameters

enabled bool

SetIconName(string?)

[Version("1.7")]
public void SetIconName(string? iconName)

Parameters

iconName string

SetLabel(string?)

[Version("1.7")]
public void SetLabel(string? label)

Parameters

label string

SetName(string?)

[Version("1.7")]
public void SetName(string? name)

Parameters

name string

SetTooltip(string)

[Version("1.7")]
public void SetTooltip(string tooltip)

Parameters

tooltip string

SetUseUnderline(bool)

[Version("1.7")]
public void SetUseUnderline(bool useUnderline)

Parameters

useUnderline bool