wnckmm 0.1.1
|
This represents a workspace. More...
#include <wnckmm/window.h>
Inherits Glib::Object.
Public Member Functions | |
virtual | ~Window () |
WnckWindow* | gobj () |
Provides access to the underlying C GObject. | |
const WnckWindow* | gobj () const |
Provides access to the underlying C GObject. | |
Screen* | get_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 |
Application* | get_application () const |
Window* | get_transient () const |
gulong | get_group_leader () const |
gulong | get_xid () const |
ClassGroup* | get_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) |
Workspace* | get_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::SignalProxy< void, WindowActions, WindowActions > | signal_actions_changed () |
Glib::SignalProxy< void > | signal_geometry_changed () |
Glib::SignalProxy< void, WindowState, WindowState > | signal_state_changed () |
Glib::SignalProxy< void > | signal_workspace_changed () |
Glib::SignalProxy< void > | signal_icon_changed () |
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. | |
static Window* | get_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(). | |
virtual void | on_geometry_changed () |
This is a default handler for the signal signal_geometry_changed(). | |
virtual void | on_state_changed (WindowState changed_mask, WindowState new_state) |
This is a default handler for the signal signal_state_changed(). | |
virtual void | on_workspace_changed () |
This is a default handler for the signal signal_workspace_changed(). | |
virtual void | on_icon_changed () |
This is a default handler for the signal signal_icon_changed(). | |
virtual void | on_name_changed () |
This is a default handler for the signal signal_name_changed(). | |
Related Symbols | |
(Note that these are not member symbols.) | |
Wnck::Window* | wrap (WnckWindow* object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
This represents a workspace.
|
virtual |
|
protected |
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 |
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 |
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 |
|
inline |
Provides access to the underlying C GObject.
|
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 | ) |
|
protectedvirtual |
This is a default handler for the signal signal_actions_changed().
|
protectedvirtual |
This is a default handler for the signal signal_geometry_changed().
|
protectedvirtual |
This is a default handler for the signal signal_icon_changed().
|
protectedvirtual |
This is a default handler for the signal signal_name_changed().
|
protectedvirtual |
This is a default handler for the signal signal_state_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, | ||
const Gdk::Rectangle & | geom | ||
) |
void Wnck::Window::set_geometry | ( | WindowGravity | gravity, |
WindowMoveResizeMask | geometry_mask, | ||
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
void Wnck::Window::set_icon_geometry | ( | const Gdk::Rectangle & | geom | ) |
void Wnck::Window::set_icon_geometry | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |
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::SignalProxy< void, WindowActions, WindowActions > Wnck::Window::signal_actions_changed | ( | ) |
void on_my_actions_changed(WindowActions changed_mask, WindowActions new_state)
Flags: Run Last
Glib::SignalProxy< void > Wnck::Window::signal_geometry_changed | ( | ) |
void on_my_geometry_changed()
Flags: Run Last
Glib::SignalProxy< void > Wnck::Window::signal_icon_changed | ( | ) |
void on_my_icon_changed()
Flags: Run Last
Glib::SignalProxy< void > Wnck::Window::signal_name_changed | ( | ) |
void on_my_name_changed()
Flags: Run Last
Glib::SignalProxy< void, WindowState, WindowState > Wnck::Window::signal_state_changed | ( | ) |
void on_my_state_changed(WindowState changed_mask, WindowState new_state)
Flags: Run Last
Glib::SignalProxy< void > Wnck::Window::signal_workspace_changed | ( | ) |
void on_my_workspace_changed()
Flags: Run Last
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 | ( | ) |
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |