Community
Participate
Working Groups
}
list = OS.g_list_next (list);
int /*long*/ columnHandle = 0;
int /*long*/ columnHandle = OS.g_list_data (columns);
if (fixVisible) {
columnHandle = OS.g_list_data (columns);
OS.gtk_tree_view_column_set_visible (columnHandle, true);
super.gtk_widget_size_request (widget, requisition);
/*
* While the size is allocated for Table, there is a
* chance that the table column has the width set (and turned
* visible) in SetData listener code. In that case, the
* column's visibility should not set back to false.
*/
int columnWidth = OS.gtk_tree_view_column_get_fixed_width (columnHandle);
if (fixVisible && columnWidth == 0) {
OS.gtk_tree_view_column_set_visible (columnHandle, false);
if (columns != 0) OS.g_list_free (columns);