~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to include/gtkmm-2.4/gtkmm/invisible.h

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- c++ -*-
 
2
// Generated by gtkmmproc -- DO NOT MODIFY!
 
3
#ifndef _GTKMM_INVISIBLE_H
 
4
#define _GTKMM_INVISIBLE_H
 
5
 
 
6
 
 
7
#include <glibmm.h>
 
8
 
 
9
/* $Id: invisible.hg,v 1.2 2006/04/12 11:11:25 murrayc Exp $ */
 
10
 
 
11
/* invisible.h
 
12
 * 
 
13
 * Copyright (C) 1998-2002 The gtkmm Development Team
 
14
 *
 
15
 * This library is free software; you can redistribute it and/or
 
16
 * modify it under the terms of the GNU Lesser General Public
 
17
 * License as published by the Free Software Foundation; either
 
18
 * version 2.1 of the License, or (at your option) any later version.
 
19
 *
 
20
 * This library is distributed in the hope that it will be useful,
 
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
23
 * Lesser General Public License for more details.
 
24
 *
 
25
 * You should have received a copy of the GNU Lesser General Public
 
26
 * License along with this library; if not, write to the Free
 
27
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
28
 */
 
29
 
 
30
#include <gtkmm/widget.h>
 
31
 
 
32
 
 
33
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
34
typedef struct _GtkInvisible GtkInvisible;
 
35
typedef struct _GtkInvisibleClass GtkInvisibleClass;
 
36
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
37
 
 
38
 
 
39
namespace Gtk
 
40
{ class Invisible_Class; } // namespace Gtk
 
41
namespace Gtk
 
42
{
 
43
 
 
44
/** This widget is used internally in GTK+, and is probably not useful for application developers.
 
45
 * It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.
 
46
 * @ingroup Widgets
 
47
 */
 
48
 
 
49
class Invisible : public Widget
 
50
{
 
51
  public:
 
52
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
53
  typedef Invisible CppObjectType;
 
54
  typedef Invisible_Class CppClassType;
 
55
  typedef GtkInvisible BaseObjectType;
 
56
  typedef GtkInvisibleClass BaseClassType;
 
57
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
58
 
 
59
  virtual ~Invisible();
 
60
 
 
61
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
62
 
 
63
private:
 
64
  friend class Invisible_Class;
 
65
  static CppClassType invisible_class_;
 
66
 
 
67
  // noncopyable
 
68
  Invisible(const Invisible&);
 
69
  Invisible& operator=(const Invisible&);
 
70
 
 
71
protected:
 
72
  explicit Invisible(const Glib::ConstructParams& construct_params);
 
73
  explicit Invisible(GtkInvisible* castitem);
 
74
 
 
75
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
76
 
 
77
public:
 
78
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
79
  static GType get_type()      G_GNUC_CONST;
 
80
 
 
81
 
 
82
  static GType get_base_type() G_GNUC_CONST;
 
83
#endif
 
84
 
 
85
  ///Provides access to the underlying C GtkObject.
 
86
  GtkInvisible*       gobj()       { return reinterpret_cast<GtkInvisible*>(gobject_); }
 
87
 
 
88
  ///Provides access to the underlying C GtkObject.
 
89
  const GtkInvisible* gobj() const { return reinterpret_cast<GtkInvisible*>(gobject_); }
 
90
 
 
91
 
 
92
public:
 
93
  //C++ methods used to invoke GTK+ virtual functions:
 
94
 
 
95
protected:
 
96
  //GTK+ Virtual Functions (override these to change behaviour):
 
97
 
 
98
  //Default Signal Handlers::
 
99
 
 
100
 
 
101
private:
 
102
 
 
103
public:
 
104
  Invisible();
 
105
    explicit Invisible(const Glib::RefPtr<Gdk::Screen>& screen);
 
106
 
 
107
 
 
108
  /** Returns the Gdk::Screen object associated with @a invisible
 
109
   * 
 
110
   * @newin{2,2}
 
111
   * @return The associated Gdk::Screen.
 
112
   */
 
113
  Glib::RefPtr<Gdk::Screen> get_screen();
 
114
  
 
115
  /** Returns the Gdk::Screen object associated with @a invisible
 
116
   * 
 
117
   * @newin{2,2}
 
118
   * @return The associated Gdk::Screen.
 
119
   */
 
120
  Glib::RefPtr<const Gdk::Screen> get_screen() const;
 
121
  
 
122
  /** Sets the Gdk::Screen where the Gtk::Invisible object will be displayed.
 
123
   * 
 
124
   * @newin{2,2}
 
125
   * @param screen A Gdk::Screen.
 
126
   */
 
127
  void set_screen(const Glib::RefPtr<Gdk::Screen>& screen);
 
128
 
 
129
 
 
130
};
 
131
 
 
132
} /* namespace Gtk */
 
133
 
 
134
 
 
135
namespace Glib
 
136
{
 
137
  /** A Glib::wrap() method for this object.
 
138
   * 
 
139
   * @param object The C instance.
 
140
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
 
141
   * @result A C++ instance that wraps this C instance.
 
142
   *
 
143
   * @relates Gtk::Invisible
 
144
   */
 
145
  Gtk::Invisible* wrap(GtkInvisible* object, bool take_copy = false);
 
146
} //namespace Glib
 
147
 
 
148
 
 
149
#endif /* _GTKMM_INVISIBLE_H */
 
150