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

◆ ~Workspace()

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

◆ Workspace()

Wnck::Workspace::Workspace ( )
protected

Member Function Documentation

◆ activate()

void Wnck::Workspace::activate ( guint32  timestamp)

◆ get_height()

int Wnck::Workspace::get_height ( ) const

◆ get_layout_column()

int Wnck::Workspace::get_layout_column ( ) const

◆ get_layout_row()

int Wnck::Workspace::get_layout_row ( ) const

◆ get_name()

std::string Wnck::Workspace::get_name ( ) const

◆ get_neighbor()

Workspace* Wnck::Workspace::get_neighbor ( MotionDirection  direction) const

◆ get_number()

int Wnck::Workspace::get_number ( ) const

◆ get_screen()

Screen* Wnck::Workspace::get_screen ( ) const

◆ get_type()

static GType Wnck::Workspace::get_type ( )
static

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

◆ get_viewport_x()

int Wnck::Workspace::get_viewport_x ( ) const

◆ get_viewport_y()

int Wnck::Workspace::get_viewport_y ( ) const

◆ get_width()

int Wnck::Workspace::get_width ( ) const

◆ gobj() [1/2]

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

Provides access to the underlying C GObject.

◆ gobj() [2/2]

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

Provides access to the underlying C GObject.

◆ is_virtual()

bool Wnck::Workspace::is_virtual ( ) const

◆ on_name_changed()

virtual void Wnck::Workspace::on_name_changed ( )
protectedvirtual

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

◆ set_name()

void Wnck::Workspace::set_name ( const std::string &  name) const

◆ signal_name_changed()

Glib::SignalProxy< void > Wnck::Workspace::signal_name_changed ( )
Slot Prototype:
void on_my_name_changed()

Friends And Related Function Documentation

◆ wrap()

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: