Class: Gtk::ColumnViewColumn
- Inherits:
-
Object
- Object
- Gtk::ColumnViewColumn
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#column_view ⇒ Gtk::ColumnView
The
GtkColumnViewthis column is a part of. -
#column_view=(column_view) ⇒ Gtk::ColumnView
The
GtkColumnViewthis column is a part of. -
#expand ⇒ Boolean
Returns whether this column should expand.
-
#expand=(expand) ⇒ Boolean
Column gets share of extra width allocated to the view.
-
#expand? ⇒ Boolean
Column gets share of extra width allocated to the view.
-
#factory ⇒ Gtk::ListItemFactory
Factory for populating list items.
-
#factory=(factory) ⇒ Gtk::ListItemFactory
Factory for populating list items.
-
#fixed_width ⇒ Integer
If not -1, this is the width that the column is allocated, regardless of the size of its content.
-
#fixed_width=(fixed_width) ⇒ Integer
If not -1, this is the width that the column is allocated, regardless of the size of its content.
-
#header_menu ⇒ Gio::MenuModel
Menu model used to create the context menu for the column header.
-
#header_menu=(header_menu) ⇒ Gio::MenuModel
Menu model used to create the context menu for the column header.
-
#id ⇒ String
An ID for the column.
-
#id=(id) ⇒ String
An ID for the column.
-
#initialize(title, factory) ⇒ Gtk::ColumnViewColumn
constructor
Creates a new
GtkColumnViewColumnthat uses the given factory for mapping items to widgets. -
#resizable ⇒ Boolean
Returns whether this column is resizable.
-
#resizable=(resizable) ⇒ Boolean
Whether this column is resizable.
-
#resizable? ⇒ Boolean
Whether this column is resizable.
-
#sorter ⇒ Gtk::Sorter
Sorter for sorting items according to this column.
-
#sorter=(sorter) ⇒ Gtk::Sorter
Sorter for sorting items according to this column.
-
#title ⇒ String
Title displayed in the header.
-
#title=(title) ⇒ String
Title displayed in the header.
-
#visible ⇒ Boolean
Returns whether this column is visible.
-
#visible=(visible) ⇒ Boolean
Whether this column is visible.
-
#visible? ⇒ Boolean
Whether this column is visible.
Constructor Details
#initialize(title, factory) ⇒ Gtk::ColumnViewColumn
Creates a new GtkColumnViewColumn that uses the given factory for
mapping items to widgets.
You most likely want to call [methodGtk.ColumnView.append_column] next.
The function takes ownership of the argument, so you can write code like:
column = gtk_column_view_column_new (_("Name"),
gtk_builder_list_item_factory_new_from_resource ("/name.ui"));
Instance Method Details
#column_view ⇒ Gtk::ColumnView
The GtkColumnView this column is a part of.
#column_view=(column_view) ⇒ Gtk::ColumnView
The GtkColumnView this column is a part of.
#expand ⇒ Boolean
Returns whether this column should expand.
#expand=(expand) ⇒ Boolean
Column gets share of extra width allocated to the view.
#expand? ⇒ Boolean
Column gets share of extra width allocated to the view.
#factory ⇒ Gtk::ListItemFactory
Factory for populating list items.
#factory=(factory) ⇒ Gtk::ListItemFactory
Factory for populating list items.
#fixed_width ⇒ Integer
If not -1, this is the width that the column is allocated, regardless of the size of its content.
#fixed_width=(fixed_width) ⇒ Integer
If not -1, this is the width that the column is allocated, regardless of the size of its content.
#header_menu ⇒ Gio::MenuModel
Menu model used to create the context menu for the column header.
#header_menu=(header_menu) ⇒ Gio::MenuModel
Menu model used to create the context menu for the column header.
#id ⇒ String
An ID for the column.
GTK is not currently using the ID for anything, but it can be used by applications when saving column view configurations.
It is up to applications to ensure uniqueness of IDs.
#id=(id) ⇒ String
An ID for the column.
GTK is not currently using the ID for anything, but it can be used by applications when saving column view configurations.
It is up to applications to ensure uniqueness of IDs.
#resizable ⇒ Boolean
Returns whether this column is resizable.
#resizable=(resizable) ⇒ Boolean
Whether this column is resizable.
#resizable? ⇒ Boolean
Whether this column is resizable.
#sorter ⇒ Gtk::Sorter
Sorter for sorting items according to this column.
#sorter=(sorter) ⇒ Gtk::Sorter
Sorter for sorting items according to this column.
#title ⇒ String
Title displayed in the header.
#title=(title) ⇒ String
Title displayed in the header.
#visible ⇒ Boolean
Returns whether this column is visible.
#visible=(visible) ⇒ Boolean
Whether this column is visible.
#visible? ⇒ Boolean
Whether this column is visible.