dock.h revision a53fd00014de5e3469827acbab0e4cce9ed39087
/** @file
* @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
#endif
#include <list>
#include "ui/widget/dock-item.h"
struct _GdlDock;
struct _GdlDockBar;
typedef _GdlDockBar GdlDockBar;
}
~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:fileencoding=utf-8:textwidth=99 :