public ActionMenuItem (TileAction action) : base (action.Name) { this.action_delegate = action.Action; if (action.Stock != null) { Gtk.Image image = new Gtk.Image (); image.SetFromStock (action.Stock, IconSize.Menu); image.Show (); this.Image = image; } }
public ActionMenuItem(TileAction action) : base(action.Name) { this.action_delegate = action.Action; if (action.Stock != null) { Gtk.Image image = new Gtk.Image(); image.SetFromStock(action.Stock, IconSize.Menu); image.Show(); this.Image = image; } }
public TileAction(string name, TileActionDelegate action) { this.name = name; this.action = action; }
public TileAction(string name, string stock, TileActionDelegate action) { this.name = name; this.stock = stock; this.action = action; }
public TileAction (string name, TileActionDelegate action) { this.name = name; this.action = action; }
public TileAction (string name, string stock, TileActionDelegate action) { this.name = name; this.stock = stock; this.action = action; }