Class Frame
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Frame : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
Frame
- Implements
-
- Inherited Members
-
Constructors
Frame()
Frame(params ConstructArgument[])
protected Frame(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Frame(IntPtr, bool)
protected Frame(IntPtr ptr, bool ownedRef)
Parameters
ptr
IntPtr
ownedRef
bool
Fields
ChildPropertyDefinition
public static readonly Property<Widget?, Frame> ChildPropertyDefinition
Field Value
- Property<Widget, Frame>
LabelPropertyDefinition
public static readonly Property<string?, Frame> LabelPropertyDefinition
Field Value
- Property<string, Frame>
public static readonly Property<Widget?, Frame> LabelWidgetPropertyDefinition
Field Value
- Property<Widget, Frame>
LabelXalignPropertyDefinition
public static readonly Property<float, Frame> LabelXalignPropertyDefinition
Field Value
- Property<float, Frame>
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
- AccessibleRole
Child
public Widget? Child { get; set; }
Property Value
- Widget
Label
public string? Label { get; set; }
Property Value
- string
public Widget? LabelWidget { get; set; }
Property Value
- Widget
LabelXalign
public float LabelXalign { get; set; }
Property Value
- float
Methods
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
string
priority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
- Accessible
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
- AccessibleRole
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
- ATContext
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
x
int
y
int
width
int
height
int
Returns
- bool
GetBuildableId()
public string? GetBuildableId()
Returns
- string
GetChild()
public Widget? GetChild()
Returns
- Widget
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
- Accessible
GetGType()
public static Type GetGType()
Returns
- Type
GetLabel()
public string? GetLabel()
Returns
- string
GetLabelAlign()
public float GetLabelAlign()
Returns
- float
public Widget? GetLabelWidget()
Returns
- Widget
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
- Accessible
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
New(string?)
public static Frame New(string? label)
Parameters
label
string
Returns
- Frame
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
Accessible
nextSibling
Accessible
public void SetChild(Widget? child)
Parameters
child
Widget
SetLabel(string?)
public void SetLabel(string? label)
Parameters
label
string
SetLabelAlign(float)
public void SetLabelAlign(float xalign)
Parameters
xalign
float
public void SetLabelWidget(Widget? labelWidget)
Parameters
labelWidget
Widget
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible