Class Label
public class Label
- Inheritance
-
Label
- Inherited Members
Methods
GetAttributes(IntPtr)
Calls native method gtk_label_get_attributes.
public static extern AttrListUnownedHandle GetAttributes(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- AttrListUnownedHandle
Transfer ownership: None Nullable: True
GetCurrentUri(IntPtr)
Calls native method gtk_label_get_current_uri.
public static extern NullableUtf8StringUnownedHandle GetCurrentUri(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetEllipsize(IntPtr)
Calls native method gtk_label_get_ellipsize.
public static extern EllipsizeMode GetEllipsize(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- EllipsizeMode
Transfer ownership: None Nullable: False
GetExtraMenu(IntPtr)
Calls native method gtk_label_get_extra_menu.
public static extern IntPtr GetExtraMenu(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetGType()
Calls native function gtk_label_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetJustify(IntPtr)
Calls native method gtk_label_get_justify.
public static extern Justification GetJustify(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- Justification
Transfer ownership: None Nullable: False
GetLabel(IntPtr)
Calls native method gtk_label_get_label.
public static extern NonNullableUtf8StringUnownedHandle GetLabel(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetLayout(IntPtr)
Calls native method gtk_label_get_layout.
public static extern IntPtr GetLayout(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetLayoutOffsets(IntPtr, out int, out int)
Calls native method gtk_label_get_layout_offsets.
public static extern void GetLayoutOffsets(IntPtr self, out int x, out int y)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
x
intTransfer ownership: Full Nullable: False
y
intTransfer ownership: Full Nullable: False
GetLines(IntPtr)
Calls native method gtk_label_get_lines.
public static extern int GetLines(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetMaxWidthChars(IntPtr)
Calls native method gtk_label_get_max_width_chars.
public static extern int GetMaxWidthChars(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetMnemonicKeyval(IntPtr)
Calls native method gtk_label_get_mnemonic_keyval.
public static extern uint GetMnemonicKeyval(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetMnemonicWidget(IntPtr)
Calls native method gtk_label_get_mnemonic_widget.
public static extern IntPtr GetMnemonicWidget(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetNaturalWrapMode(IntPtr)
Calls native method gtk_label_get_natural_wrap_mode. Version: 4.6
[Version("4.6")]
public static extern NaturalWrapMode GetNaturalWrapMode(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NaturalWrapMode
Transfer ownership: None Nullable: False
GetSelectable(IntPtr)
Calls native method gtk_label_get_selectable.
public static extern bool GetSelectable(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetSelectionBounds(IntPtr, out int, out int)
Calls native method gtk_label_get_selection_bounds.
public static extern bool GetSelectionBounds(IntPtr self, out int start, out int end)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
start
intTransfer ownership: Full Nullable: False
end
intTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetSingleLineMode(IntPtr)
Calls native method gtk_label_get_single_line_mode.
public static extern bool GetSingleLineMode(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetTabs(IntPtr)
Calls native method gtk_label_get_tabs. Version: 4.8
[Version("4.8")]
public static extern TabArrayOwnedHandle GetTabs(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- TabArrayOwnedHandle
Transfer ownership: Full Nullable: True
GetText(IntPtr)
Calls native method gtk_label_get_text.
public static extern NonNullableUtf8StringUnownedHandle GetText(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetUseMarkup(IntPtr)
Calls native method gtk_label_get_use_markup.
public static extern bool GetUseMarkup(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetUseUnderline(IntPtr)
Calls native method gtk_label_get_use_underline.
public static extern bool GetUseUnderline(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetWidthChars(IntPtr)
Calls native method gtk_label_get_width_chars.
public static extern int GetWidthChars(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetWrap(IntPtr)
Calls native method gtk_label_get_wrap.
public static extern bool GetWrap(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetWrapMode(IntPtr)
Calls native method gtk_label_get_wrap_mode.
public static extern WrapMode GetWrapMode(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- WrapMode
Transfer ownership: None Nullable: False
GetXalign(IntPtr)
Calls native method gtk_label_get_xalign.
public static extern float GetXalign(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
GetYalign(IntPtr)
Calls native method gtk_label_get_yalign.
public static extern float GetYalign(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- float
Transfer ownership: None Nullable: False
New(NullableUtf8StringHandle)
Calls native constructor gtk_label_new.
public static extern IntPtr New(NullableUtf8StringHandle str)
Parameters
str
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: False
NewWithMnemonic(NullableUtf8StringHandle)
Calls native constructor gtk_label_new_with_mnemonic.
public static extern IntPtr NewWithMnemonic(NullableUtf8StringHandle str)
Parameters
str
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: None Nullable: False
SelectRegion(IntPtr, int, int)
Calls native method gtk_label_select_region.
public static extern void SelectRegion(IntPtr self, int startOffset, int endOffset)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
startOffset
intTransfer ownership: None Nullable: False
endOffset
intTransfer ownership: None Nullable: False
SetAttributes(IntPtr, AttrListHandle)
Calls native method gtk_label_set_attributes.
public static extern void SetAttributes(IntPtr self, AttrListHandle attrs)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
attrs
AttrListHandleTransfer ownership: None Nullable: True
SetEllipsize(IntPtr, EllipsizeMode)
Calls native method gtk_label_set_ellipsize.
public static extern void SetEllipsize(IntPtr self, EllipsizeMode mode)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
mode
EllipsizeModeTransfer ownership: None Nullable: False
SetExtraMenu(IntPtr, IntPtr)
Calls native method gtk_label_set_extra_menu.
public static extern void SetExtraMenu(IntPtr self, IntPtr model)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
model
IntPtrTransfer ownership: None Nullable: True
SetJustify(IntPtr, Justification)
Calls native method gtk_label_set_justify.
public static extern void SetJustify(IntPtr self, Justification jtype)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
jtype
JustificationTransfer ownership: None Nullable: False
SetLabel(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_label_set_label.
public static extern void SetLabel(IntPtr self, NonNullableUtf8StringHandle str)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetLines(IntPtr, int)
Calls native method gtk_label_set_lines.
public static extern void SetLines(IntPtr self, int lines)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
lines
intTransfer ownership: None Nullable: False
SetMarkup(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_label_set_markup.
public static extern void SetMarkup(IntPtr self, NonNullableUtf8StringHandle str)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetMarkupWithMnemonic(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_label_set_markup_with_mnemonic.
public static extern void SetMarkupWithMnemonic(IntPtr self, NonNullableUtf8StringHandle str)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetMaxWidthChars(IntPtr, int)
Calls native method gtk_label_set_max_width_chars.
public static extern void SetMaxWidthChars(IntPtr self, int nChars)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
nChars
intTransfer ownership: None Nullable: False
SetMnemonicWidget(IntPtr, IntPtr)
Calls native method gtk_label_set_mnemonic_widget.
public static extern void SetMnemonicWidget(IntPtr self, IntPtr widget)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
widget
IntPtrTransfer ownership: None Nullable: True
SetNaturalWrapMode(IntPtr, NaturalWrapMode)
Calls native method gtk_label_set_natural_wrap_mode. Version: 4.6
[Version("4.6")]
public static extern void SetNaturalWrapMode(IntPtr self, NaturalWrapMode wrapMode)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
wrapMode
NaturalWrapModeTransfer ownership: None Nullable: False
SetSelectable(IntPtr, bool)
Calls native method gtk_label_set_selectable.
public static extern void SetSelectable(IntPtr self, bool setting)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
setting
boolTransfer ownership: None Nullable: False
SetSingleLineMode(IntPtr, bool)
Calls native method gtk_label_set_single_line_mode.
public static extern void SetSingleLineMode(IntPtr self, bool singleLineMode)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
singleLineMode
boolTransfer ownership: None Nullable: False
SetTabs(IntPtr, TabArrayHandle)
Calls native method gtk_label_set_tabs. Version: 4.8
[Version("4.8")]
public static extern void SetTabs(IntPtr self, TabArrayHandle tabs)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
tabs
TabArrayHandleTransfer ownership: None Nullable: True
SetText(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_label_set_text.
public static extern void SetText(IntPtr self, NonNullableUtf8StringHandle str)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetTextWithMnemonic(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_label_set_text_with_mnemonic.
public static extern void SetTextWithMnemonic(IntPtr self, NonNullableUtf8StringHandle str)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetUseMarkup(IntPtr, bool)
Calls native method gtk_label_set_use_markup.
public static extern void SetUseMarkup(IntPtr self, bool setting)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
setting
boolTransfer ownership: None Nullable: False
SetUseUnderline(IntPtr, bool)
Calls native method gtk_label_set_use_underline.
public static extern void SetUseUnderline(IntPtr self, bool setting)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
setting
boolTransfer ownership: None Nullable: False
SetWidthChars(IntPtr, int)
Calls native method gtk_label_set_width_chars.
public static extern void SetWidthChars(IntPtr self, int nChars)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
nChars
intTransfer ownership: None Nullable: False
SetWrap(IntPtr, bool)
Calls native method gtk_label_set_wrap.
public static extern void SetWrap(IntPtr self, bool wrap)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
wrap
boolTransfer ownership: None Nullable: False
SetWrapMode(IntPtr, WrapMode)
Calls native method gtk_label_set_wrap_mode.
public static extern void SetWrapMode(IntPtr self, WrapMode wrapMode)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
wrapMode
WrapModeTransfer ownership: None Nullable: False
SetXalign(IntPtr, float)
Calls native method gtk_label_set_xalign.
public static extern void SetXalign(IntPtr self, float xalign)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
xalign
floatTransfer ownership: None Nullable: False
SetYalign(IntPtr, float)
Calls native method gtk_label_set_yalign.
public static extern void SetYalign(IntPtr self, float yalign)