Ardour  9.0-pre0-582-g084a23a80d
displaymanager.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GDKMM_DISPLAYMANAGER_H
4 #define _GDKMM_DISPLAYMANAGER_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: displaymanager.hg,v 1.8 2006/04/12 11:11:24 murrayc Exp $ */
11 
12 /* displaymanager.h
13  *
14  * Copyright (C) 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 <glibmm/object.h>
32 #include <gdkmm/display.h>
33 
34 
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 typedef struct _GdkDisplayManager GdkDisplayManager;
38 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
39 
40 
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 namespace Gdk
43 { class DisplayManager_Class; } // namespace Gdk
44 #endif //DOXYGEN_SHOULD_SKIP_THIS
45 
46 namespace Gdk
47 {
48 
53 class DisplayManager : public Glib::Object
54 {
55 
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 
58 public:
59  typedef DisplayManager CppObjectType;
60  typedef DisplayManager_Class CppClassType;
61  typedef GdkDisplayManager BaseObjectType;
62  typedef GdkDisplayManagerClass BaseClassType;
63 
64 private: friend class DisplayManager_Class;
65  static CppClassType displaymanager_class_;
66 
67 private:
68  // noncopyable
70  DisplayManager& operator=(const DisplayManager&);
71 
72 protected:
73  explicit DisplayManager(const Glib::ConstructParams& construct_params);
74  explicit DisplayManager(GdkDisplayManager* castitem);
75 
76 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
77 
78 public:
79  virtual ~DisplayManager();
80 
83  static GType get_type() G_GNUC_CONST;
84 
85 #ifndef DOXYGEN_SHOULD_SKIP_THIS
86 
87 
88  static GType get_base_type() G_GNUC_CONST;
89 #endif
90 
92  GdkDisplayManager* gobj() { return reinterpret_cast<GdkDisplayManager*>(gobject_); }
93 
95  const GdkDisplayManager* gobj() const { return reinterpret_cast<GdkDisplayManager*>(gobject_); }
96 
99 
100 private:
101 
102 protected:
103 
104 public:
105 
106 
112  static Glib::RefPtr<DisplayManager> get();
113 
119  Glib::RefPtr<Display> get_default_display();
120 
126  Glib::RefPtr<const Display> get_default_display() const;
127 
128 
133  void set_default_display(const Glib::RefPtr<Display>& display);
134 
135 
140  Glib::SListHandle< Glib::RefPtr<Display> > list_displays();
141 
147  Glib::PropertyProxy< Glib::RefPtr<Display> > property_default_display() ;
148 
154  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Display> > property_default_display() const;
155 
156 
166  Glib::SignalProxy1< void,const Glib::RefPtr<Display>& > signal_display_opened();
167 
168 
169 public:
170 
171 public:
172  //C++ methods used to invoke GTK+ virtual functions:
173 
174 protected:
175  //GTK+ Virtual Functions (override these to change behaviour):
176 
177  //Default Signal Handlers::
179  virtual void on_display_opened(const Glib::RefPtr<Display>& display);
180 
181 
182 };
183 
184 } /* namespace Gdk */
185 
186 
187 namespace Glib
188 {
197  Glib::RefPtr<Gdk::DisplayManager> wrap(GdkDisplayManager* object, bool take_copy = false);
198 }
199 
200 
201 #endif /* _GDKMM_DISPLAYMANAGER_H */
202 
Glib::SListHandle< Glib::RefPtr< Display > > list_displays()
const GdkDisplayManager * gobj() const
Provides access to the underlying C GObject.
GdkDisplayManager * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
static GType get_type() G_GNUC_CONST
Glib::SignalProxy1< void, const Glib::RefPtr< Display > & > signal_display_opened()
Glib::RefPtr< Gdk::DisplayManager > wrap(GdkDisplayManager *object, bool take_copy=false)
GdkDisplayManager * gobj()
Provides access to the underlying C GObject.
void set_default_display(const Glib::RefPtr< Display > &display)
Glib::RefPtr< const Display > get_default_display() const
virtual ~DisplayManager()
Glib::RefPtr< Display > get_default_display()
static Glib::RefPtr< DisplayManager > get()
Glib::PropertyProxy< Glib::RefPtr< Display > > property_default_display()
virtual void on_display_opened(const Glib::RefPtr< Display > &display)
This is a default handler for the signal signal_display_opened().
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Display > > property_default_display() const
typedefG_BEGIN_DECLS struct _GdkDisplayManager GdkDisplayManager