Ejemplo n.º 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;
			}
		}
Ejemplo n.º 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;
            }
        }
Ejemplo n.º 3
0
 public TileAction(string name, TileActionDelegate action)
 {
     this.name   = name;
     this.action = action;
 }
Ejemplo n.º 4
0
 public TileAction(string name, string stock, TileActionDelegate action)
 {
     this.name   = name;
     this.stock  = stock;
     this.action = action;
 }
Ejemplo n.º 5
0
		public TileAction (string name, TileActionDelegate action)
		{
			this.name = name;
			this.action = action;
		}
Ejemplo n.º 6
0
		public TileAction (string name, string stock, TileActionDelegate action)
		{
			this.name = name;
			this.stock = stock;
			this.action = action;
		}