Пример #1
0
		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;
			}
		}
Пример #2
0
        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;
            }
        }
Пример #3
0
 public TileAction(string name, TileActionDelegate action)
 {
     this.name   = name;
     this.action = action;
 }
Пример #4
0
 public TileAction(string name, string stock, TileActionDelegate action)
 {
     this.name   = name;
     this.stock  = stock;
     this.action = action;
 }
Пример #5
0
		public TileAction (string name, TileActionDelegate action)
		{
			this.name = name;
			this.action = action;
		}
Пример #6
0
		public TileAction (string name, string stock, TileActionDelegate action)
		{
			this.name = name;
			this.stock = stock;
			this.action = action;
		}