Ardour  8.7-15-gadf511264b
scrolledwindow.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_SCROLLEDWINDOW_H
4 #define _GTKMM_SCROLLEDWINDOW_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: scrolledwindow.hg,v 1.7 2006/08/17 18:03:34 murrayc Exp $ */
11 
12 /* scrolledwindow.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/bin.h>
32 
33 
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
38 
39 
40 namespace Gtk
41 { class ScrolledWindow_Class; } // namespace Gtk
42 namespace Gtk
43 {
44 
45 class Adjustment;
46 class HScrollbar;
47 class VScrollbar;
48 
67 class ScrolledWindow : public Bin
68 {
69  public:
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71  typedef ScrolledWindow CppObjectType;
72  typedef ScrolledWindow_Class CppClassType;
73  typedef GtkScrolledWindow BaseObjectType;
74  typedef GtkScrolledWindowClass BaseClassType;
75 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
76 
77  virtual ~ScrolledWindow();
78 
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
80 
81 private:
82  friend class ScrolledWindow_Class;
83  static CppClassType scrolledwindow_class_;
84 
85  // noncopyable
87  ScrolledWindow& operator=(const ScrolledWindow&);
88 
89 protected:
90  explicit ScrolledWindow(const Glib::ConstructParams& construct_params);
91  explicit ScrolledWindow(GtkScrolledWindow* castitem);
92 
93 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
94 
95 public:
96 #ifndef DOXYGEN_SHOULD_SKIP_THIS
97  static GType get_type() G_GNUC_CONST;
98 
99 
100  static GType get_base_type() G_GNUC_CONST;
101 #endif
102 
104  GtkScrolledWindow* gobj() { return reinterpret_cast<GtkScrolledWindow*>(gobject_); }
105 
107  const GtkScrolledWindow* gobj() const { return reinterpret_cast<GtkScrolledWindow*>(gobject_); }
108 
109 
110 public:
111  //C++ methods used to invoke GTK+ virtual functions:
112 
113 protected:
114  //GTK+ Virtual Functions (override these to change behaviour):
115 
116  //Default Signal Handlers::
117 
118 
119 private:
120 
121 
122 public:
124  explicit ScrolledWindow(Adjustment& hadjustment, Adjustment& vadjustment);
125 
126 
131  void set_hadjustment(Gtk::Adjustment* hadjustment = 0);
132 
137  void set_vadjustment(Gtk::Adjustment* vadjustment = 0);
138 
143  void set_hadjustment(Gtk::Adjustment& hadjustment);
144 
149  void set_vadjustment(Gtk::Adjustment& vadjustment);
150 
151 
159 
167 
174 
181 
182 
195  void set_policy(PolicyType hscrollbar_policy, PolicyType vscrollbar_policy);
196 
205  void get_policy(PolicyType& hscrollbar_policy, PolicyType& vscrollbar_policy) const;
206 
207 
221  void set_placement(CornerType window_placement);
222 
231 
241 
242 
249 
256 
258  virtual void add(Gtk::Widget& widget);
259 
260 
267 
273  const VScrollbar* get_vscrollbar() const;
274 
275 
282 
288  const HScrollbar* get_hscrollbar() const;
289 
290 #ifndef GTKMM_DISABLE_DEPRECATED
291 
295 
299  #endif // GTKMM_DISABLE_DEPRECATED
300 
301 
302  //Keybinding signals:
303 
304 
310  Glib::PropertyProxy< Gtk::Adjustment* > property_hadjustment() ;
311 
317  Glib::PropertyProxy_ReadOnly< Gtk::Adjustment* > property_hadjustment() const;
318 
324  Glib::PropertyProxy< Gtk::Adjustment* > property_vadjustment() ;
325 
331  Glib::PropertyProxy_ReadOnly< Gtk::Adjustment* > property_vadjustment() const;
332 
338  Glib::PropertyProxy< PolicyType > property_hscrollbar_policy() ;
339 
345  Glib::PropertyProxy_ReadOnly< PolicyType > property_hscrollbar_policy() const;
346 
352  Glib::PropertyProxy< PolicyType > property_vscrollbar_policy() ;
353 
359  Glib::PropertyProxy_ReadOnly< PolicyType > property_vscrollbar_policy() const;
360 
366  Glib::PropertyProxy< CornerType > property_window_placement() ;
367 
373  Glib::PropertyProxy_ReadOnly< CornerType > property_window_placement() const;
374 
380  Glib::PropertyProxy< bool > property_window_placement_set() ;
381 
387  Glib::PropertyProxy_ReadOnly< bool > property_window_placement_set() const;
388 
394  Glib::PropertyProxy< ShadowType > property_shadow_type() ;
395 
401  Glib::PropertyProxy_ReadOnly< ShadowType > property_shadow_type() const;
402 
403 
404 };
405 
406 } /* namespace Gtk */
407 
408 
409 namespace Glib
410 {
419  Gtk::ScrolledWindow* wrap(GtkScrolledWindow* object, bool take_copy = false);
420 } //namespace Glib
421 
422 
423 #endif /* _GTKMM_SCROLLEDWINDOW_H */
424 
Definition: bin.h:55
bool get_vscrollbar_visible() const
Glib::PropertyProxy_ReadOnly< PolicyType > property_hscrollbar_policy() const
Gtk::ScrolledWindow * wrap(GtkScrolledWindow *object, bool take_copy=false)
void set_placement(CornerType window_placement)
bool get_hscrollbar_visible() const
Glib::PropertyProxy_ReadOnly< PolicyType > property_vscrollbar_policy() const
void set_policy(PolicyType hscrollbar_policy, PolicyType vscrollbar_policy)
virtual void add(Gtk::Widget &widget)
Puts the child inside a Gtk::Viewport if it doesn't have native scrolling capability.
Glib::PropertyProxy_ReadOnly< ShadowType > property_shadow_type() const
void set_hadjustment(Gtk::Adjustment *hadjustment=0)
Glib::PropertyProxy< PolicyType > property_hscrollbar_policy()
HScrollbar * get_hscrollbar()
const VScrollbar * get_vscrollbar() const
Glib::PropertyProxy_ReadOnly< Gtk::Adjustment * > property_vadjustment() const
const Gtk::Adjustment * get_hadjustment() const
Glib::PropertyProxy< bool > property_window_placement_set()
Glib::PropertyProxy< CornerType > property_window_placement()
void set_hadjustment(Gtk::Adjustment &hadjustment)
Glib::PropertyProxy< ShadowType > property_shadow_type()
VScrollbar * get_vscrollbar()
virtual ~ScrolledWindow()
const GtkScrolledWindow * gobj() const
Provides access to the underlying C GtkObject.
void set_vadjustment(Gtk::Adjustment &vadjustment)
Gtk::Adjustment * get_hadjustment()
Glib::PropertyProxy_ReadOnly< CornerType > property_window_placement() const
const Gtk::Adjustment * get_vadjustment() const
Glib::PropertyProxy_ReadOnly< Gtk::Adjustment * > property_hadjustment() const
Glib::PropertyProxy< Gtk::Adjustment * > property_hadjustment()
void set_vadjustment(Gtk::Adjustment *vadjustment=0)
void get_policy(PolicyType &hscrollbar_policy, PolicyType &vscrollbar_policy) const
CornerType get_placement() const
Glib::PropertyProxy< Gtk::Adjustment * > property_vadjustment()
GtkScrolledWindow * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy< PolicyType > property_vscrollbar_policy()
Glib::PropertyProxy_ReadOnly< bool > property_window_placement_set() const
Gtk::Adjustment * get_vadjustment()
ShadowType get_shadow_type() const
ScrolledWindow(Adjustment &hadjustment, Adjustment &vadjustment)
const HScrollbar * get_hscrollbar() const
void set_shadow_type(ShadowType type)
Definition: ardour_ui.h:188