| 1 |
/* Copyright (C) 1998-2002 The gtkmm Development Team |
| 2 |
* |
| 3 |
* This library is free software; you can redistribute it and/or |
| 4 |
* modify it under the terms of the GNU Lesser General Public |
| 5 |
* License as published by the Free Software Foundation; either |
| 6 |
* version 2.1 of the License, or (at your option) any later version. |
| 7 |
* |
| 8 |
* This library is distributed in the hope that it will be useful, |
| 9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 11 |
* Lesser General Public License for more details. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU Lesser General Public |
| 14 |
* License along with this library; if not, see <https://www.gnu.org/licenses/>. |
| 15 |
*/ |
| 16 |
|
| 17 |
// To exclude this file from the documentation when build-deprecated-api=false. |
| 18 |
_CONFIGINCLUDE(gtkmmconfig.h) |
| 19 |
|
| 20 |
#include <gtkmm/scrollbar.h> |
| 21 |
|
| 22 |
_DEFS(gtkmm,gtk) |
| 23 |
_PINCLUDE(gtkmm/private/scrollbar_p.h) |
| 24 |
|
| 25 |
#m4 _PUSH(SECTION_CC_PRE_INCLUDES) |
| 26 |
#undef GTK_DISABLE_DEPRECATED |
| 27 |
#define GDK_DISABLE_DEPRECATION_WARNINGS 1 |
| 28 |
#m4 _POP() |
| 29 |
|
| 30 |
namespace Gtk |
| 31 |
{ |
| 32 |
|
| 33 |
/** A vertical scrollbar. |
| 34 |
* |
| 35 |
* The Gtk::VScrollbar widget is a widget arranged vertically creating a |
| 36 |
* scrollbar. See Gtk::Scrollbar for details on scrollbars. |
| 37 |
* |
| 38 |
* A Gtk::Adjustment may may be passed to the constructor to handle the |
| 39 |
* adjustment of the scrollbar. If not specified, one will be created for |
| 40 |
* you. See Gtk::Adjustment for details. |
| 41 |
* |
| 42 |
* A VScrollbar widget looks like this: |
| 43 |
* @image html vscrollbar1.png |
| 44 |
* |
| 45 |
* @ingroup Widgets |
| 46 |
* |
| 47 |
* @deprecated Use Scrollbar instead. |
| 48 |
*/ |
| 49 |
class GTKMM_API VScrollbar : public Scrollbar |
| 50 |
{ |
| 51 |
_CLASS_GTKOBJECT(VScrollbar,GtkVScrollbar,GTK_VSCROLLBAR,Gtk::Scrollbar,GtkScrollbar,,,GTKMM_API) |
| 52 |
_IS_DEPRECATED |
| 53 |
public: |
| 54 |
VScrollbar(); |
| 55 |
explicit VScrollbar(const Glib::RefPtr<Adjustment>& gtkadjustment); |
| 56 |
|
| 57 |
}; |
| 58 |
|
| 59 |
/** A horizontal scrollbar. |
| 60 |
* |
| 61 |
* The Gtk::HScrollbar widget is a widget arranged horizontally creating a |
| 62 |
* scrollbar. See Gtk::Scrollbar for details on scrollbars. |
| 63 |
* |
| 64 |
* A Gtk::Adjustment may may be passed to the constructor to handle the |
| 65 |
* adjustment of the scrollbar. If not specified, one will be created for |
| 66 |
* you. See Gtk::Adjustment for details. |
| 67 |
* |
| 68 |
* The HScrollbar widget looks like this: |
| 69 |
* @image html hscrollbar1.png |
| 70 |
* |
| 71 |
* @ingroup Widgets |
| 72 |
* |
| 73 |
* @deprecated Use Scrollbar instead. |
| 74 |
*/ |
| 75 |
class GTKMM_API HScrollbar : public Scrollbar |
| 76 |
{ |
| 77 |
_CLASS_GTKOBJECT(HScrollbar,GtkHScrollbar,GTK_HSCROLLBAR,Gtk::Scrollbar,GtkScrollbar,,,GTKMM_API) |
| 78 |
_IS_DEPRECATED |
| 79 |
public: |
| 80 |
HScrollbar(); |
| 81 |
explicit HScrollbar(const Glib::RefPtr<Adjustment>& gtkadjustment); |
| 82 |
|
| 83 |
}; |
| 84 |
|
| 85 |
} //namespace Gtk |