226 lines
9.5 KiB
C++
226 lines
9.5 KiB
C++
|
/* $Id: generate_defs_gtk.cc 935 2007-11-05 16:14:01Z murrayc $ */
|
||
|
|
||
|
/* generate_defs_gtk.cc
|
||
|
*
|
||
|
* Copyright (C) 2001 The Free Software Foundation
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
|
* version 2 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
|
||
|
* Library General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Library General Public
|
||
|
* License along with this library; if not, write to the Free
|
||
|
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
|
*/
|
||
|
|
||
|
#include "glibmm_generate_extra_defs/generate_extra_defs.h"
|
||
|
#include <gdk/gdk.h>
|
||
|
#include <gtk/gtk.h>
|
||
|
|
||
|
#if !defined(G_OS_WIN32)
|
||
|
#include <gtk/gtkprinter.h>
|
||
|
#include <gtk/gtkprintjob.h>
|
||
|
#include <gtk/gtkpagesetupunixdialog.h>
|
||
|
#include <gtk/gtkprintunixdialog.h>
|
||
|
#endif /* G_OS_WIN32 */
|
||
|
|
||
|
|
||
|
int main (int argc, char *argv[])
|
||
|
{
|
||
|
gtk_init(&argc, &argv);
|
||
|
|
||
|
void *const g_class_atk_no_op_object = g_type_class_ref(ATK_TYPE_NO_OP_OBJECT);
|
||
|
|
||
|
std::cout << get_defs( ATK_TYPE_OBJECT )
|
||
|
<< get_defs( ATK_TYPE_COMPONENT )
|
||
|
<< get_defs( ATK_TYPE_ACTION )
|
||
|
<< get_defs( ATK_TYPE_EDITABLE_TEXT )
|
||
|
<< get_defs( ATK_TYPE_HYPERLINK )
|
||
|
<< get_defs( ATK_TYPE_HYPERTEXT )
|
||
|
<< get_defs( ATK_TYPE_IMAGE )
|
||
|
<< get_defs( ATK_TYPE_SELECTION )
|
||
|
<< get_defs( ATK_TYPE_TABLE )
|
||
|
<< get_defs( ATK_TYPE_TEXT )
|
||
|
<< get_defs( ATK_TYPE_VALUE )
|
||
|
<< get_defs( ATK_TYPE_REGISTRY )
|
||
|
<< get_defs( ATK_TYPE_RELATION )
|
||
|
<< get_defs( ATK_TYPE_RELATION_SET )
|
||
|
<< get_defs( ATK_TYPE_STATE_SET );
|
||
|
|
||
|
g_type_class_unref(g_class_atk_no_op_object);
|
||
|
|
||
|
std::cout << get_defs( GDK_TYPE_COLORMAP )
|
||
|
<< get_defs( GDK_TYPE_DRAG_CONTEXT )
|
||
|
<< get_defs( GDK_TYPE_DISPLAY )
|
||
|
#if !defined(G_OS_WIN32)
|
||
|
<< get_defs( GDK_TYPE_DISPLAY_MANAGER )
|
||
|
#endif /* G_OS_WIN32 */
|
||
|
<< get_defs( GDK_TYPE_DRAWABLE )
|
||
|
<< get_defs( GDK_TYPE_GC )
|
||
|
<< get_defs( GDK_TYPE_IMAGE )
|
||
|
<< get_defs( GDK_TYPE_PIXBUF )
|
||
|
<< get_defs( GDK_TYPE_PIXBUF_ANIMATION )
|
||
|
<< get_defs( GDK_TYPE_PIXBUF_LOADER )
|
||
|
<< get_defs( GDK_TYPE_PIXMAP )
|
||
|
<< get_defs( GDK_TYPE_SCREEN )
|
||
|
<< get_defs( GDK_TYPE_VISUAL )
|
||
|
<< get_defs( GDK_TYPE_WINDOW )
|
||
|
|
||
|
<< get_defs( GTK_TYPE_ABOUT_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_ACCEL_GROUP )
|
||
|
<< get_defs( GTK_TYPE_ACCEL_LABEL )
|
||
|
<< get_defs( GTK_TYPE_ACTION )
|
||
|
<< get_defs( GTK_TYPE_ACTION_GROUP )
|
||
|
<< get_defs( GTK_TYPE_ADJUSTMENT )
|
||
|
<< get_defs( GTK_TYPE_ALIGNMENT)
|
||
|
<< get_defs( GTK_TYPE_ARROW )
|
||
|
<< get_defs( GTK_TYPE_ASPECT_FRAME )
|
||
|
<< get_defs( GTK_TYPE_ASSISTANT )
|
||
|
<< get_defs( GTK_TYPE_BIN )
|
||
|
<< get_defs( GTK_TYPE_BOX )
|
||
|
<< get_defs( GTK_TYPE_BUILDER )
|
||
|
<< get_defs( GTK_TYPE_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_BUTTON_BOX )
|
||
|
<< get_defs( GTK_TYPE_CALENDAR )
|
||
|
<< get_defs( GTK_TYPE_CHECK_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_CHECK_MENU_ITEM )
|
||
|
<< get_defs( GTK_TYPE_CLIST ) /* Deprecated */
|
||
|
<< get_defs( GTK_TYPE_CELL_LAYOUT )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_ACCEL )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_COMBO )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_PROGRESS )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_TEXT )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_TOGGLE )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_PIXBUF )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_PROGRESS )
|
||
|
<< get_defs( GTK_TYPE_CELL_RENDERER_SPIN )
|
||
|
<< get_defs( GTK_TYPE_CLIPBOARD )
|
||
|
<< get_defs( GTK_TYPE_COLOR_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_COLOR_SELECTION )
|
||
|
<< get_defs( GTK_TYPE_COMBO ) /* Deprecated */
|
||
|
<< get_defs( GTK_TYPE_COMBO_BOX )
|
||
|
<< get_defs( GTK_TYPE_CONTAINER )
|
||
|
<< get_defs( GTK_TYPE_CTREE ) /* Deprecated */
|
||
|
<< get_defs( GTK_TYPE_CELL_VIEW )
|
||
|
<< get_defs( GTK_TYPE_CURVE )
|
||
|
<< get_defs( GTK_TYPE_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_DRAWING_AREA )
|
||
|
<< get_defs( GTK_TYPE_ENTRY )
|
||
|
<< get_defs( GTK_TYPE_ENTRY_COMPLETION )
|
||
|
<< get_defs( GTK_TYPE_EVENT_BOX )
|
||
|
<< get_defs( GTK_TYPE_EXPANDER )
|
||
|
<< get_defs( GTK_TYPE_FILE_FILTER )
|
||
|
<< get_defs( GTK_TYPE_FILE_CHOOSER_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_FILE_CHOOSER_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_FILE_CHOOSER_WIDGET )
|
||
|
<< get_defs( GTK_TYPE_FILE_SELECTION ) /* Deprecated */
|
||
|
<< get_defs( GTK_TYPE_FIXED )
|
||
|
<< get_defs( GTK_TYPE_FONT_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_FONT_SELECTION )
|
||
|
<< get_defs( GTK_TYPE_FONT_SELECTION_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_FRAME )
|
||
|
<< get_defs( GTK_TYPE_HANDLE_BOX )
|
||
|
<< get_defs( GTK_TYPE_ICON_THEME )
|
||
|
<< get_defs( GTK_TYPE_IMAGE )
|
||
|
<< get_defs( GTK_TYPE_INPUT_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_INVISIBLE )
|
||
|
<< get_defs( GTK_TYPE_ITEM )
|
||
|
<< get_defs( GTK_TYPE_ICON_VIEW )
|
||
|
<< get_defs( GTK_TYPE_LABEL )
|
||
|
<< get_defs( GTK_TYPE_LAYOUT )
|
||
|
<< get_defs( GTK_TYPE_LINK_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_LIST )
|
||
|
<< get_defs( GTK_TYPE_LIST_ITEM )
|
||
|
<< get_defs( GTK_TYPE_MENU )
|
||
|
<< get_defs( GTK_TYPE_MENU_BAR )
|
||
|
<< get_defs( GTK_TYPE_MENU_ITEM )
|
||
|
<< get_defs( GTK_TYPE_MENU_SHELL )
|
||
|
<< get_defs( GTK_TYPE_MENU_TOOL_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_MESSAGE_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_MISC )
|
||
|
<< get_defs( GTK_TYPE_NOTEBOOK )
|
||
|
<< get_defs( GTK_TYPE_OBJECT )
|
||
|
<< get_defs( GTK_TYPE_OPTION_MENU )
|
||
|
<< get_defs( GTK_TYPE_PANED )
|
||
|
<< get_defs( GTK_TYPE_PIXMAP )
|
||
|
#if !defined(G_OS_WIN32)
|
||
|
<< get_defs( GTK_TYPE_PLUG )
|
||
|
#endif /* G_OS_WIN32 */
|
||
|
<< get_defs( GTK_TYPE_PREVIEW )
|
||
|
#if !defined(G_OS_WIN32)
|
||
|
<< get_defs( GTK_TYPE_PRINTER )
|
||
|
<< get_defs( GTK_TYPE_PRINT_JOB )
|
||
|
#endif /* G_OS_WIN32 */
|
||
|
<< get_defs( GTK_TYPE_PRINT_OPERATION )
|
||
|
<< get_defs( GTK_TYPE_PRINT_OPERATION_PREVIEW )
|
||
|
#if !defined(G_OS_WIN32)
|
||
|
<< get_defs( GTK_TYPE_PAGE_SETUP_UNIX_DIALOG )
|
||
|
<< get_defs( GTK_TYPE_PRINT_UNIX_DIALOG )
|
||
|
#endif /* G_OS_WIN32 */
|
||
|
<< get_defs( GTK_TYPE_PROGRESS )
|
||
|
<< get_defs( GTK_TYPE_PROGRESS_BAR )
|
||
|
<< get_defs( GTK_TYPE_RADIO_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_RADIO_TOOL_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_RADIO_ACTION )
|
||
|
<< get_defs( GTK_TYPE_RADIO_MENU_ITEM )
|
||
|
<< get_defs( GTK_TYPE_RANGE )
|
||
|
<< get_defs( GTK_TYPE_RECENT_ACTION )
|
||
|
<< get_defs( GTK_TYPE_RECENT_CHOOSER )
|
||
|
<< get_defs( GTK_TYPE_RECENT_CHOOSER_MENU )
|
||
|
<< get_defs( GTK_TYPE_RECENT_CHOOSER_WIDGET )
|
||
|
<< get_defs( GTK_TYPE_RECENT_FILTER )
|
||
|
<< get_defs( GTK_TYPE_RECENT_MANAGER )
|
||
|
<< get_defs( GTK_TYPE_RULER )
|
||
|
<< get_defs( GTK_TYPE_SCALE )
|
||
|
<< get_defs( GTK_TYPE_SCALE_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_SCROLLBAR )
|
||
|
<< get_defs( GTK_TYPE_SCROLLED_WINDOW )
|
||
|
<< get_defs( GTK_TYPE_SEPARATOR )
|
||
|
<< get_defs( GTK_TYPE_SEPARATOR_TOOL_ITEM )
|
||
|
<< get_defs( GTK_TYPE_SETTINGS )
|
||
|
<< get_defs( GTK_TYPE_SIZE_GROUP )
|
||
|
#if !defined(G_OS_WIN32)
|
||
|
<< get_defs( GTK_TYPE_SOCKET )
|
||
|
#endif /* G_OS_WIN32 */
|
||
|
<< get_defs( GTK_TYPE_SPIN_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_STATUSBAR )
|
||
|
<< get_defs( GTK_TYPE_STATUS_ICON )
|
||
|
<< get_defs( GTK_TYPE_STYLE )
|
||
|
<< get_defs( GTK_TYPE_TABLE )
|
||
|
<< get_defs( GTK_TYPE_TEAROFF_MENU_ITEM )
|
||
|
<< get_defs( GTK_TYPE_TIPS_QUERY )
|
||
|
<< get_defs( GTK_TYPE_TOGGLE_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_TOOLBAR )
|
||
|
<< get_defs( GTK_TYPE_TOOL_ITEM )
|
||
|
<< get_defs( GTK_TYPE_TOOL_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_TEXT_BUFFER )
|
||
|
<< get_defs( GTK_TYPE_TEXT_MARK )
|
||
|
<< get_defs( GTK_TYPE_TEXT_TAG )
|
||
|
<< get_defs( GTK_TYPE_TEXT_TAG_TABLE )
|
||
|
<< get_defs( GTK_TYPE_TEXT_VIEW )
|
||
|
<< get_defs( GTK_TYPE_TOGGLE_ACTION )
|
||
|
<< get_defs( GTK_TYPE_TOGGLE_TOOL_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_TOOLTIP )
|
||
|
<< get_defs( GTK_TYPE_TOOLTIPS )
|
||
|
<< get_defs( GTK_TYPE_TREE_SELECTION )
|
||
|
<< get_defs( GTK_TYPE_TREE_MODEL_FILTER )
|
||
|
<< get_defs( GTK_TYPE_TREE_STORE )
|
||
|
<< get_defs( GTK_TYPE_TREE_VIEW )
|
||
|
<< get_defs( GTK_TYPE_TREE_VIEW_COLUMN )
|
||
|
<< get_defs( GTK_TYPE_UI_MANAGER )
|
||
|
<< get_defs( GTK_TYPE_VIEWPORT )
|
||
|
<< get_defs( GTK_TYPE_VOLUME_BUTTON )
|
||
|
<< get_defs( GTK_TYPE_WIDGET )
|
||
|
<< get_defs( GTK_TYPE_WINDOW );
|
||
|
|
||
|
|
||
|
return 0;
|
||
|
}
|