Robin Gareus
ad51c7c2ba
This is intended mainly for GNU/Linux distros who will remove GTK2 support in the near future.
239 lines
7.3 KiB
C
239 lines
7.3 KiB
C
/* gtkmm - a C++ wrapper for the Gtk toolkit
|
||
*
|
||
* Copyright 1999-2002 The gtkmm Development Team
|
||
*
|
||
* This library is free software; you can redistribute it and/or
|
||
* modify it under the terms of the GNU Lesser General Public
|
||
* License as published by the Free Software Foundation; either
|
||
* version 2.1 of the License, or (at your option) any later version.
|
||
*
|
||
* This library is distributed in the hope that it will be useful,
|
||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
* Lesser General Public License for more details.
|
||
*
|
||
* You should have received a copy of the GNU Lesser General Public
|
||
* License along with this library; if not, write to the Free
|
||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
*/
|
||
|
||
#ifndef _GTKMM_H
|
||
#define _GTKMM_H
|
||
|
||
/** @mainpage gtkmm Reference Manual
|
||
*
|
||
* @section description Description
|
||
*
|
||
* gtkmm is the official C++ interface for the popular GUI library GTK+.
|
||
* Highlights include typesafe callbacks, and a comprehensive set of widgets
|
||
* that are easily extensible via inheritance.
|
||
*
|
||
* For instance, see @ref Widgets, @ref Dialogs, @ref TreeView "TreeView" and
|
||
* @ref TextView "TextView".
|
||
*
|
||
* See also the
|
||
* <a href="http://library.gnome.org/devel/gtkmm-tutorial/stable/">Programming
|
||
* with gtkmm</a> book.
|
||
*
|
||
*
|
||
* @section features Features
|
||
*
|
||
* - GTK+’s mature, capable set of @ref widgets Widgets. See
|
||
* <a href="http://www.gtk.org/">the GTK+ website</a> for more information.
|
||
* - Use inheritance to derive custom widgets.
|
||
* - Type-safe signal handlers (slots), in standard C++, using
|
||
* <a href="http://libsigc.sourceforge.net/">libsigc++</a>.
|
||
* - Polymorphism.
|
||
* - Use of the Standard C++ Library, including strings, containers and
|
||
* iterators.
|
||
* - Full internationalisation with UTF8.
|
||
* - Complete C++ memory management.
|
||
* - Member instances or dynamic new and delete.
|
||
* - Optional automatic deletion of child widgets.
|
||
* - No manual reference-counting.
|
||
* - Full use of C++ namespaces.
|
||
* - No macros.
|
||
*
|
||
* @section basics Basic Usage
|
||
*
|
||
* Include the gtkmm header:
|
||
* @code
|
||
* #include <gtkmm.h>
|
||
* @endcode
|
||
* (You may include individual headers, such as @c gtkmm/button.h instead.)
|
||
*
|
||
* If your source file is @c program.cc, you can compile it with:
|
||
* @code
|
||
* g++ program.cc -o program `pkg-config --cflags --libs gtkmm-2.4`
|
||
* @endcode
|
||
*
|
||
* Alternatively, if using autoconf, use the following in @c configure.ac:
|
||
* @code
|
||
* PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4])
|
||
* @endcode
|
||
* Then use the generated @c GTKMM_CFLAGS and @c GTKMM_LIBS variables in the
|
||
* project @c Makefile.am files. For example:
|
||
* @code
|
||
* program_CPPFLAGS = $(GTKMM_CFLAGS)
|
||
* program_LDADD = $(GTKMM_LIBS)
|
||
* @endcode
|
||
*/
|
||
|
||
/* Gtkmm version. */
|
||
extern const int gtkmm_major_version;
|
||
extern const int gtkmm_minor_version;
|
||
extern const int gtkmm_micro_version;
|
||
|
||
#pragma GCC diagnostic push
|
||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||
#include <glibmm.h>
|
||
#pragma GCC diagnostic pop
|
||
#include <giomm.h>
|
||
#include <gdkmm.h>
|
||
|
||
#include <gtkmm/box.h>
|
||
#include <gtkmm/dialog.h>
|
||
#include <gtkmm/object.h>
|
||
#include <gtkmm/aboutdialog.h>
|
||
#include <gtkmm/accelkey.h>
|
||
#include <gtkmm/accelgroup.h>
|
||
#include <gtkmm/adjustment.h>
|
||
#include <gtkmm/alignment.h>
|
||
#include <gtkmm/arrow.h>
|
||
#include <gtkmm/aspectframe.h>
|
||
#include <gtkmm/assistant.h>
|
||
#include <gtkmm/base.h>
|
||
#include <gtkmm/bin.h>
|
||
#include <gtkmm/border.h>
|
||
#include <gtkmm/builder.h>
|
||
#include <gtkmm/button.h>
|
||
#include <gtkmm/buttonbox.h>
|
||
#include <gtkmm/cellview.h>
|
||
#include <gtkmm/checkbutton.h>
|
||
#include <gtkmm/checkmenuitem.h>
|
||
#include <gtkmm/cellrenderer.h>
|
||
#include <gtkmm/cellrendereraccel.h>
|
||
#include <gtkmm/cellrenderercombo.h>
|
||
#include <gtkmm/cellrendererpixbuf.h>
|
||
#include <gtkmm/cellrendererprogress.h>
|
||
#include <gtkmm/cellrendererspin.h>
|
||
#include <gtkmm/cellrendererspinner.h>
|
||
#include <gtkmm/cellrenderertext.h>
|
||
#include <gtkmm/cellrenderertoggle.h>
|
||
#include <gtkmm/colorbutton.h>
|
||
#include <gtkmm/colorselection.h>
|
||
#include <gtkmm/combobox.h>
|
||
#include <gtkmm/comboboxentry.h>
|
||
#include <gtkmm/comboboxentrytext.h>
|
||
#include <gtkmm/comboboxtext.h>
|
||
#include <gtkmm/container.h>
|
||
#include <gtkmm/drawingarea.h>
|
||
#include <gtkmm/editable.h>
|
||
#include <gtkmm/entry.h>
|
||
#include <gtkmm/expander.h>
|
||
#include <gtkmm/enums.h>
|
||
#include <gtkmm/eventbox.h>
|
||
#include <gtkmm/filechooser.h>
|
||
#include <gtkmm/filechooserbutton.h>
|
||
#include <gtkmm/filechooserdialog.h>
|
||
#include <gtkmm/filechooserwidget.h>
|
||
#include <gtkmm/filefilter.h>
|
||
#include <gtkmm/fixed.h>
|
||
#include <gtkmm/fontbutton.h>
|
||
#include <gtkmm/fontselection.h>
|
||
#include <gtkmm/frame.h>
|
||
//#include <gtkmm/rc.h>
|
||
#include <gtkmm/handlebox.h>
|
||
#include <gtkmm/iconset.h>
|
||
#include <gtkmm/iconfactory.h>
|
||
#include <gtkmm/iconsource.h>
|
||
#include <gtkmm/icontheme.h>
|
||
#include <gtkmm/iconview.h>
|
||
#include <gtkmm/image.h>
|
||
#include <gtkmm/imagemenuitem.h>
|
||
#include <gtkmm/infobar.h>
|
||
#include <gtkmm/item.h>
|
||
#include <gtkmm/invisible.h>
|
||
#include <gtkmm/label.h>
|
||
#include <gtkmm/layout.h>
|
||
#include <gtkmm/liststore.h>
|
||
#include <gtkmm/listviewtext.h>
|
||
#include <gtkmm/linkbutton.h>
|
||
#include <gtkmm/main.h>
|
||
#include <gtkmm/menu.h>
|
||
#include <gtkmm/menu_elems.h>
|
||
#include <gtkmm/menubar.h>
|
||
#include <gtkmm/menuitem.h>
|
||
#include <gtkmm/menushell.h>
|
||
#include <gtkmm/messagedialog.h>
|
||
#include <gtkmm/misc.h>
|
||
#include <gtkmm/notebook.h>
|
||
#include <gtkmm/object.h>
|
||
#include <gtkmm/offscreenwindow.h>
|
||
#include <gtkmm/optionmenu.h>
|
||
#include <gtkmm/paned.h>
|
||
#include <gtkmm/progressbar.h>
|
||
#include <gtkmm/radioaction.h>
|
||
#include <gtkmm/radiobutton.h>
|
||
#include <gtkmm/radiomenuitem.h>
|
||
#include <gtkmm/radiotoolbutton.h>
|
||
#include <gtkmm/range.h>
|
||
#include <gtkmm/recentaction.h>
|
||
#include <gtkmm/recentchooser.h>
|
||
#include <gtkmm/recentchooserdialog.h>
|
||
#include <gtkmm/recentchoosermenu.h>
|
||
#include <gtkmm/recentchooserwidget.h>
|
||
#include <gtkmm/recentfilter.h>
|
||
#include <gtkmm/recentinfo.h>
|
||
#include <gtkmm/recentmanager.h>
|
||
#include <gtkmm/ruler.h>
|
||
#include <gtkmm/scale.h>
|
||
#include <gtkmm/scrollbar.h>
|
||
#include <gtkmm/scrolledwindow.h>
|
||
#include <gtkmm/separator.h>
|
||
#include <gtkmm/separatormenuitem.h>
|
||
#include <gtkmm/separatortoolitem.h>
|
||
#include <gtkmm/settings.h>
|
||
#include <gtkmm/sizegroup.h>
|
||
#include <gtkmm/spinbutton.h>
|
||
#include <gtkmm/spinner.h>
|
||
#include <gtkmm/statusbar.h>
|
||
#include <gtkmm/stock.h>
|
||
#include <gtkmm/stockid.h>
|
||
#include <gtkmm/stockitem.h>
|
||
#include <gtkmm/style.h>
|
||
#include <gtkmm/table.h>
|
||
#include <gtkmm/tearoffmenuitem.h>
|
||
#include <gtkmm/textbuffer.h>
|
||
#include <gtkmm/textchildanchor.h>
|
||
#include <gtkmm/textiter.h>
|
||
#include <gtkmm/textmark.h>
|
||
#include <gtkmm/texttag.h>
|
||
#include <gtkmm/texttagtable.h>
|
||
#include <gtkmm/textview.h>
|
||
#include <gtkmm/toggleaction.h>
|
||
#include <gtkmm/togglebutton.h>
|
||
#include <gtkmm/toolbar.h>
|
||
#include <gtkmm/toolitem.h>
|
||
#include <gtkmm/toolbutton.h>
|
||
#include <gtkmm/toolpalette.h>
|
||
#include <gtkmm/toggletoolbutton.h>
|
||
#include <gtkmm/menutoolbutton.h>
|
||
#include <gtkmm/tooltip.h>
|
||
#include <gtkmm/tooltips.h>
|
||
#include <gtkmm/treemodel.h>
|
||
#include <gtkmm/treemodelfilter.h>
|
||
#include <gtkmm/treemodelsort.h>
|
||
#include <gtkmm/treepath.h>
|
||
#include <gtkmm/treerowreference.h>
|
||
#include <gtkmm/treeselection.h>
|
||
#include <gtkmm/treestore.h>
|
||
#include <gtkmm/treeview.h>
|
||
#include <gtkmm/treeviewcolumn.h>
|
||
#include <gtkmm/uimanager.h>
|
||
#include <gtkmm/viewport.h>
|
||
#include <gtkmm/widget.h>
|
||
#include <gtkmm/window.h>
|
||
|
||
#endif /* #ifndef GTKMM_H */
|