Example #1
0
        public static DockToolButton CreateDockToolBarItem(this Gtk.Action action)
        {
            DockToolButton item = new DockToolButton (action.StockId);
            action.ConnectProxy (item);

            item.Show ();
            item.TooltipText = action.Label;
            item.Label = string.Empty;
            item.Image.Show ();

            return item;
        }