wnckmm  0.1.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Related Functions | List of all members
Wnck::Workspace Class Reference

This represents a workspace. More...

Inherits Object.

Public Member Functions

virtual ~Workspace ()
 
WnckWorkspace* gobj ()
 Provides access to the underlying C GObject. More...
 
const WnckWorkspace* gobj () const
 Provides access to the underlying C GObject. More...
 
Screenget_screen () const
 
int get_number () const
 
std::string get_name () const
 
void set_name (const std::string& name) const
 
int get_width () const
 
int get_height () const
 
int get_viewport_x () const
 
int get_viewport_y () const
 
bool is_virtual () const
 
int get_layout_row () const
 
int get_layout_column () const
 
Workspaceget_neighbor (MotionDirection direction) const
 
void activate (guint32 timestamp)
 
Glib::SignalProxy< void > signal_name_changed ()
 

Static Public Member Functions

static GType get_type () G_GNUC_CONST
 Get the GType for this class, for use with the underlying GObject type system. More...
 

Protected Member Functions

 Workspace ()
 
virtual void on_name_changed ()
 This is a default handler for the signal signal_name_changed(). More...
 

Related Functions

(Note that these are not member functions.)

Wnck::Workspacewrap (WnckWorkspace* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

This represents a workspace.

Constructor & Destructor Documentation

virtual Wnck::Workspace::~Workspace ( )
virtual
Wnck::Workspace::Workspace ( )
protected

Member Function Documentation

void Wnck::Workspace::activate ( guint32  timestamp)
int Wnck::Workspace::get_height ( ) const
int Wnck::Workspace::get_layout_column ( ) const
int Wnck::Workspace::get_layout_row ( ) const
std::string Wnck::Workspace::get_name ( ) const
Workspace* Wnck::Workspace::get_neighbor ( MotionDirection  direction) const
int Wnck::Workspace::get_number ( ) const
Screen* Wnck::Workspace::get_screen ( ) const
static GType Wnck::Workspace::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

int Wnck::Workspace::get_viewport_x ( ) const
int Wnck::Workspace::get_viewport_y ( ) const
int Wnck::Workspace::get_width ( ) const
WnckWorkspace* Wnck::Workspace::gobj ( )
inline

Provides access to the underlying C GObject.

const WnckWorkspace* Wnck::Workspace::gobj ( ) const
inline

Provides access to the underlying C GObject.

bool Wnck::Workspace::is_virtual ( ) const
virtual void Wnck::Workspace::on_name_changed ( )
protectedvirtual

This is a default handler for the signal signal_name_changed().

void Wnck::Workspace::set_name ( const std::string &  name) const
Glib::SignalProxy< void > Wnck::Workspace::signal_name_changed ( )
Slot Prototype:
void on_my_name_changed()

Friends And Related Function Documentation

Wnck::Workspace* wrap ( WnckWorkspace *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

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