Class Scale
public class Scale
- Inheritance
-
Scale
- Inherited Members
Methods
AddMark(IntPtr, double, PositionType, NullableUtf8StringHandle)
Calls native method gtk_scale_add_mark.
public static extern void AddMark(IntPtr scale, double value, PositionType position, NullableUtf8StringHandle markup)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
value
doubleTransfer ownership: None Nullable: False
position
PositionTypeTransfer ownership: None Nullable: False
markup
NullableUtf8StringHandleTransfer ownership: None Nullable: True
ClearMarks(IntPtr)
Calls native method gtk_scale_clear_marks.
public static extern void ClearMarks(IntPtr scale)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
GetDigits(IntPtr)
Calls native method gtk_scale_get_digits.
public static extern int GetDigits(IntPtr scale)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetDrawValue(IntPtr)
Calls native method gtk_scale_get_draw_value.
public static extern bool GetDrawValue(IntPtr scale)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetGType()
Calls native function gtk_scale_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetHasOrigin(IntPtr)
Calls native method gtk_scale_get_has_origin.
public static extern bool GetHasOrigin(IntPtr scale)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetLayout(IntPtr)
Calls native method gtk_scale_get_layout.
public static extern IntPtr GetLayout(IntPtr scale)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetLayoutOffsets(IntPtr, out int, out int)
Calls native method gtk_scale_get_layout_offsets.
public static extern void GetLayoutOffsets(IntPtr scale, out int x, out int y)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
x
intTransfer ownership: Full Nullable: False
y
intTransfer ownership: Full Nullable: False
GetValuePos(IntPtr)
Calls native method gtk_scale_get_value_pos.
public static extern PositionType GetValuePos(IntPtr scale)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
Returns
- PositionType
Transfer ownership: None Nullable: False
New(Orientation, IntPtr)
Calls native constructor gtk_scale_new.
public static extern IntPtr New(Orientation orientation, IntPtr adjustment)
Parameters
orientation
OrientationTransfer ownership: None Nullable: False
adjustment
IntPtrTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: False
NewWithRange(Orientation, double, double, double)
Calls native constructor gtk_scale_new_with_range.
public static extern IntPtr NewWithRange(Orientation orientation, double min, double max, double step)
Parameters
orientation
OrientationTransfer ownership: None Nullable: False
min
doubleTransfer ownership: None Nullable: False
max
doubleTransfer ownership: None Nullable: False
step
doubleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
SetDigits(IntPtr, int)
Calls native method gtk_scale_set_digits.
public static extern void SetDigits(IntPtr scale, int digits)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
digits
intTransfer ownership: None Nullable: False
SetDrawValue(IntPtr, bool)
Calls native method gtk_scale_set_draw_value.
public static extern void SetDrawValue(IntPtr scale, bool drawValue)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
drawValue
boolTransfer ownership: None Nullable: False
SetFormatValueFunc(IntPtr, ScaleFormatValueFunc, IntPtr, DestroyNotify)
Calls native method gtk_scale_set_format_value_func.
public static extern void SetFormatValueFunc(IntPtr scale, ScaleFormatValueFunc func, IntPtr userData, DestroyNotify destroyNotify)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
func
ScaleFormatValueFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroyNotify
DestroyNotifyTransfer ownership: None Nullable: True
SetHasOrigin(IntPtr, bool)
Calls native method gtk_scale_set_has_origin.
public static extern void SetHasOrigin(IntPtr scale, bool hasOrigin)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
hasOrigin
boolTransfer ownership: None Nullable: False
SetValuePos(IntPtr, PositionType)
Calls native method gtk_scale_set_value_pos.
public static extern void SetValuePos(IntPtr scale, PositionType pos)
Parameters
scale
IntPtrTransfer ownership: None Nullable: False
pos
PositionTypeTransfer ownership: None Nullable: False