Get and save player
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
using System;
|
||||
using Gtk;
|
||||
|
||||
namespace EstusShots.Gtk.Controls
|
||||
{
|
||||
public class DataColumn
|
||||
public class DataColumn : TreeViewColumn
|
||||
{
|
||||
public DataColumn()
|
||||
{
|
||||
Resizable = true;
|
||||
Reorderable = true;
|
||||
}
|
||||
|
||||
public DataColumn(string propertyName)
|
||||
{
|
||||
PropertyName = propertyName;
|
||||
Title = propertyName;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -18,11 +22,6 @@ namespace EstusShots.Gtk.Controls
|
||||
/// </summary>
|
||||
public string PropertyName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The column header.
|
||||
/// </summary>
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Applies the given transformation on each item in the column.
|
||||
/// This changes only the display of the value.
|
||||
|
||||
Reference in New Issue
Block a user