Ardour  9.0-pre0-350-gf17a656217
treedragdest.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_TREEDRAGDEST_H
4 #define _GTKMM_TREEDRAGDEST_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: treedragdest.hg,v 1.4 2004/03/09 17:36:29 murrayc Exp $ */
11 
12 /* Copyright (C) 1998-2002 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28 
29 #include <glibmm/interface.h>
30 #include <gtkmm/selectiondata.h>
31 #include <gtkmm/treemodel.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 extern "C"
36 {
38 typedef struct _GtkSelectionData GtkSelectionData;
39 }
40 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41 
42 
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 typedef struct _GtkTreeDragDest GtkTreeDragDest;
45 typedef struct _GtkTreeDragDestClass GtkTreeDragDestClass;
46 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
47 
48 
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 namespace Gtk
51 { class TreeDragDest_Class; } // namespace Gtk
52 #endif // DOXYGEN_SHOULD_SKIP_THIS
53 
54 namespace Gtk
55 {
56 
61 class TreeDragDest : public Glib::Interface
62 {
63 
64 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 
66 public:
67  typedef TreeDragDest CppObjectType;
68  typedef TreeDragDest_Class CppClassType;
69  typedef GtkTreeDragDest BaseObjectType;
70  typedef GtkTreeDragDestIface BaseClassType;
71 
72 private:
73  friend class TreeDragDest_Class;
74  static CppClassType treedragdest_class_;
75 
76  // noncopyable
77  TreeDragDest(const TreeDragDest&);
78  TreeDragDest& operator=(const TreeDragDest&);
79 
80 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
81 protected:
86 
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94  explicit TreeDragDest(const Glib::Interface_Class& interface_class);
95 
96 public:
97  // This is public so that C++ wrapper instances can be
98  // created for C instances of unwrapped types.
99  // For instance, if an unexpected C type implements the C interface.
100  explicit TreeDragDest(GtkTreeDragDest* castitem);
101 
102 protected:
103 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
104 
105 public:
106  virtual ~TreeDragDest();
107 
108  static void add_interface(GType gtype_implementer);
109 
112  static GType get_type() G_GNUC_CONST;
113 
114 #ifndef DOXYGEN_SHOULD_SKIP_THIS
115  static GType get_base_type() G_GNUC_CONST;
116 #endif
117 
119  GtkTreeDragDest* gobj() { return reinterpret_cast<GtkTreeDragDest*>(gobject_); }
120 
122  const GtkTreeDragDest* gobj() const { return reinterpret_cast<GtkTreeDragDest*>(gobject_); }
123 
124 private:
125 
126 
127 public:
128 
129 
141  bool drag_data_received(const TreeModel::Path& dest, const SelectionData& selection_data);
142 
143 
154  bool row_drop_possible(const TreeModel::Path& dest_path, const SelectionData& selection_data) const;
155 
156 protected:
157  virtual bool drag_data_received_vfunc(const TreeModel::Path& dest, const SelectionData& selection_data);
158 
159 
160  virtual bool row_drop_possible_vfunc(const TreeModel::Path& dest, const SelectionData& selection_data) const;
161 
162 
163 public:
164 
165 public:
166  //C++ methods used to invoke GTK+ virtual functions:
167 
168 protected:
169  //GTK+ Virtual Functions (override these to change behaviour):
170 
171  //Default Signal Handlers::
172 
173 
174 };
175 
176 } // namespace Gtk
177 
178 
179 namespace Glib
180 {
189  Glib::RefPtr<Gtk::TreeDragDest> wrap(GtkTreeDragDest* object, bool take_copy = false);
190 
191 } // namespace Glib
192 
193 
194 #endif /* _GTKMM_TREEDRAGDEST_H */
195 
static GType get_type() G_GNUC_CONST
static void add_interface(GType gtype_implementer)
GtkTreeDragDest * gobj()
Provides access to the underlying C GObject.
Definition: treedragdest.h:119
bool row_drop_possible(const TreeModel::Path &dest_path, const SelectionData &selection_data) const
virtual ~TreeDragDest()
Glib::RefPtr< Gtk::TreeDragDest > wrap(GtkTreeDragDest *object, bool take_copy=false)
bool drag_data_received(const TreeModel::Path &dest, const SelectionData &selection_data)
virtual bool drag_data_received_vfunc(const TreeModel::Path &dest, const SelectionData &selection_data)
const GtkTreeDragDest * gobj() const
Provides access to the underlying C GObject.
Definition: treedragdest.h:122
virtual bool row_drop_possible_vfunc(const TreeModel::Path &dest, const SelectionData &selection_data) const
struct _GtkTreeDragDest GtkTreeDragDest
Definition: gtktreednd.h:79
Definition: ardour_ui.h:187