Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
notebook-page.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Author:
4 * Bryce Harrington <bryce@bryceharrington.org>
5 *
6 * Copyright (C) 2004 Bryce Harrington
7 *
8 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
9 */
10
11#ifndef INKSCAPE_UI_WIDGET_NOTEBOOK_PAGE_H
12#define INKSCAPE_UI_WIDGET_NOTEBOOK_PAGE_H
13
14#include <gtkmm/box.h>
15
16namespace Gtk {
17class Grid;
18}
19
20namespace Inkscape {
21namespace UI {
22namespace Widget {
23
27class NotebookPage : public Gtk::Box
28{
29public:
30 // This class is used by document properties, "fill and stroke", and transformation dialogs.
31 // Consider removing it. It exposes box and grid, which makes it problematic. Box is an impl detail.
32
36 NotebookPage(int n_rows, int n_columns, bool add_scroll_wnd = false);
37
38 Gtk::Grid& table() { return *_table; }
39
40protected:
41 Gtk::Grid *_table;
42};
43
44} // namespace Widget
45} // namespace UI
46} // namespace Inkscape
47
48#endif // INKSCAPE_UI_WIDGET_NOTEBOOK_PAGE_H
49
50/*
51 Local Variables:
52 mode:c++
53 c-file-style:"stroustrup"
54 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
55 indent-tabs-mode:nil
56 fill-column:99
57 End:
58*/
59// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
A tabbed notebook page for dialogs.
Definition desktop.h:50
Helper class to stream background task notifications as a series of messages.