76450f35b1
git-svn-id: svn://localhost/ardour2/branches/2.1-staging@1416 d708f5d6-7413-0410-9779-e7cbd77b26cf
496 lines
14 KiB
C++
496 lines
14 KiB
C++
// Generated by gtkmmproc -- DO NOT MODIFY!
|
|
|
|
|
|
#include <gtkmm/settings.h>
|
|
#include <gtkmm/private/settings_p.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 <gtk/gtksettings.h>
|
|
|
|
namespace Gtk
|
|
{
|
|
|
|
|
|
} //namespace Gtk
|
|
|
|
|
|
namespace
|
|
{
|
|
} // anonymous namespace
|
|
|
|
|
|
namespace Glib
|
|
{
|
|
|
|
Glib::RefPtr<Gtk::Settings> wrap(GtkSettings* object, bool take_copy)
|
|
{
|
|
return Glib::RefPtr<Gtk::Settings>( dynamic_cast<Gtk::Settings*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
|
|
//We use dynamic_cast<> in case of multiple inheritance.
|
|
}
|
|
|
|
} /* namespace Glib */
|
|
|
|
|
|
namespace Gtk
|
|
{
|
|
|
|
|
|
/* The *_Class implementation: */
|
|
|
|
const Glib::Class& Settings_Class::init()
|
|
{
|
|
if(!gtype_) // create the GType if necessary
|
|
{
|
|
// Glib::Class has to know the class init function to clone custom types.
|
|
class_init_func_ = &Settings_Class::class_init_function;
|
|
|
|
// This is actually just optimized away, apparently with no harm.
|
|
// Make sure that the parent type has been created.
|
|
//CppClassParent::CppObjectType::get_type();
|
|
|
|
// Create the wrapper type, with the same class/instance size as the base type.
|
|
register_derived_type(gtk_settings_get_type());
|
|
|
|
// Add derived versions of interfaces, if the C type implements any interfaces:
|
|
}
|
|
|
|
return *this;
|
|
}
|
|
|
|
void Settings_Class::class_init_function(void* g_class, void* class_data)
|
|
{
|
|
BaseClassType *const klass = static_cast<BaseClassType*>(g_class);
|
|
CppClassParent::class_init_function(klass, class_data);
|
|
|
|
#ifdef GLIBMM_VFUNCS_ENABLED
|
|
#endif //GLIBMM_VFUNCS_ENABLED
|
|
|
|
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
}
|
|
|
|
#ifdef GLIBMM_VFUNCS_ENABLED
|
|
#endif //GLIBMM_VFUNCS_ENABLED
|
|
|
|
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
|
|
Glib::ObjectBase* Settings_Class::wrap_new(GObject* object)
|
|
{
|
|
return new Settings((GtkSettings*)object);
|
|
}
|
|
|
|
|
|
/* The implementation: */
|
|
|
|
GtkSettings* Settings::gobj_copy()
|
|
{
|
|
reference();
|
|
return gobj();
|
|
}
|
|
|
|
Settings::Settings(const Glib::ConstructParams& construct_params)
|
|
:
|
|
Glib::Object(construct_params)
|
|
{}
|
|
|
|
Settings::Settings(GtkSettings* castitem)
|
|
:
|
|
Glib::Object((GObject*)(castitem))
|
|
{}
|
|
|
|
Settings::~Settings()
|
|
{}
|
|
|
|
|
|
Settings::CppClassType Settings::settings_class_; // initialize static member
|
|
|
|
GType Settings::get_type()
|
|
{
|
|
return settings_class_.init().get_type();
|
|
}
|
|
|
|
GType Settings::get_base_type()
|
|
{
|
|
return gtk_settings_get_type();
|
|
}
|
|
|
|
|
|
Glib::RefPtr<Settings> Settings::get_default()
|
|
{
|
|
|
|
Glib::RefPtr<Settings> retvalue = Glib::wrap(gtk_settings_get_default());
|
|
|
|
if(retvalue)
|
|
retvalue->reference(); //The function does not do a ref for us.
|
|
return retvalue;
|
|
}
|
|
|
|
|
|
Glib::RefPtr<Settings> Settings::get_for_screen(const Glib::RefPtr<Gdk::Screen>& screen)
|
|
{
|
|
|
|
Glib::RefPtr<Settings> retvalue = Glib::wrap(gtk_settings_get_for_screen(Glib::unwrap(screen)));
|
|
|
|
if(retvalue)
|
|
retvalue->reference(); //The function does not do a ref for us.
|
|
return retvalue;
|
|
}
|
|
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_double_click_time()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-double-click-time");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_double_click_time() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-double-click-time");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_double_click_distance()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-double-click-distance");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_double_click_distance() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-double-click-distance");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<bool> Settings::property_gtk_cursor_blink()
|
|
{
|
|
return Glib::PropertyProxy<bool>(this, "gtk-cursor-blink");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<bool> Settings::property_gtk_cursor_blink() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "gtk-cursor-blink");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_cursor_blink_time()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-cursor-blink-time");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_cursor_blink_time() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-cursor-blink-time");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<bool> Settings::property_gtk_split_cursor()
|
|
{
|
|
return Glib::PropertyProxy<bool>(this, "gtk-split-cursor");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<bool> Settings::property_gtk_split_cursor() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "gtk-split-cursor");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_theme_name()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-theme-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_theme_name() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-theme-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_key_theme_name()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-key-theme-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_key_theme_name() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-key-theme-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_menu_bar_accel()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-menu-bar-accel");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_menu_bar_accel() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-menu-bar-accel");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_dnd_drag_threshold()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-dnd-drag-threshold");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_dnd_drag_threshold() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-dnd-drag-threshold");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_font_name()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-font-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_font_name() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-font-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_xft_antialias()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-xft-antialias");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_xft_antialias() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-xft-antialias");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_xft_hinting()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-xft-hinting");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_xft_hinting() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-xft-hinting");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_xft_hintstyle()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-xft-hintstyle");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_xft_hintstyle() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-xft-hintstyle");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_xft_rgba()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-xft-rgba");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_xft_rgba() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-xft-rgba");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<int> Settings::property_gtk_xft_dpi()
|
|
{
|
|
return Glib::PropertyProxy<int>(this, "gtk-xft-dpi");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<int> Settings::property_gtk_xft_dpi() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<int>(this, "gtk-xft-dpi");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<ToolbarStyle> Settings::property_gtk_toolbar_style()
|
|
{
|
|
return Glib::PropertyProxy<ToolbarStyle>(this, "gtk-toolbar-style");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<ToolbarStyle> Settings::property_gtk_toolbar_style() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<ToolbarStyle>(this, "gtk-toolbar-style");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<IconSize> Settings::property_gtk_toolbar_icon_size()
|
|
{
|
|
return Glib::PropertyProxy<IconSize>(this, "gtk-toolbar-icon-size");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<IconSize> Settings::property_gtk_toolbar_icon_size() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<IconSize>(this, "gtk-toolbar-icon-size");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<bool> Settings::property_gtk_can_change_accels()
|
|
{
|
|
return Glib::PropertyProxy<bool>(this, "gtk-can-change-accels");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<bool> Settings::property_gtk_can_change_accels() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "gtk-can-change-accels");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<bool> Settings::property_gtk_entry_select_on_focus()
|
|
{
|
|
return Glib::PropertyProxy<bool>(this, "gtk-entry-select-on-focus");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<bool> Settings::property_gtk_entry_select_on_focus() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "gtk-entry-select-on-focus");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_color_palette()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-color-palette");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_color_palette() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-color-palette");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<bool> Settings::property_gtk_button_images()
|
|
{
|
|
return Glib::PropertyProxy<bool>(this, "gtk-button-images");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<bool> Settings::property_gtk_button_images() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<bool>(this, "gtk-button-images");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_icon_theme_name()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-icon-theme-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_icon_theme_name() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-icon-theme-name");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy<Glib::ustring> Settings::property_gtk_icon_sizes()
|
|
{
|
|
return Glib::PropertyProxy<Glib::ustring>(this, "gtk-icon-sizes");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
#ifdef GLIBMM_PROPERTIES_ENABLED
|
|
Glib::PropertyProxy_ReadOnly<Glib::ustring> Settings::property_gtk_icon_sizes() const
|
|
{
|
|
return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "gtk-icon-sizes");
|
|
}
|
|
#endif //GLIBMM_PROPERTIES_ENABLED
|
|
|
|
|
|
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
|
|
|
|
#ifdef GLIBMM_VFUNCS_ENABLED
|
|
#endif //GLIBMM_VFUNCS_ENABLED
|
|
|
|
|
|
} // namespace Gtk
|
|
|
|
|