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

« back to all changes in this revision

Viewing changes to include/gtkmm-2.4/gtkmm/separatormenuitem.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_SEPARATORMENUITEM_H
 
4
#define _GTKMM_SEPARATORMENUITEM_H
 
5
 
 
6
 
 
7
#include <glibmm.h>
 
8
 
 
9
/* $Id: separatormenuitem.hg,v 1.1 2003/01/21 13:40:37 murrayc Exp $ */
 
10
 
 
11
 
 
12
/* separator.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 <gtkmm/menuitem.h>
 
32
 
 
33
 
 
34
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
35
typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem;
 
36
typedef struct _GtkSeparatorMenuItemClass GtkSeparatorMenuItemClass;
 
37
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
38
 
 
39
 
 
40
namespace Gtk
 
41
{ class SeparatorMenuItem_Class; } // namespace Gtk
 
42
namespace Gtk
 
43
{
 
44
 
 
45
/** A separator used to group items within a menu.
 
46
 * It displays a horizontal line with a shadow to make it appear sunken into the interface.
 
47
 * @ingroup Widgets
 
48
 * @ingroup Menus
 
49
 */
 
50
 
 
51
class SeparatorMenuItem : public MenuItem
 
52
{
 
53
  public:
 
54
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
55
  typedef SeparatorMenuItem CppObjectType;
 
56
  typedef SeparatorMenuItem_Class CppClassType;
 
57
  typedef GtkSeparatorMenuItem BaseObjectType;
 
58
  typedef GtkSeparatorMenuItemClass BaseClassType;
 
59
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
60
 
 
61
  virtual ~SeparatorMenuItem();
 
62
 
 
63
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
64
 
 
65
private:
 
66
  friend class SeparatorMenuItem_Class;
 
67
  static CppClassType separatormenuitem_class_;
 
68
 
 
69
  // noncopyable
 
70
  SeparatorMenuItem(const SeparatorMenuItem&);
 
71
  SeparatorMenuItem& operator=(const SeparatorMenuItem&);
 
72
 
 
73
protected:
 
74
  explicit SeparatorMenuItem(const Glib::ConstructParams& construct_params);
 
75
  explicit SeparatorMenuItem(GtkSeparatorMenuItem* castitem);
 
76
 
 
77
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
 
78
 
 
79
public:
 
80
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
81
  static GType get_type()      G_GNUC_CONST;
 
82
 
 
83
 
 
84
  static GType get_base_type() G_GNUC_CONST;
 
85
#endif
 
86
 
 
87
  ///Provides access to the underlying C GtkObject.
 
88
  GtkSeparatorMenuItem*       gobj()       { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
 
89
 
 
90
  ///Provides access to the underlying C GtkObject.
 
91
  const GtkSeparatorMenuItem* gobj() const { return reinterpret_cast<GtkSeparatorMenuItem*>(gobject_); }
 
92
 
 
93
 
 
94
public:
 
95
  //C++ methods used to invoke GTK+ virtual functions:
 
96
 
 
97
protected:
 
98
  //GTK+ Virtual Functions (override these to change behaviour):
 
99
 
 
100
  //Default Signal Handlers::
 
101
 
 
102
 
 
103
private:
 
104
 
 
105
public:
 
106
  SeparatorMenuItem();
 
107
 
 
108
 
 
109
};
 
110
 
 
111
} /* namespace Gtk */
 
112
 
 
113
 
 
114
namespace Glib
 
115
{
 
116
  /** A Glib::wrap() method for this object.
 
117
   * 
 
118
   * @param object The C instance.
 
119
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
 
120
   * @result A C++ instance that wraps this C instance.
 
121
   *
 
122
   * @relates Gtk::SeparatorMenuItem
 
123
   */
 
124
  Gtk::SeparatorMenuItem* wrap(GtkSeparatorMenuItem* object, bool take_copy = false);
 
125
} //namespace Glib
 
126
 
 
127
 
 
128
#endif /* _GTKMM_SEPARATORMENUITEM_H */
 
129