summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/notebook-page.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/notebook-page.cpp')
-rw-r--r--src/ui/widget/notebook-page.cpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/ui/widget/notebook-page.cpp b/src/ui/widget/notebook-page.cpp
new file mode 100644
index 000000000..83be16a43
--- /dev/null
+++ b/src/ui/widget/notebook-page.cpp
@@ -0,0 +1,49 @@
+/**
+ * \brief Notebook page widget
+ *
+ * Author:
+ * Bryce Harrington <bryce@bryceharrington.org>
+ *
+ * Copyright (C) 2004 Bryce Harrington
+ *
+ * Released under GNU GPL. Read the file 'COPYING' for more information
+ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include "notebook-page.h"
+
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+
+/**
+ * Construct a NotebookPage
+ *
+ * \param label Label.
+ */
+
+NotebookPage::NotebookPage(int n_rows, int n_columns)
+ :_table(n_rows, n_columns)
+{
+ set_border_width(2);
+ _table.set_spacings(2);
+ pack_start(_table, false, false, 0);
+}
+
+} // namespace Widget
+} // namespace UI
+} // namespace Inkscape
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :