Logo Search packages:      
Sourcecode: ardour version File versions

Gdk::DisplayManager Class Reference

#include <displaymanager.h>

Inheritance diagram for Gdk::DisplayManager:

sigc::trackable

List of all members.


Detailed Description

The purpose of the GdkDisplayManager singleton object is to offer notification when displays appear or disappear or the default display changes.

Definition at line 48 of file displaymanager.h.


Public Types

typedef GdkDisplayManagerClass BaseClassType
typedef GdkDisplayManager BaseObjectType
typedef DisplayManager_Class CppClassType
typedef DisplayManager CppObjectType
typedef void(* DestroyNotify )(gpointer data)

Public Member Functions

bool _cpp_destruction_is_in_progress () const
void * get_data (const QueryQuark &key)
Glib::RefPtr< const Displayget_default_display () const
Glib::RefPtr< Displayget_default_display ()
template<class PropertyType>
void get_property (const Glib::ustring &property_name, PropertyType &value) const
 You probably want to use a specific property_*() accessor method instead.
void get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const
 You probably want to use a specific property_*() accessor method instead.
const GdkDisplayManager * gobj () const
 Provides access to the underlying C GObject.
GdkDisplayManager * gobj ()
 Provides access to the underlying C GObject.
GObject * gobj_copy () const
GdkDisplayManager * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::SListHandle
< Glib::RefPtr< Display > > 
list_displays ()
Glib::PropertyProxy_ReadOnly
< Glib::RefPtr< Display > > 
property_default_display () const
Glib::PropertyProxy
< Glib::RefPtr< Display > > 
property_default_display ()
virtual void reference () const
void remove_data (const QueryQuark &quark)
void set_data (const Quark &key, void *data, DestroyNotify notify)
void set_data (const Quark &key, void *data)
void set_default_display (const Glib::RefPtr< Display > &display)
template<class PropertyType>
void set_property (const Glib::ustring &property_name, const PropertyType &value)
 You probably want to use a specific property_*() accessor method instead.
void set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value)
 You probably want to use a specific property_*() accessor method instead.
Glib::SignalProxy1< void,
const Glib::RefPtr< Display > & > 
signal_display_opened ()
void * steal_data (const QueryQuark &quark)
virtual void unreference () const

Static Public Member Functions

static ObjectBase * _get_current_wrapper (GObject *object)
static Glib::RefPtr
< DisplayManager
get ()
static GType get_base_type () G_GNUC_CONST
static GType get_type () G_GNUC_CONST

Protected Member Functions

void _set_current_wrapper (GObject *object)
virtual void destroy_notify_ ()
 DisplayManager (GdkDisplayManager *castitem)
 DisplayManager (const Glib::ConstructParams &construct_params)
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
virtual void on_display_opened (const Glib::RefPtr< Display > &display)

Static Protected Member Functions

static void destroy_notify_callback_ (void *data)

Protected Attributes

bool cpp_destruction_in_progress_
const char * custom_type_name_
GObject * gobject_

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

 DisplayManager (const DisplayManager &)
DisplayManageroperator= (const DisplayManager &)

Static Private Attributes

static CppClassType displaymanager_class_

Friends

class DisplayManager_Class
class Glib::GSigConnectionNode
class Glib::Object_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Glib::Object > wrap (GObject *object, bool take_copy=false)
Glib::RefPtr< Gdk::DisplayManagerwrap (GdkDisplayManager *object, bool take_copy=false)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index