13
0
livetrax/libs/gtkmm2/gtk/gtkmm/enums.cc
Paul Davis 449aab3c46 rollback to 3428, before the mysterious removal of libs/* at 3431/3432
git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02 21:41:35 +00:00

291 lines
5.4 KiB
C++

// Generated by gtkmmproc -- DO NOT MODIFY!
#include <gtkmm/enums.h>
#include <gtkmm/private/enums_p.h>
#include <gtk/gtktypebuiltins.h>
// -*- c++ -*-
/* $Id$ */
/*
*
* Copyright 1998-2002 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library 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 <gtkmm/enums.h>
// static
GType Glib::Value<Gtk::IconSize>::value_type()
{
return gtk_icon_size_get_type();
}
namespace Gtk
{
float _gtkmm_align_float_from_enum(AlignmentEnum value)
{
//Choose the float alignment value appropriate for this human-readable enum value:
switch(value)
{
case ALIGN_LEFT:
return 0.0; break;
case ALIGN_CENTER:
return 0.5; break;
case ALIGN_RIGHT:
return 1.0; break;
case ALIGN_TOP:
return _gtkmm_align_float_from_enum(ALIGN_LEFT); break;
case ALIGN_BOTTOM:
return _gtkmm_align_float_from_enum(ALIGN_RIGHT); break;
default:
return _gtkmm_align_float_from_enum(ALIGN_LEFT); break;
}
}
} //namespace Gtk
namespace
{
} // anonymous namespace
// static
GType Glib::Value<Gtk::AccelFlags>::value_type()
{
return gtk_accel_flags_get_type();
}
// static
GType Glib::Value<Gtk::AnchorType>::value_type()
{
return gtk_anchor_type_get_type();
}
// static
GType Glib::Value<Gtk::ArrowType>::value_type()
{
return gtk_arrow_type_get_type();
}
// static
GType Glib::Value<Gtk::AttachOptions>::value_type()
{
return gtk_attach_options_get_type();
}
// static
GType Glib::Value<Gtk::ButtonBoxStyle>::value_type()
{
return gtk_button_box_style_get_type();
}
// static
GType Glib::Value<Gtk::CurveType>::value_type()
{
return gtk_curve_type_get_type();
}
// static
GType Glib::Value<Gtk::DeleteType>::value_type()
{
return gtk_delete_type_get_type();
}
// static
GType Glib::Value<Gtk::DirectionType>::value_type()
{
return gtk_direction_type_get_type();
}
// static
GType Glib::Value<Gtk::ExpanderStyle>::value_type()
{
return gtk_expander_style_get_type();
}
// static
GType Glib::Value<Gtk::BuiltinIconSize>::value_type()
{
return gtk_icon_size_get_type();
}
// static
GType Glib::Value<Gtk::TextDirection>::value_type()
{
return gtk_text_direction_get_type();
}
// static
GType Glib::Value<Gtk::Justification>::value_type()
{
return gtk_justification_get_type();
}
// static
GType Glib::Value<Gtk::MenuDirectionType>::value_type()
{
return gtk_menu_direction_type_get_type();
}
// static
GType Glib::Value<Gtk::MetricType>::value_type()
{
return gtk_metric_type_get_type();
}
// static
GType Glib::Value<Gtk::MovementStep>::value_type()
{
return gtk_movement_step_get_type();
}
// static
GType Glib::Value<Gtk::Orientation>::value_type()
{
return gtk_orientation_get_type();
}
// static
GType Glib::Value<Gtk::CornerType>::value_type()
{
return gtk_corner_type_get_type();
}
// static
GType Glib::Value<Gtk::PackType>::value_type()
{
return gtk_pack_type_get_type();
}
// static
GType Glib::Value<Gtk::PathPriorityType>::value_type()
{
return gtk_path_priority_type_get_type();
}
// static
GType Glib::Value<Gtk::PathType>::value_type()
{
return gtk_path_type_get_type();
}
// static
GType Glib::Value<Gtk::PolicyType>::value_type()
{
return gtk_policy_type_get_type();
}
// static
GType Glib::Value<Gtk::PositionType>::value_type()
{
return gtk_position_type_get_type();
}
// static
GType Glib::Value<Gtk::ReliefStyle>::value_type()
{
return gtk_relief_style_get_type();
}
// static
GType Glib::Value<Gtk::ResizeMode>::value_type()
{
return gtk_resize_mode_get_type();
}
// static
GType Glib::Value<Gtk::ScrollType>::value_type()
{
return gtk_scroll_type_get_type();
}
// static
GType Glib::Value<Gtk::SelectionMode>::value_type()
{
return gtk_selection_mode_get_type();
}
// static
GType Glib::Value<Gtk::ShadowType>::value_type()
{
return gtk_shadow_type_get_type();
}
// static
GType Glib::Value<Gtk::StateType>::value_type()
{
return gtk_state_type_get_type();
}
// static
GType Glib::Value<Gtk::TargetFlags>::value_type()
{
return gtk_target_flags_get_type();
}
// static
GType Glib::Value<Gtk::ToolbarStyle>::value_type()
{
return gtk_toolbar_style_get_type();
}
// static
GType Glib::Value<Gtk::UpdateType>::value_type()
{
return gtk_update_type_get_type();
}
// static
GType Glib::Value<Gtk::Visibility>::value_type()
{
return gtk_visibility_get_type();
}
// static
GType Glib::Value<Gtk::WindowPosition>::value_type()
{
return gtk_window_position_get_type();
}
// static
GType Glib::Value<Gtk::WindowType>::value_type()
{
return gtk_window_type_get_type();
}
// static
GType Glib::Value<Gtk::WrapMode>::value_type()
{
return gtk_wrap_mode_get_type();
}
// static
GType Glib::Value<Gtk::SortType>::value_type()
{
return gtk_sort_type_get_type();
}
// static
GType Glib::Value<Gtk::PageOrientation>::value_type()
{
return gtk_page_orientation_get_type();
}