gtk :: GtkListBox :: defaultinit
# A vertical container of `GtkListBoxRow`
extern class GtkListBox `{ GtkListBox * `}
super GtkContainer
new `{ return (GtkListBox*)gtk_list_box_new(); `}
fun prepend(child: GtkWidget) `{ gtk_list_box_prepend(self, child); `}
fun insert(child: GtkWidget, position: Int) `{ gtk_list_box_insert(self, child, position); `}
fun selected_row: GtkListBoxRow `{ return gtk_list_box_get_selected_row(self); `}
fun row_at_index(index: Int): GtkListBoxRow`{ return gtk_list_box_get_row_at_index(self, index); `}
fun row_at_y(y: Int): GtkListBoxRow `{ return gtk_list_box_get_row_at_y(self, y); `}
fun select_row(row: GtkListBoxRow) `{ gtk_list_box_select_row(self, row); `}
fun placeholder=(placeholder: GtkWidget) `{ gtk_list_box_set_placeholder(self, placeholder); `}
fun adjustment=(adjustment: GtkAdjustment) `{ gtk_list_box_set_adjustment(self, adjustment); `}
fun selection_mode=(mode: GtkSelectionMode) `{ gtk_list_box_set_selection_mode(self, mode); `}
fun selection_mode: GtkSelectionMode `{ return gtk_list_box_get_selection_mode (self); `}
fun invalidate_filter `{ gtk_list_box_invalidate_filter(self); `}
fun invalidate_sort `{ gtk_list_box_invalidate_sort(self); `}
fun invalidate_headers `{ gtk_list_box_invalidate_headers(self); `}
fun activate_on_single_click=(single: Bool) `{ gtk_list_box_set_activate_on_single_click(self, single); `}
fun activate_on_single_click: Bool `{ return gtk_list_box_get_activate_on_single_click(self); `}
fun drag_unhighlight_row `{ gtk_list_box_drag_unhighlight_row(self); `}
fun drag_highlight_row(row: GtkListBoxRow) `{ gtk_list_box_drag_highlight_row(self, row); `}
# TODO
#fun (* GtkListBoxForeachFunc)(GtkListBoxRow *row, gpointer user_data) `{ (* GtkListBoxForeachFunc)(self, GtkListBoxRow *row, gpointer user_data); `}
#fun set_filter_func(GtkListBoxFilterFunc filter_func, gpointer user_data, GDestroyNotify destroy) `{ gtk_list_box_set_filter_func(self, GtkListBoxFilterFunc filter_func, gpointer user_data, GDestroyNotify destroy); `}
#fun set_header_func(GtkListBoxUpdateHeaderFunc update_header, gpointer user_data, GDestroyNotify destroy) `{ gtk_list_box_set_header_func(self, GtkListBoxUpdateHeaderFunc update_header, gpointer user_data, GDestroyNotify destroy); `}
#fun set_sort_func(GtkListBoxSortFunc sort_func, gpointer user_data, GDestroyNotify destroy) `{ gtk_list_box_set_sort_func(self, GtkListBoxSortFunc sort_func, gpointer user_data, GDestroyNotify destroy); `}
end
lib/gtk/v3_10.nit:24,1--69,3