Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::Settings Class Reference

A GtkSettings C++ wrapper class. More...

#include <xfc/gtk/settings.hh>

Inheritance diagram for Xfc::Gtk::Settings:
Xfc::G::Object Xfc::G::TypeInstance Xfc::Trackable

List of all members.

Public Member Functions

Property Proxies



Property Prototypes

Constructors

Accessors


Detailed Description

A GtkSettings C++ wrapper class.

The Settings object holds the current settings for a GDK screen.


Constructor & Destructor Documentation

Xfc::Gtk::Settings::Settings ( GtkSettings *  settings,
bool  owns_reference = true 
) [explicit, protected]

Construct a new Settings from an existing GtkSettings.

Parameters:
settings A pointer to a GtkSettings.
owns_reference Set false if the initial reference count is floating, set true if it's not.

The settings can be a newly created GtkSettings or an existing GtkSettings (see G::Object::Object).


Member Function Documentation

static Settings* Xfc::Gtk::Settings::get ( const Gdk::Screen screen = 0  )  [static]

Gets the Settings object for the specified screen, creating it if necessary.

Parameters:
screen A Gdk::Screen, or null for the default screen.
Returns:
A Settings object.

Note: The default GDK screen is the only screen in the absence of MultiHead support.

const GtkDoubleClickDistancePropertyProxy Xfc::Gtk::Settings::property_gtk_double_click_distance (  ) 

Maximum distance allowed between two clicks for them to be considered a double click, in pixels (int : Read / Write).

const GtkDoubleClickTimePropertyProxy Xfc::Gtk::Settings::property_gtk_double_click_time (  ) 

Maximum time allowed between two clicks for them to be considered a double click, in milliseconds (int : Read / Write).

const GtkSplitCursorPropertyProxy Xfc::Gtk::Settings::property_gtk_split_cursor (  ) 

Whether two cursors should be displayed for mixed left-to-right and right-to-left text (bool : Read / Write).


Member Data Documentation

const GtkDoubleClickDistancePropertyType Xfc::Gtk::Settings::gtk_double_click_distance_property [static, protected]

Maximum distance allowed between two clicks for them to be considered a double click (see property_gtk_double_click_distance()).

const GtkDoubleClickTimePropertyType Xfc::Gtk::Settings::gtk_double_click_time_property [static, protected]

Maximum time allowed between two clicks for them to be considered a double click (see property_gtk_double_click_time()).

const GtkSplitCursorPropertyType Xfc::Gtk::Settings::gtk_split_cursor_property [static, protected]

Whether two cursors should be displayed for mixed left-to-right and right-to-left text (see property_gtk_split_cursor()).


The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3