Class ListBox
public class ListBox
- Inheritance
-
ListBox
- Inherited Members
Methods
Append(IntPtr, IntPtr)
Calls native method gtk_list_box_append.
public static extern void Append(IntPtr box, IntPtr child)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: False
BindModel(IntPtr, IntPtr, ListBoxCreateWidgetFunc, IntPtr, DestroyNotify)
Calls native method gtk_list_box_bind_model.
public static extern void BindModel(IntPtr box, IntPtr model, ListBoxCreateWidgetFunc createWidgetFunc, IntPtr userData, DestroyNotify userDataFreeFunc)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
model
IntPtrTransfer ownership: None Nullable: True
createWidgetFunc
ListBoxCreateWidgetFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
userDataFreeFunc
DestroyNotifyTransfer ownership: None Nullable: False
DragHighlightRow(IntPtr, IntPtr)
Calls native method gtk_list_box_drag_highlight_row.
public static extern void DragHighlightRow(IntPtr box, IntPtr row)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
row
IntPtrTransfer ownership: None Nullable: False
DragUnhighlightRow(IntPtr)
Calls native method gtk_list_box_drag_unhighlight_row.
public static extern void DragUnhighlightRow(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
GetActivateOnSingleClick(IntPtr)
Calls native method gtk_list_box_get_activate_on_single_click.
public static extern bool GetActivateOnSingleClick(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetAdjustment(IntPtr)
Calls native method gtk_list_box_get_adjustment.
public static extern IntPtr GetAdjustment(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetGType()
Calls native function gtk_list_box_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetRowAtIndex(IntPtr, int)
Calls native method gtk_list_box_get_row_at_index.
public static extern IntPtr GetRowAtIndex(IntPtr box, int index)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
index
intTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetRowAtY(IntPtr, int)
Calls native method gtk_list_box_get_row_at_y.
public static extern IntPtr GetRowAtY(IntPtr box, int y)
Parameters
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetSelectedRow(IntPtr)
Calls native method gtk_list_box_get_selected_row.
public static extern IntPtr GetSelectedRow(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetSelectionMode(IntPtr)
Calls native method gtk_list_box_get_selection_mode.
public static extern SelectionMode GetSelectionMode(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
Returns
- SelectionMode
Transfer ownership: None Nullable: False
GetShowSeparators(IntPtr)
Calls native method gtk_list_box_get_show_separators.
public static extern bool GetShowSeparators(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Insert(IntPtr, IntPtr, int)
Calls native method gtk_list_box_insert.
public static extern void Insert(IntPtr box, IntPtr child, int position)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: False
position
intTransfer ownership: None Nullable: False
InvalidateFilter(IntPtr)
Calls native method gtk_list_box_invalidate_filter.
public static extern void InvalidateFilter(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
InvalidateHeaders(IntPtr)
Calls native method gtk_list_box_invalidate_headers.
public static extern void InvalidateHeaders(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
InvalidateSort(IntPtr)
Calls native method gtk_list_box_invalidate_sort.
public static extern void InvalidateSort(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
New()
Calls native constructor gtk_list_box_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: None Nullable: False
Prepend(IntPtr, IntPtr)
Calls native method gtk_list_box_prepend.
public static extern void Prepend(IntPtr box, IntPtr child)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: False
Remove(IntPtr, IntPtr)
Calls native method gtk_list_box_remove.
public static extern void Remove(IntPtr box, IntPtr child)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
child
IntPtrTransfer ownership: None Nullable: False
RemoveAll(IntPtr)
Calls native method gtk_list_box_remove_all. Version: 4.12
[Version("4.12")]
public static extern void RemoveAll(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
SelectAll(IntPtr)
Calls native method gtk_list_box_select_all.
public static extern void SelectAll(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
SelectRow(IntPtr, IntPtr)
Calls native method gtk_list_box_select_row.
public static extern void SelectRow(IntPtr box, IntPtr row)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
row
IntPtrTransfer ownership: None Nullable: True
SelectedForeach(IntPtr, ListBoxForeachFunc, IntPtr)
Calls native method gtk_list_box_selected_foreach.
public static extern void SelectedForeach(IntPtr box, ListBoxForeachFunc func, IntPtr data)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
func
ListBoxForeachFuncTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
SetActivateOnSingleClick(IntPtr, bool)
Calls native method gtk_list_box_set_activate_on_single_click.
public static extern void SetActivateOnSingleClick(IntPtr box, bool single)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
single
boolTransfer ownership: None Nullable: False
SetAdjustment(IntPtr, IntPtr)
Calls native method gtk_list_box_set_adjustment.
public static extern void SetAdjustment(IntPtr box, IntPtr adjustment)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
adjustment
IntPtrTransfer ownership: None Nullable: True
SetFilterFunc(IntPtr, ListBoxFilterFunc, IntPtr, DestroyNotify)
Calls native method gtk_list_box_set_filter_func.
public static extern void SetFilterFunc(IntPtr box, ListBoxFilterFunc filterFunc, IntPtr userData, DestroyNotify destroy)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
filterFunc
ListBoxFilterFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroy
DestroyNotifyTransfer ownership: None Nullable: False
SetHeaderFunc(IntPtr, ListBoxUpdateHeaderFunc, IntPtr, DestroyNotify)
Calls native method gtk_list_box_set_header_func.
public static extern void SetHeaderFunc(IntPtr box, ListBoxUpdateHeaderFunc updateHeader, IntPtr userData, DestroyNotify destroy)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
updateHeader
ListBoxUpdateHeaderFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroy
DestroyNotifyTransfer ownership: None Nullable: False
SetPlaceholder(IntPtr, IntPtr)
Calls native method gtk_list_box_set_placeholder.
public static extern void SetPlaceholder(IntPtr box, IntPtr placeholder)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
placeholder
IntPtrTransfer ownership: None Nullable: True
SetSelectionMode(IntPtr, SelectionMode)
Calls native method gtk_list_box_set_selection_mode.
public static extern void SetSelectionMode(IntPtr box, SelectionMode mode)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
mode
SelectionModeTransfer ownership: None Nullable: False
SetShowSeparators(IntPtr, bool)
Calls native method gtk_list_box_set_show_separators.
public static extern void SetShowSeparators(IntPtr box, bool showSeparators)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
showSeparators
boolTransfer ownership: None Nullable: False
SetSortFunc(IntPtr, ListBoxSortFunc, IntPtr, DestroyNotify)
Calls native method gtk_list_box_set_sort_func.
public static extern void SetSortFunc(IntPtr box, ListBoxSortFunc sortFunc, IntPtr userData, DestroyNotify destroy)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
sortFunc
ListBoxSortFuncTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
destroy
DestroyNotifyTransfer ownership: None Nullable: False
UnselectAll(IntPtr)
Calls native method gtk_list_box_unselect_all.
public static extern void UnselectAll(IntPtr box)
Parameters
box
IntPtrTransfer ownership: None Nullable: False
UnselectRow(IntPtr, IntPtr)
Calls native method gtk_list_box_unselect_row.
public static extern void UnselectRow(IntPtr box, IntPtr row)