Get and save player

This commit is contained in:
2020-03-02 19:40:46 +01:00
parent df5a9d3976
commit 3e72acf71a
6 changed files with 96 additions and 33 deletions

View File

@@ -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.