/* i4ucbottompage.vala
*
* Copyright (C) 2010 Matias De la Puente
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
* Author:
* Matias De la Puente
*/
using Gtk;
public class I4uc.BottomPage : Gtk.VBox, PageIface
{
public string title { set; get; }
public HBox tab_label { private set; get; }
private Image _tab_image = new Image.from_stock (STOCK_FILE, IconSize.MENU);
public string tab_image
{
set { _tab_image.set_from_stock (value, IconSize.MENU); }
owned get { return _tab_image.stock; }
}
private Label _tab_title = new Label (null);
public string tab_title
{
set { _tab_title.label = value; }
get { return _tab_title.label; }
}
public string tab_tooltip
{
set { _tab_label.tooltip_markup = value; }
get { return _tab_label.tooltip_markup; }
}
public bool tab_mark { set; get; }
public BottomPage ()
{
_tab_label = new HBox (false, 0);
_tab_label.pack_start (_tab_image, false, false, 2);
_tab_label.pack_start (_tab_title, false, false, 2);
_tab_label.show_all ();
}
}