Class ConstraintGuide
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ConstraintGuide : Object, IDisposable, ConstraintTarget, GTypeProvider, InstanceFactory
- Inheritance
-
ConstraintGuide
- Implements
-
- Inherited Members
-
Constructors
ConstraintGuide(params ConstructArgument[])
public ConstraintGuide(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
ConstraintGuide(ConstraintGuideHandle)
public ConstraintGuide(ConstraintGuideHandle handle)
Parameters
handle
ConstraintGuideHandle
Fields
MaxHeightPropertyDefinition
public static readonly Property<int, ConstraintGuide> MaxHeightPropertyDefinition
Field Value
- Property<int, ConstraintGuide>
MaxWidthPropertyDefinition
public static readonly Property<int, ConstraintGuide> MaxWidthPropertyDefinition
Field Value
- Property<int, ConstraintGuide>
MinHeightPropertyDefinition
public static readonly Property<int, ConstraintGuide> MinHeightPropertyDefinition
Field Value
- Property<int, ConstraintGuide>
MinWidthPropertyDefinition
public static readonly Property<int, ConstraintGuide> MinWidthPropertyDefinition
Field Value
- Property<int, ConstraintGuide>
NamePropertyDefinition
public static readonly Property<string?, ConstraintGuide> NamePropertyDefinition
Field Value
- Property<string, ConstraintGuide>
NatHeightPropertyDefinition
public static readonly Property<int, ConstraintGuide> NatHeightPropertyDefinition
Field Value
- Property<int, ConstraintGuide>
NatWidthPropertyDefinition
public static readonly Property<int, ConstraintGuide> NatWidthPropertyDefinition
Field Value
- Property<int, ConstraintGuide>
StrengthPropertyDefinition
public static readonly Property<ConstraintStrength, ConstraintGuide> StrengthPropertyDefinition
Field Value
- Property<ConstraintStrength, ConstraintGuide>
Properties
MaxHeight
public int MaxHeight { get; set; }
Property Value
- int
MaxWidth
public int MaxWidth { get; set; }
Property Value
- int
MinHeight
public int MinHeight { get; set; }
Property Value
- int
MinWidth
public int MinWidth { get; set; }
Property Value
- int
Name
public string? Name { get; set; }
Property Value
- string
NatHeight
public int NatHeight { get; set; }
Property Value
- int
NatWidth
public int NatWidth { get; set; }
Property Value
- int
Strength
public ConstraintStrength Strength { get; set; }
Property Value
- ConstraintStrength
Methods
GetGType()
public static Type GetGType()
Returns
- Type
GetMaxSize(out int, out int)
public void GetMaxSize(out int width, out int height)
Parameters
width
int
height
int
GetMinSize(out int, out int)
public void GetMinSize(out int width, out int height)
Parameters
width
int
height
int
GetName()
Returns
- string
GetNatSize(out int, out int)
public void GetNatSize(out int width, out int height)
Parameters
width
int
height
int
GetStrength()
public ConstraintStrength GetStrength()
Returns
- ConstraintStrength
New()
public static ConstraintGuide New()
Returns
- ConstraintGuide
SetMaxSize(int, int)
public void SetMaxSize(int width, int height)
Parameters
width
int
height
int
SetMinSize(int, int)
public void SetMinSize(int width, int height)
Parameters
width
int
height
int
SetName(string?)
public void SetName(string? name)
Parameters
name
string
SetNatSize(int, int)
public void SetNatSize(int width, int height)
Parameters
width
int
height
int
SetStrength(ConstraintStrength)
public void SetStrength(ConstraintStrength strength)
Parameters
strength
ConstraintStrength