dock.h revision 073fa4ce4f7402aa0ce7e02dea7c3da7a1cacc27
/**
* \brief A desktop dock pane to dock dialogs, a custom wrapper around gdl-dock.
*
* Author:
* Gustav Broberg <broberg@kth.se>
*
* Copyright (C) 2007 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_WIDGET_DOCK_H
#define INKSCAPE_UI_WIDGET_DOCK_H
#include <gtkmm/scrolledwindow.h>
#include <list>
#include "ui/widget/dock-item.h"
~Dock();
bool isEmpty() const; //< true iff none of the dock's items are in a docked state
bool hasIconifiedItems() const;
void hide();
void show();
/** Toggle size of dock between the previous dimensions and the ones sent as parameters */
/** Scrolls the scrolled window container to make the provided dock item visible, if needed */
/** Interface widgets, will be packed like
* _scrolled_window -> (_dock_box -> (_paned -> (_dock -> _filler) | _dock_bar))
*/
/** Internal signal handlers */
void _onLayoutChanged();
/** GdlDock signal proxy structures */
/** Standard widths */
static const int _default_empty_width;
static const int _default_dock_bar_width;
};
} // namespace Widget
} // namespace UI
} // namespace Inkscape
#endif //INKSCAPE_UI_DIALOG_BEHAVIOUR_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99