From ab2c9b2f274f80064e15dddced3a71f2805350e6 Mon Sep 17 00:00:00 2001 From: gustav_b Date: Sat, 2 Jun 2007 12:45:58 +0000 Subject: Gtkmm:ified Fill and Stroke dialog (disabled by default). It's still using the old fill/stroke style and paint style widgets, though. (bzr r3050) --- src/ui/widget/notebook-page.cpp | 4 ++-- src/ui/widget/notebook-page.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui/widget') diff --git a/src/ui/widget/notebook-page.cpp b/src/ui/widget/notebook-page.cpp index 83be16a43..47035ce2f 100644 --- a/src/ui/widget/notebook-page.cpp +++ b/src/ui/widget/notebook-page.cpp @@ -25,12 +25,12 @@ namespace Widget { * \param label Label. */ -NotebookPage::NotebookPage(int n_rows, int n_columns) +NotebookPage::NotebookPage(int n_rows, int n_columns, bool expand, bool fill, guint padding) :_table(n_rows, n_columns) { set_border_width(2); _table.set_spacings(2); - pack_start(_table, false, false, 0); + pack_start(_table, expand, fill, padding); } } // namespace Widget diff --git a/src/ui/widget/notebook-page.h b/src/ui/widget/notebook-page.h index 0341cb659..38c13005e 100644 --- a/src/ui/widget/notebook-page.h +++ b/src/ui/widget/notebook-page.h @@ -24,7 +24,7 @@ class NotebookPage : public Gtk::VBox { public: NotebookPage(); - NotebookPage(int n_rows, int n_columns); + NotebookPage(int n_rows, int n_columns, bool expand=false, bool fill=false, guint padding=0); Gtk::Table& table() { return _table; } -- cgit v1.2.3