Ardour  8.7-14-g57a6773833
invisible.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_INVISIBLE_H
4 #define _GTKMM_INVISIBLE_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: invisible.hg,v 1.2 2006/04/12 11:11:25 murrayc Exp $ */
11 
12 /* invisible.h
13  *
14  * Copyright (C) 1998-2002 The gtkmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <gtkmm/widget.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 typedef struct _GtkInvisible GtkInvisible;
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class Invisible_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
50 class Invisible : public Widget
51 {
52  public:
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54  typedef Invisible CppObjectType;
55  typedef Invisible_Class CppClassType;
56  typedef GtkInvisible BaseObjectType;
57  typedef GtkInvisibleClass BaseClassType;
58 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
59 
60  virtual ~Invisible();
61 
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 
64 private:
65  friend class Invisible_Class;
66  static CppClassType invisible_class_;
67 
68  // noncopyable
69  Invisible(const Invisible&);
70  Invisible& operator=(const Invisible&);
71 
72 protected:
73  explicit Invisible(const Glib::ConstructParams& construct_params);
74  explicit Invisible(GtkInvisible* castitem);
75 
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 
78 public:
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80  static GType get_type() G_GNUC_CONST;
81 
82 
83  static GType get_base_type() G_GNUC_CONST;
84 #endif
85 
87  GtkInvisible* gobj() { return reinterpret_cast<GtkInvisible*>(gobject_); }
88 
90  const GtkInvisible* gobj() const { return reinterpret_cast<GtkInvisible*>(gobject_); }
91 
92 
93 public:
94  //C++ methods used to invoke GTK+ virtual functions:
95 
96 protected:
97  //GTK+ Virtual Functions (override these to change behaviour):
98 
99  //Default Signal Handlers::
100 
101 
102 private:
103 
104 public:
106  explicit Invisible(const Glib::RefPtr<Gdk::Screen>& screen);
107 
108 
113  Glib::RefPtr<Gdk::Screen> get_screen();
114 
119  Glib::RefPtr<const Gdk::Screen> get_screen() const;
120 
125  void set_screen(const Glib::RefPtr<Gdk::Screen>& screen);
126 
127 
128 };
129 
130 } /* namespace Gtk */
131 
132 
133 namespace Glib
134 {
143  Gtk::Invisible* wrap(GtkInvisible* object, bool take_copy = false);
144 } //namespace Glib
145 
146 
147 #endif /* _GTKMM_INVISIBLE_H */
148 
Glib::RefPtr< Gdk::Screen > get_screen()
virtual ~Invisible()
Gtk::Invisible * wrap(GtkInvisible *object, bool take_copy=false)
const GtkInvisible * gobj() const
Provides access to the underlying C GtkObject.
Definition: invisible.h:90
GtkInvisible * gobj()
Provides access to the underlying C GtkObject.
Definition: invisible.h:87
Glib::RefPtr< const Gdk::Screen > get_screen() const
Invisible(const Glib::RefPtr< Gdk::Screen > &screen)
void set_screen(const Glib::RefPtr< Gdk::Screen > &screen)
Definition: ardour_ui.h:188