1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
//=======================================================================
// pkgwindow.h
//-----------------------------------------------------------------------
// This file is part of the package paco
// Copyright (C) 2004-2009 David Rosal
// For more information visit http://paco.sourceforge.net
//=======================================================================
#ifndef GPACO_PKG_WINDOW_H
#define GPACO_PKG_WINDOW_H
#include <gtkmm/window.h>
#include <gtkmm/box.h>
#include <gtkmm/notebook.h>
namespace Gpaco
{
class Pkg;
class FilesTab;
class InfoTab;
class RemoveTab;
class PackageTab;
class PkgWindow : public Gtk::Window
{
public:
PkgWindow(Pkg&);
~PkgWindow();
FilesTab* filesTab() { return mpFilesTab; }
virtual bool on_delete_event(GdkEventAny*);
void presentTab(int const&);
private:
Pkg& mPkg;
FilesTab* mpFilesTab;
InfoTab* mpInfoTab;
RemoveTab* mpRemoveTab;
PackageTab* mpPackageTab;
Gtk::Notebook mNotebook;
class TabLabel : public Gtk::HBox
{
public:
TabLabel(Glib::ustring const& title, Gtk::StockID id);
TabLabel(Glib::ustring const& title, Glib::ustring const& file);
~TabLabel();
};
};
} // namespace Gpaco
#endif // GPACO_PKG_WINDOW_H
|