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

This represents a workspace. More...

Inherits Object.

Public Member Functions

virtual ~Window ()
 
WnckWindow* gobj ()
 Provides access to the underlying C GObject. More...
 
const WnckWindow* gobj () const
 Provides access to the underlying C GObject. More...
 
Screenget_screen () const
 
bool has_name () const
 
std::string get_name () const
 
bool has_icon_name () const
 
std::string get_icon_name () const
 
bool is_icon_fallback () const
 
Glib::RefPtr< Gdk::Pixbuf > get_icon () const
 
Glib::RefPtr< Gdk::Pixbuf > get_mini_icon () const
 
Applicationget_application () const
 
Windowget_transient () const
 
gulong get_group_leader () const
 
gulong get_xid () const
 
ClassGroupget_class_group () const
 
std::string get_session_id () const
 
std::string get_session_id_utf8 () const
 
int get_pid () const
 
int get_sort_order () const
 
void set_sort_order (int order)
 
WindowType get_window_type () const
 
void set_window_type (WindowType order)
 
WindowState get_state () const
 
bool is_minimized () const
 
bool is_maximized_horizontally () const
 
bool is_maximized_vertically () const
 
bool is_maximized () const
 
bool is_shaded () const
 
bool is_pinned () const
 
bool is_sticky () const
 
bool is_above () const
 
bool is_below () const
 
bool is_skip_pager () const
 
bool is_skip_tasklist () const
 
bool is_fullscreen () const
 
bool is_needs_attention () const
 
bool is_needs_attention_or_transient () const
 
WindowActions get_actions () const
 
void minimize ()
 
void unminimize (guint32 timestamp)
 
void maximize ()
 
void unmaximize ()
 
void maximize_vertically ()
 
void unmaximize_vertically ()
 
void maximize_horizontally ()
 
void unmaximize_horizontally ()
 
void shade ()
 
void unshade ()
 
void pin ()
 
void unpin ()
 
void stick ()
 
void unstick ()
 
void make_above ()
 
void unmake_above ()
 
void make_below ()
 
void unmake_below ()
 
void set_skip_pager (bool skip=true)
 
void set_skip_tasklist (bool skip=true)
 
void set_fullscreen (bool fullscreen=true)
 
void close (guint32 timestamp)
 
Workspaceget_workspace () const
 
bool is_on_workspace (const Workspace* workspace) const
 
bool is_visible_on_workspace (const Workspace* workspace) const
 
void move_to_workspace (const Workspace* workspace)
 
bool is_in_viewport (const Workspace* workspace) const
 
void activate (guint32 timestamp)
 
bool is_active () const
 
bool is_most_recently_activated () const
 
void activate_transient (guint32 timestamp)
 
bool is_transient_most_recently_activated () const
 
void set_icon_geometry (int x, int y, int width, int height)
 
void set_icon_geometry (const Gdk::Rectangle& geom)
 
Gdk::Rectangle get_client_geometry () const
 
Gdk::Rectangle get_geometry () const
 
void set_geometry (WindowGravity gravity, WindowMoveResizeMask geometry_mask, int x, int y, int width, int height)
 
void set_geometry (WindowGravity gravity, WindowMoveResizeMask geometry_mask, const Gdk::Rectangle& geom)
 
void keyboard_move ()
 
void keyboard_size ()
 
Glib::SignalProxy2< void, WindowActions, WindowActionssignal_actions_changed ()
 
Glib::SignalProxy0< void > signal_geometry_changed ()
 
Glib::SignalProxy2< void, WindowState, WindowStatesignal_state_changed ()
 
Glib::SignalProxy0< void > signal_workspace_changed ()
 
Glib::SignalProxy0< void > signal_icon_changed ()
 
Glib::SignalProxy0< 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...
 
static Windowget_for_xid (gulong xid)
 

Protected Member Functions

 Window ()
 
virtual void on_actions_changed (WindowActions changed_mask, WindowActions new_state)
 This is a default handler for the signal signal_actions_changed(). More...
 
virtual void on_geometry_changed ()
 This is a default handler for the signal signal_geometry_changed(). More...
 
virtual void on_state_changed (WindowState changed_mask, WindowState new_state)
 This is a default handler for the signal signal_state_changed(). More...
 
virtual void on_workspace_changed ()
 This is a default handler for the signal signal_workspace_changed(). More...
 
virtual void on_icon_changed ()
 This is a default handler for the signal signal_icon_changed(). More...
 
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::Windowwrap (WnckWindow* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

This represents a workspace.

Constructor & Destructor Documentation

virtual Wnck::Window::~Window ( )
virtual
Wnck::Window::Window ( )
protected

Member Function Documentation

void Wnck::Window::activate ( guint32  timestamp)
void Wnck::Window::activate_transient ( guint32  timestamp)
void Wnck::Window::close ( guint32  timestamp)
WindowActions Wnck::Window::get_actions ( ) const
Application* Wnck::Window::get_application ( ) const
ClassGroup* Wnck::Window::get_class_group ( ) const
Gdk::Rectangle Wnck::Window::get_client_geometry ( ) const
static Window* Wnck::Window::get_for_xid ( gulong  xid)
static
Gdk::Rectangle Wnck::Window::get_geometry ( ) const
gulong Wnck::Window::get_group_leader ( ) const
Glib::RefPtr<Gdk::Pixbuf> Wnck::Window::get_icon ( ) const
std::string Wnck::Window::get_icon_name ( ) const
Glib::RefPtr<Gdk::Pixbuf> Wnck::Window::get_mini_icon ( ) const
std::string Wnck::Window::get_name ( ) const
int Wnck::Window::get_pid ( ) const
Screen* Wnck::Window::get_screen ( ) const
std::string Wnck::Window::get_session_id ( ) const
std::string Wnck::Window::get_session_id_utf8 ( ) const
int Wnck::Window::get_sort_order ( ) const
WindowState Wnck::Window::get_state ( ) const
Window* Wnck::Window::get_transient ( ) const
static GType Wnck::Window::get_type ( )
static

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

WindowType Wnck::Window::get_window_type ( ) const
Workspace* Wnck::Window::get_workspace ( ) const
gulong Wnck::Window::get_xid ( ) const
WnckWindow* Wnck::Window::gobj ( )
inline

Provides access to the underlying C GObject.

const WnckWindow* Wnck::Window::gobj ( ) const
inline

Provides access to the underlying C GObject.

bool Wnck::Window::has_icon_name ( ) const
bool Wnck::Window::has_name ( ) const
bool Wnck::Window::is_above ( ) const
bool Wnck::Window::is_active ( ) const
bool Wnck::Window::is_below ( ) const
bool Wnck::Window::is_fullscreen ( ) const
bool Wnck::Window::is_icon_fallback ( ) const
bool Wnck::Window::is_in_viewport ( const Workspace workspace) const
bool Wnck::Window::is_maximized ( ) const
bool Wnck::Window::is_maximized_horizontally ( ) const
bool Wnck::Window::is_maximized_vertically ( ) const
bool Wnck::Window::is_minimized ( ) const
bool Wnck::Window::is_most_recently_activated ( ) const
bool Wnck::Window::is_needs_attention ( ) const
bool Wnck::Window::is_needs_attention_or_transient ( ) const
bool Wnck::Window::is_on_workspace ( const Workspace workspace) const
bool Wnck::Window::is_pinned ( ) const
bool Wnck::Window::is_shaded ( ) const
bool Wnck::Window::is_skip_pager ( ) const
bool Wnck::Window::is_skip_tasklist ( ) const
bool Wnck::Window::is_sticky ( ) const
bool Wnck::Window::is_transient_most_recently_activated ( ) const
bool Wnck::Window::is_visible_on_workspace ( const Workspace workspace) const
void Wnck::Window::keyboard_move ( )
void Wnck::Window::keyboard_size ( )
void Wnck::Window::make_above ( )
void Wnck::Window::make_below ( )
void Wnck::Window::maximize ( )
void Wnck::Window::maximize_horizontally ( )
void Wnck::Window::maximize_vertically ( )
void Wnck::Window::minimize ( )
void Wnck::Window::move_to_workspace ( const Workspace workspace)
virtual void Wnck::Window::on_actions_changed ( WindowActions  changed_mask,
WindowActions  new_state 
)
protectedvirtual

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

virtual void Wnck::Window::on_geometry_changed ( )
protectedvirtual

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

virtual void Wnck::Window::on_icon_changed ( )
protectedvirtual

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

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

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

virtual void Wnck::Window::on_state_changed ( WindowState  changed_mask,
WindowState  new_state 
)
protectedvirtual

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

virtual void Wnck::Window::on_workspace_changed ( )
protectedvirtual

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

void Wnck::Window::pin ( )
void Wnck::Window::set_fullscreen ( bool  fullscreen = true)
void Wnck::Window::set_geometry ( WindowGravity  gravity,
WindowMoveResizeMask  geometry_mask,
int  x,
int  y,
int  width,
int  height 
)
void Wnck::Window::set_geometry ( WindowGravity  gravity,
WindowMoveResizeMask  geometry_mask,
const Gdk::Rectangle &  geom 
)
void Wnck::Window::set_icon_geometry ( int  x,
int  y,
int  width,
int  height 
)
void Wnck::Window::set_icon_geometry ( const Gdk::Rectangle &  geom)
void Wnck::Window::set_skip_pager ( bool  skip = true)
void Wnck::Window::set_skip_tasklist ( bool  skip = true)
void Wnck::Window::set_sort_order ( int  order)
void Wnck::Window::set_window_type ( WindowType  order)
void Wnck::Window::shade ( )
Glib::SignalProxy2< void,WindowActions,WindowActions > Wnck::Window::signal_actions_changed ( )
Slot Prototype:
void on_my_actions_changed(WindowActions changed_mask, WindowActions new_state)
Glib::SignalProxy0< void > Wnck::Window::signal_geometry_changed ( )
Slot Prototype:
void on_my_geometry_changed()
Glib::SignalProxy0< void > Wnck::Window::signal_icon_changed ( )
Slot Prototype:
void on_my_icon_changed()
Glib::SignalProxy0< void > Wnck::Window::signal_name_changed ( )
Slot Prototype:
void on_my_name_changed()
Glib::SignalProxy2< void,WindowState,WindowState > Wnck::Window::signal_state_changed ( )
Slot Prototype:
void on_my_state_changed(WindowState changed_mask, WindowState new_state)
Glib::SignalProxy0< void > Wnck::Window::signal_workspace_changed ( )
Slot Prototype:
void on_my_workspace_changed()
void Wnck::Window::stick ( )
void Wnck::Window::unmake_above ( )
void Wnck::Window::unmake_below ( )
void Wnck::Window::unmaximize ( )
void Wnck::Window::unmaximize_horizontally ( )
void Wnck::Window::unmaximize_vertically ( )
void Wnck::Window::unminimize ( guint32  timestamp)
void Wnck::Window::unpin ( )
void Wnck::Window::unshade ( )
void Wnck::Window::unstick ( )

Friends And Related Function Documentation

Wnck::Window* wrap ( WnckWindow *  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: