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


Xfc::Gtk::Invisible Class Reference

A GtkInvisible C++ wrapper class. More...

#include <xfc/gtk/invisible.hh>

Inheritance diagram for Xfc::Gtk::Invisible:

Xfc::Gtk::Widget Xfc::Gtk::Object Xfc::Atk::Implementor Xfc::G::Object Xfc::G::TypeInterface Xfc::G::TypeInstance Xfc::G::TypeInstance Xfc::Trackable Xfc::Trackable List of all members.

Public Member Functions

Accessors
Methods

Detailed Description

A GtkInvisible C++ wrapper class.

The Invisible widget is used internally in GTK+, and is probably not useful for application developers. It is used for reliable pointer grabs and selection handling in the code for drag-and-drop. If you ever need to implement manual drag-and-drop you might find this widget useful.


Constructor & Destructor Documentation

Xfc::Gtk::Invisible::Invisible ( GtkInvisible *  invisible,
bool  owns_reference = false 
) [explicit, protected]

Construct a new Invisible from an existing GtkInvisible.

Parameters:
invisible A pointer to a GtkInvisible.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The invisible can be a newly created GtkInvisible or an existing GtkInvisible (see G::Object::Object).

Xfc::Gtk::Invisible::Invisible ( const Gdk::Screen screen  )  [explicit]

Construct a new Invisible object for the specified screen.

Parameters:
screen A Screen which identifies on which screen the new Invisible will be created.

Xfc::Gtk::Invisible::Invisible ( GtkInvisible *  invisible,
bool  owns_reference = false 
) [explicit, protected]

Construct a new Invisible from an existing GtkInvisible.

Parameters:
invisible A pointer to a GtkInvisible.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The invisible can be a newly created GtkInvisible or an existing GtkInvisible (see G::Object::Object).

Xfc::Gtk::Invisible::Invisible ( const Gdk::Screen screen  )  [explicit]

Construct a new Invisible object for the specified screen.

Parameters:
screen A Screen which identifies on which screen the new Invisible will be created.


Member Function Documentation

Gdk::Screen* Xfc::Gtk::Invisible::get_screen (  )  const

Returns the Gdk::Screen object associated with the invisible.

Returns:
The associated Gdk::Screen.
If no screen was explicitly set this method returns the default screen.

Reimplemented from Xfc::Gtk::Widget.

void Xfc::Gtk::Invisible::set_screen ( const Gdk::Screen screen  ) 

Sets the Gdk::Screen where the Invisible object will be displayed.

Parameters:
screen A Gdk::Screen.


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