Code

patch 1750206 by Bruno Dilly - bdilly
[inkscape.git] / src / ui / widget / notebook-page.cpp
1 /**
2  * \brief Notebook page widget
3  *
4  * Author:
5  *   Bryce Harrington <bryce@bryceharrington.org>
6  *
7  * Copyright (C) 2004 Bryce Harrington
8  *
9  * Released under GNU GPL.  Read the file 'COPYING' for more information
10  */
12 #ifdef HAVE_CONFIG_H
13 # include <config.h>
14 #endif
16 #include "notebook-page.h"
18 namespace Inkscape {
19 namespace UI {
20 namespace Widget {
22 /**
23  *    Construct a NotebookPage
24  *
25  *    \param label Label.
26  */
27   
28 NotebookPage::NotebookPage(int n_rows, int n_columns, bool expand, bool fill, guint padding)
29     :_table(n_rows, n_columns)
30 {
31     set_border_width(2);
32     _table.set_spacings(2);
33     pack_start(_table, expand, fill, padding);
34 }
36 } // namespace Widget
37 } // namespace UI
38 } // namespace Inkscape
40 /* 
41   Local Variables:
42   mode:c++
43   c-file-style:"stroustrup"
44   c-file-offsets:((innamespace . 0)(inline-open . 0))
45   indent-tabs-mode:nil
46   fill-column:99
47   End:
48 */
49 // vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :