1 /* === S Y N F I G ========================================================= */
2 /*! \file canvasproperties.h
3 ** \brief Template Header
5 ** $Id: canvasproperties.h,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SYNFIG_GTKMM_CANVASPROPERTIES_H
25 #define __SYNFIG_GTKMM_CANVASPROPERTIES_H
27 /* === H E A D E R S ======================================================= */
31 #include <gtkmm/dialog.h>
32 #include <gtkmm/tooltips.h>
33 #include <gtkmm/table.h>
34 #include <gtkmm/entry.h>
35 #include <gtkmm/tooltips.h>
39 /* === M A C R O S ========================================================= */
41 /* === T Y P E D E F S ===================================================== */
43 /* === C L A S S E S & S T R U C T S ======================================= */
45 namespace Gtk { class TreeView; };
46 namespace synfigapp { class CanvasInterface; };
50 class CanvasProperties : public Gtk::Dialog
52 Gtk::Tooltips tooltips;
54 etl::handle<synfigapp::CanvasInterface> canvas_interface_;
55 Widget_RendDesc widget_rend_desc;
57 Gtk::Entry entry_name;
58 Gtk::Entry entry_description;
62 Gtk::TreeView* meta_data_tree_view;
63 void on_button_meta_data_add();
64 void on_button_meta_data_delete();
67 CanvasProperties(Gtk::Window& parent,etl::handle<synfigapp::CanvasInterface> canvas_interface);
73 void on_rend_desc_changed();
75 Gtk::Widget& create_meta_data_view();
78 void on_apply_pressed();
79 void on_cancel_pressed();
80 }; // END of class CanvasProperties
82 }; // END of namespace studio
84 /* === E N D =============================================================== */