1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
|
// Generated by gtkmmproc -- DO NOT MODIFY!
#include <gtkmm/enums.h>
#include <gtkmm/private/enums_p.h>
#include <gtk/gtktypebuiltins.h>
// -*- c++ -*-
/* $Id: enums.ccg,v 1.1.1.1 2003/01/21 13:38:48 murrayc Exp $ */
/*
*
* 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();
}
|