enum Gtk::TreeViewColumnSizing

Overview

The sizing method the column uses to determine its width. Please note that %GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and can make columns appear choppy.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

GrowOnly = 0_u32

Columns only get bigger in reaction to changes in the model

Autosize = 1_u32

Columns resize to be the optimal size every time the model changes.

Fixed = 2_u32

Columns are a fixed numbers of pixels wide.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def autosize? #

def fixed? #

def grow_only? #