Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WnckWindow: Libwnck Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Libwnck Reference Manual">
<link rel="up" href="core.html" title="Part III. Libwnck Core Window Management Support">
<link rel="prev" href="core.html" title="Part III. Libwnck Core Window Management Support">
<link rel="next" href="WnckClassGroup.html" title="WnckClassGroup">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#WnckWindow.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#WnckWindow.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#WnckWindow.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="core.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="WnckClassGroup.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="WnckWindow"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WnckWindow.top_of_page"></a>WnckWindow</span></h2>
<p>WnckWindow — an object representing a window.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="WnckWindow.stability-level"></a><h2>Stability Level</h2>
<acronym title="Unstable interfaces are experimental or transitional. They are typically used to
give outside developers early access to new or rapidly changing technology, or
to provide an interim solution to a problem where a more general solution is
anticipated. No claims are made about either source or binary compatibility from
one minor release to the next.

The Unstable interface level is a warning that these interfaces are  subject to
change without warning and should not be used in unbundled products.

Given such caveats, customer impact need not be a factor when considering
incompatible changes to an Unstable interface in a major or minor release.
Nonetheless, when such changes are introduced, the changes should still be
mentioned in the release notes for the affected release.
"><span class="acronym">Unstable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="WnckWindow.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="returnvalue">WnckWindow</span></a> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get" title="wnck_window_get ()">wnck_window_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="returnvalue">WnckScreen</span></a> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-screen" title="wnck_window_get_screen ()">wnck_window_get_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-has-name" title="wnck_window_has_name ()">wnck_window_has_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-name" title="wnck_window_get_name ()">wnck_window_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-has-icon-name" title="wnck_window_has_icon_name ()">wnck_window_has_icon_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-icon-name" title="wnck_window_get_icon_name ()">wnck_window_get_icon_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-icon-is-fallback" title="wnck_window_get_icon_is_fallback ()">wnck_window_get_icon_is_fallback</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GdkPixbuf</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-icon" title="wnck_window_get_icon ()">wnck_window_get_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GdkPixbuf</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-mini-icon" title="wnck_window_get_mini_icon ()">wnck_window_get_mini_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckApplication.html" title="WnckApplication"><span class="returnvalue">WnckApplication</span></a> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-application" title="wnck_window_get_application ()">wnck_window_get_application</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="returnvalue">WnckWindow</span></a> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-transient" title="wnck_window_get_transient ()">wnck_window_get_transient</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gulong</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-group-leader" title="wnck_window_get_group_leader ()">wnck_window_get_group_leader</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gulong</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-xid" title="wnck_window_get_xid ()">wnck_window_get_xid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="returnvalue">WnckClassGroup</span></a> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-class-group" title="wnck_window_get_class_group ()">wnck_window_get_class_group</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-class-group-name" title="wnck_window_get_class_group_name ()">wnck_window_get_class_group_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-class-instance-name" title="wnck_window_get_class_instance_name ()">wnck_window_get_class_instance_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-session-id" title="wnck_window_get_session_id ()">wnck_window_get_session_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-session-id-utf8" title="wnck_window_get_session_id_utf8 ()">wnck_window_get_session_id_utf8</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-pid" title="wnck_window_get_pid ()">wnck_window_get_pid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-sort-order" title="wnck_window_get_sort_order ()">wnck_window_get_sort_order</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-sort-order" title="wnck_window_set_sort_order ()">wnck_window_set_sort_order</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckWindow.html#WnckWindowType" title="enum WnckWindowType"><span class="returnvalue">WnckWindowType</span></a>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-window-type" title="wnck_window_get_window_type ()">wnck_window_get_window_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-window-type" title="wnck_window_set_window_type ()">wnck_window_set_window_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckWindow.html#WnckWindowState" title="enum WnckWindowState"><span class="returnvalue">WnckWindowState</span></a>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-state" title="wnck_window_get_state ()">wnck_window_get_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-minimized" title="wnck_window_is_minimized ()">wnck_window_is_minimized</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-maximized-horizontally" title="wnck_window_is_maximized_horizontally ()">wnck_window_is_maximized_horizontally</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-maximized-vertically" title="wnck_window_is_maximized_vertically ()">wnck_window_is_maximized_vertically</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-maximized" title="wnck_window_is_maximized ()">wnck_window_is_maximized</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-shaded" title="wnck_window_is_shaded ()">wnck_window_is_shaded</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-pinned" title="wnck_window_is_pinned ()">wnck_window_is_pinned</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-sticky" title="wnck_window_is_sticky ()">wnck_window_is_sticky</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-above" title="wnck_window_is_above ()">wnck_window_is_above</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-below" title="wnck_window_is_below ()">wnck_window_is_below</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-skip-pager" title="wnck_window_is_skip_pager ()">wnck_window_is_skip_pager</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-skip-tasklist" title="wnck_window_is_skip_tasklist ()">wnck_window_is_skip_tasklist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-fullscreen" title="wnck_window_is_fullscreen ()">wnck_window_is_fullscreen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-needs-attention" title="wnck_window_needs_attention ()">wnck_window_needs_attention</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-or-transient-needs-attention" title="wnck_window_or_transient_needs_attention ()">wnck_window_or_transient_needs_attention</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckWindow.html#WnckWindowActions" title="enum WnckWindowActions"><span class="returnvalue">WnckWindowActions</span></a>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-actions" title="wnck_window_get_actions ()">wnck_window_get_actions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-minimize" title="wnck_window_minimize ()">wnck_window_minimize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unminimize" title="wnck_window_unminimize ()">wnck_window_unminimize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-maximize-horizontally" title="wnck_window_maximize_horizontally ()">wnck_window_maximize_horizontally</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unmaximize-horizontally" title="wnck_window_unmaximize_horizontally ()">wnck_window_unmaximize_horizontally</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-maximize-vertically" title="wnck_window_maximize_vertically ()">wnck_window_maximize_vertically</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unmaximize-vertically" title="wnck_window_unmaximize_vertically ()">wnck_window_unmaximize_vertically</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-maximize" title="wnck_window_maximize ()">wnck_window_maximize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unmaximize" title="wnck_window_unmaximize ()">wnck_window_unmaximize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-shade" title="wnck_window_shade ()">wnck_window_shade</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unshade" title="wnck_window_unshade ()">wnck_window_unshade</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-pin" title="wnck_window_pin ()">wnck_window_pin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unpin" title="wnck_window_unpin ()">wnck_window_unpin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-stick" title="wnck_window_stick ()">wnck_window_stick</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unstick" title="wnck_window_unstick ()">wnck_window_unstick</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-make-above" title="wnck_window_make_above ()">wnck_window_make_above</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unmake-above" title="wnck_window_unmake_above ()">wnck_window_unmake_above</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-make-below" title="wnck_window_make_below ()">wnck_window_make_below</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-unmake-below" title="wnck_window_unmake_below ()">wnck_window_unmake_below</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-skip-pager" title="wnck_window_set_skip_pager ()">wnck_window_set_skip_pager</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-skip-tasklist" title="wnck_window_set_skip_tasklist ()">wnck_window_set_skip_tasklist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-fullscreen" title="wnck_window_set_fullscreen ()">wnck_window_set_fullscreen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-close" title="wnck_window_close ()">wnck_window_close</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="returnvalue">WnckWorkspace</span></a> *
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-workspace" title="wnck_window_get_workspace ()">wnck_window_get_workspace</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-on-workspace" title="wnck_window_is_on_workspace ()">wnck_window_is_on_workspace</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-visible-on-workspace" title="wnck_window_is_visible_on_workspace ()">wnck_window_is_visible_on_workspace</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-move-to-workspace" title="wnck_window_move_to_workspace ()">wnck_window_move_to_workspace</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-in-viewport" title="wnck_window_is_in_viewport ()">wnck_window_is_in_viewport</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-activate" title="wnck_window_activate ()">wnck_window_activate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-active" title="wnck_window_is_active ()">wnck_window_is_active</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-is-most-recently-activated" title="wnck_window_is_most_recently_activated ()">wnck_window_is_most_recently_activated</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-activate-transient" title="wnck_window_activate_transient ()">wnck_window_activate_transient</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-transient-is-most-recently-activated" title="wnck_window_transient_is_most_recently_activated ()">wnck_window_transient_is_most_recently_activated</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-icon-geometry" title="wnck_window_set_icon_geometry ()">wnck_window_set_icon_geometry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-client-window-geometry" title="wnck_window_get_client_window_geometry ()">wnck_window_get_client_window_geometry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-get-geometry" title="wnck_window_get_geometry ()">wnck_window_get_geometry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-set-geometry" title="wnck_window_set_geometry ()">wnck_window_set_geometry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-keyboard-move" title="wnck_window_keyboard_move ()">wnck_window_keyboard_move</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WnckWindow.html#wnck-window-keyboard-size" title="wnck_window_keyboard_size ()">wnck_window_keyboard_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="WnckWindow.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-actions-changed" title="The “actions-changed” signal">actions-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-class-changed" title="The “class-changed” signal">class-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-geometry-changed" title="The “geometry-changed” signal">geometry-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-icon-changed" title="The “icon-changed” signal">icon-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-name-changed" title="The “name-changed” signal">name-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-role-changed" title="The “role-changed” signal">role-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal">state-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-type-changed" title="The “type-changed” signal">type-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="WnckWindow.html#WnckWindow-workspace-changed" title="The “workspace-changed” signal">workspace-changed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="WnckWindow.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="WnckWindow.html#WnckWindow-struct" title="WnckWindow">WnckWindow</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="WnckWindow.html#WnckWindowType" title="enum WnckWindowType">WnckWindowType</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="WnckWindow.html#WnckWindowState" title="enum WnckWindowState">WnckWindowState</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="WnckWindow.html#WnckWindowActions" title="enum WnckWindowActions">WnckWindowActions</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="WnckWindow.html#WnckWindowGravity" title="enum WnckWindowGravity">WnckWindowGravity</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="WnckWindow.html#WnckWindowMoveResizeMask" title="enum WnckWindowMoveResizeMask">WnckWindowMoveResizeMask</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="WnckWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> WnckWindow
</pre>
</div>
<div class="refsect1">
<a name="WnckWindow.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;libwnck/libwnck.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="WnckWindow.description"></a><h2>Description</h2>
<p>The <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> objects are always owned by libwnck and must not be
referenced or unreferenced.</p>
</div>
<div class="refsect1">
<a name="WnckWindow.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="wnck-window-get"></a><h3>wnck_window_get ()</h3>
<pre class="programlisting"><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="returnvalue">WnckWindow</span></a> *
wnck_window_get (<em class="parameter"><code><span class="type">gulong</span> xwindow</code></em>);</pre>
<p>Gets a preexisting <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> for the X window <em class="parameter"><code>xwindow</code></em>
. This will not
create a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> if none exists. The function is robust against bogus
window IDs.</p>
<div class="refsect3">
<a name="wnck-window-get.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>xwindow</p></td>
<td class="parameter_description"><p>an X window ID.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> for <em class="parameter"><code>xwindow</code></em>
. The returned
<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> is owned by libwnck and must not be referenced or unreferenced. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-screen"></a><h3>wnck_window_get_screen ()</h3>
<pre class="programlisting"><a class="link" href="WnckScreen.html" title="WnckScreen"><span class="returnvalue">WnckScreen</span></a> *
wnck_window_get_screen (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> <em class="parameter"><code>window</code></em>
 is on.</p>
<div class="refsect3">
<a name="wnck-window-get-screen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-screen.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> <em class="parameter"><code>window</code></em>
is on. The returned
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> is owned by libwnck and must not be referenced or unreferenced. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-has-name"></a><h3>wnck_window_has_name ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_has_name (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Checks whether or not <em class="parameter"><code>window</code></em>
 has a name. <a class="link" href="WnckWindow.html#wnck-window-get-name" title="wnck_window_get_name ()"><code class="function">wnck_window_get_name()</code></a>
will always return some value, even if <em class="parameter"><code>window</code></em>
 has no name set;
<a class="link" href="WnckWindow.html#wnck-window-has-name" title="wnck_window_has_name ()"><code class="function">wnck_window_has_name()</code></a> can be used to tell if that name is
real or not.</p>
<p>For icons titles, use <a class="link" href="WnckWindow.html#wnck-window-has-icon-name" title="wnck_window_has_icon_name ()"><code class="function">wnck_window_has_icon_name()</code></a> instead.</p>
<div class="refsect3">
<a name="wnck-window-has-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-has-name.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <a class="link" href="WnckWindow.html#wnck-window-get-name" title="wnck_window_get_name ()"><code class="function">wnck_window_get_name()</code></a> returns <em class="parameter"><code>window</code></em>
's
name, <code class="literal">FALSE</code> if it returns a fallback name.</p>
</div>
<p class="since">Since: 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-name"></a><h3>wnck_window_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
wnck_window_get_name (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the name of <em class="parameter"><code>window</code></em>
, as it should be displayed in a pager
or tasklist. Always returns some value, even if <em class="parameter"><code>window</code></em>
 has no name
set; use <a class="link" href="WnckWindow.html#wnck-window-has-name" title="wnck_window_has_name ()"><code class="function">wnck_window_has_name()</code></a> if you need to know whether the returned
name is "real" or not.</p>
<p>For icons titles, use <a class="link" href="WnckWindow.html#wnck-window-get-icon-name" title="wnck_window_get_icon_name ()"><code class="function">wnck_window_get_icon_name()</code></a> instead.</p>
<div class="refsect3">
<a name="wnck-window-get-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-name.returns"></a><h4>Returns</h4>
<p> the name of <em class="parameter"><code>window</code></em>
, or a fallback name if no name is
available.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-has-icon-name"></a><h3>wnck_window_has_icon_name ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_has_icon_name (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Checks whether or not <em class="parameter"><code>window</code></em>
 has an icon name.
<a class="link" href="WnckWindow.html#wnck-window-get-icon-name" title="wnck_window_get_icon_name ()"><code class="function">wnck_window_get_icon_name()</code></a> will always return some value, even if
<em class="parameter"><code>window</code></em>
 has no icon name set; <a class="link" href="WnckWindow.html#wnck-window-has-icon-name" title="wnck_window_has_icon_name ()"><code class="function">wnck_window_has_icon_name()</code></a> can
be used to tell if that icon name is real or not.</p>
<p>(Note that if <a class="link" href="WnckWindow.html#wnck-window-has-icon-name" title="wnck_window_has_icon_name ()"><code class="function">wnck_window_has_icon_name()</code></a> returns <code class="literal">FALSE</code>, but
<a class="link" href="WnckWindow.html#wnck-window-has-name" title="wnck_window_has_name ()"><code class="function">wnck_window_has_name()</code></a> returns <code class="literal">TRUE</code>, then the name returned by
<a class="link" href="WnckWindow.html#wnck-window-get-icon-name" title="wnck_window_get_icon_name ()"><code class="function">wnck_window_get_icon_name()</code></a> is <em class="parameter"><code>window</code></em>
's name. Only when both
methods return <code class="literal">FALSE</code> does <a class="link" href="WnckWindow.html#wnck-window-get-icon-name" title="wnck_window_get_icon_name ()"><code class="function">wnck_window_get_icon_name()</code></a> return a
generic fallback name.)</p>
<div class="refsect3">
<a name="wnck-window-has-icon-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-has-icon-name.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <a class="link" href="WnckWindow.html#wnck-window-get-icon-name" title="wnck_window_get_icon_name ()"><code class="function">wnck_window_get_icon_name()</code></a> returns
<em class="parameter"><code>window</code></em>
's icon name, <code class="literal">FALSE</code> if it returns a fallback name.</p>
</div>
<p class="since">Since: 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-icon-name"></a><h3>wnck_window_get_icon_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
wnck_window_get_icon_name (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the icon name of <em class="parameter"><code>window</code></em>
, as it should be displayed for an icon
(minimized state). Always returns some value, even if <em class="parameter"><code>window</code></em>
 has no icon
name set; use <a class="link" href="WnckWindow.html#wnck-window-has-icon-name" title="wnck_window_has_icon_name ()"><code class="function">wnck_window_has_icon_name()</code></a> if you need to know whether the
returned icon name is "real" or not.</p>
<p>Contrast with <a class="link" href="WnckWindow.html#wnck-window-get-name" title="wnck_window_get_name ()"><code class="function">wnck_window_get_name()</code></a>, which returns <em class="parameter"><code>window</code></em>
's
title, not its icon title.</p>
<div class="refsect3">
<a name="wnck-window-get-icon-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-icon-name.returns"></a><h4>Returns</h4>
<p> the icon name of <em class="parameter"><code>window</code></em>
, or a fallback icon name if no icon
name is available.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-icon-is-fallback"></a><h3>wnck_window_get_icon_is_fallback ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_get_icon_is_fallback (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether a default fallback icon is used for <em class="parameter"><code>window</code></em>
 (because none
was set on <em class="parameter"><code>window</code></em>
).</p>
<div class="refsect3">
<a name="wnck-window-get-icon-is-fallback.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-icon-is-fallback.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the icon for <em class="parameter"><code>window</code></em>
is a fallback, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-icon"></a><h3>wnck_window_get_icon ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
wnck_window_get_icon (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the icon to be used for <em class="parameter"><code>window</code></em>
. If no icon was found, a fallback
icon is used. <a class="link" href="WnckWindow.html#wnck-window-get-icon-is-fallback" title="wnck_window_get_icon_is_fallback ()"><code class="function">wnck_window_get_icon_is_fallback()</code></a> can be used to tell if the
icon is the fallback icon.</p>
<div class="refsect3">
<a name="wnck-window-get-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-icon.returns"></a><h4>Returns</h4>
<p> the icon for <em class="parameter"><code>window</code></em>
. The caller should
reference the returned <code class="classname">GdkPixbuf</code> if it needs to keep
the icon around. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-mini-icon"></a><h3>wnck_window_get_mini_icon ()</h3>
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
wnck_window_get_mini_icon (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the mini-icon to be used for <em class="parameter"><code>window</code></em>
. If no mini-icon was found, a
fallback mini-icon is used. <a class="link" href="WnckWindow.html#wnck-window-get-icon-is-fallback" title="wnck_window_get_icon_is_fallback ()"><code class="function">wnck_window_get_icon_is_fallback()</code></a> can be used
to tell if the mini-icon is the fallback mini-icon.</p>
<div class="refsect3">
<a name="wnck-window-get-mini-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-mini-icon.returns"></a><h4>Returns</h4>
<p> the mini-icon for <em class="parameter"><code>window</code></em>
. The caller should
reference the returned <code class="classname">GdkPixbuf</code> if it needs to keep
the icon around. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-application"></a><h3>wnck_window_get_application ()</h3>
<pre class="programlisting"><a class="link" href="WnckApplication.html" title="WnckApplication"><span class="returnvalue">WnckApplication</span></a> *
wnck_window_get_application (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the <a class="link" href="WnckApplication.html" title="WnckApplication"><span class="type">WnckApplication</span></a> to which <em class="parameter"><code>window</code></em>
 belongs.</p>
<div class="refsect3">
<a name="wnck-window-get-application.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-application.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="WnckApplication.html" title="WnckApplication"><span class="type">WnckApplication</span></a> to which <em class="parameter"><code>window</code></em>
belongs.
The returned <a class="link" href="WnckApplication.html" title="WnckApplication"><span class="type">WnckApplication</span></a> is owned by libwnck and must not be referenced
or unreferenced. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-transient"></a><h3>wnck_window_get_transient ()</h3>
<pre class="programlisting"><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="returnvalue">WnckWindow</span></a> *
wnck_window_get_transient (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> for which <em class="parameter"><code>window</code></em>
 is transient.</p>
<div class="refsect3">
<a name="wnck-window-get-transient.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-transient.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> for which <em class="parameter"><code>window</code></em>
is
transient, or <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
is not transient for any <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.
The returned <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> is owned by libwnck and must not be referenced or
unreferenced. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-group-leader"></a><h3>wnck_window_get_group_leader ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
wnck_window_get_group_leader (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the group leader of the group of windows to which <em class="parameter"><code>window</code></em>
 belongs.</p>
<div class="refsect3">
<a name="wnck-window-get-group-leader.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-group-leader.returns"></a><h4>Returns</h4>
<p> the group leader of the group of windows to which <em class="parameter"><code>window</code></em>
belongs, or the X window ID of <em class="parameter"><code>window</code></em>
if <em class="parameter"><code>window</code></em>
does not belong to any
group.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-xid"></a><h3>wnck_window_get_xid ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
wnck_window_get_xid (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the X window ID of <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-get-xid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-xid.returns"></a><h4>Returns</h4>
<p> the X window ID of <em class="parameter"><code>window</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-class-group"></a><h3>wnck_window_get_class_group ()</h3>
<pre class="programlisting"><a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="returnvalue">WnckClassGroup</span></a> *
wnck_window_get_class_group (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the <a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="type">WnckClassGroup</span></a> to which <em class="parameter"><code>window</code></em>
 belongs.</p>
<div class="refsect3">
<a name="wnck-window-get-class-group.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-class-group.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="type">WnckClassGroup</span></a> to which <em class="parameter"><code>window</code></em>
belongs.
The returned <a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="type">WnckClassGroup</span></a> is owned by libwnck and must not be referenced
or unreferenced. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.2</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-class-group-name"></a><h3>wnck_window_get_class_group_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
wnck_window_get_class_group_name (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the class group name from the <a class="ulink" href="http://tronche.com/gui/x/icccm/sec-4.html#WM_CLASS" target="_top">WM_CLASS Property</a>
for <em class="parameter"><code>window</code></em>
.</p>
<p>The class group name is also the identifier name of the <a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="type">WnckClassGroup</span></a> to
which <em class="parameter"><code>window</code></em>
 belongs.</p>
<div class="refsect3">
<a name="wnck-window-get-class-group-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-class-group-name.returns"></a><h4>Returns</h4>
<p> the class group name for <em class="parameter"><code>window</code></em>
, or <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
belongs
to no class group.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-class-instance-name"></a><h3>wnck_window_get_class_instance_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
wnck_window_get_class_instance_name (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the class instance name from the <a class="ulink" href="http://tronche.com/gui/x/icccm/sec-4.html#WM_CLASS" target="_top">WM_CLASS Property</a>
for <em class="parameter"><code>window</code></em>
.</p>
<p>The class instance name allows to differentiate windows belonging to the
same class group, so that they can use different resources.</p>
<div class="refsect3">
<a name="wnck-window-get-class-instance-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-class-instance-name.returns"></a><h4>Returns</h4>
<p> the class instance name for <em class="parameter"><code>window</code></em>
, or <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
has
no class instance.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-session-id"></a><h3>wnck_window_get_session_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
wnck_window_get_session_id (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the session ID for <em class="parameter"><code>window</code></em>
 in Latin-1 encoding.
NOTE: this is invalid UTF-8. You can't display this
string in a GTK+ widget without converting to UTF-8.
See <a class="link" href="WnckWindow.html#wnck-window-get-session-id-utf8" title="wnck_window_get_session_id_utf8 ()"><code class="function">wnck_window_get_session_id_utf8()</code></a>.</p>
<div class="refsect3">
<a name="wnck-window-get-session-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-session-id.returns"></a><h4>Returns</h4>
<p> the session ID for <em class="parameter"><code>window</code></em>
in Latin-1, or <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
has
no session ID.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-session-id-utf8"></a><h3>wnck_window_get_session_id_utf8 ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
wnck_window_get_session_id_utf8 (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the session ID for <em class="parameter"><code>window</code></em>
 in UTF-8 encoding.
The session ID should be in Latin-1 encoding, so the conversion should work,
but a broken client could set a session ID that might not be convertable to
UTF-8.</p>
<div class="refsect3">
<a name="wnck-window-get-session-id-utf8.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-session-id-utf8.returns"></a><h4>Returns</h4>
<p> the session ID for <em class="parameter"><code>window</code></em>
in UTF-8, or <code class="literal">NULL</code> if <em class="parameter"><code>window</code></em>
has
no session ID.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-pid"></a><h3>wnck_window_get_pid ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
wnck_window_get_pid (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the process ID of <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-get-pid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-pid.returns"></a><h4>Returns</h4>
<p> the process ID of <em class="parameter"><code>window</code></em>
, or 0 if none is available.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-sort-order"></a><h3>wnck_window_get_sort_order ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
wnck_window_get_sort_order (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the sort order of <em class="parameter"><code>window</code></em>
, used for ordering of <em class="parameter"><code>window</code></em>
 in
<a class="link" href="WnckSelector.html" title="WnckSelector"><span class="type">WnckSelector</span></a> and <a class="link" href="WnckTasklist.html" title="WnckTasklist"><span class="type">WnckTasklist</span></a>. The sort order is an internal state in
libwnck. The initial value is defined when the window is created.</p>
<div class="refsect3">
<a name="wnck-window-get-sort-order.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-sort-order.returns"></a><h4>Returns</h4>
<p> the sort order of <em class="parameter"><code>window</code></em>
, or G_MAXINT if none is available.</p>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-sort-order"></a><h3>wnck_window_set_sort_order ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_sort_order (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                            <em class="parameter"><code><span class="type">gint</span> order</code></em>);</pre>
<p>Sets the sort order of <em class="parameter"><code>window</code></em>
. The sort order is used for ordering of
<em class="parameter"><code>window</code></em>
 in <a class="link" href="WnckSelector.html" title="WnckSelector"><span class="type">WnckSelector</span></a> and <a class="link" href="WnckTasklist.html" title="WnckTasklist"><span class="type">WnckTasklist</span></a>.</p>
<div class="refsect3">
<a name="wnck-window-set-sort-order.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>order</p></td>
<td class="parameter_description"><p>new sort order for <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-window-type"></a><h3>wnck_window_get_window_type ()</h3>
<pre class="programlisting"><a class="link" href="WnckWindow.html#WnckWindowType" title="enum WnckWindowType"><span class="returnvalue">WnckWindowType</span></a>
wnck_window_get_window_type (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the semantic type of <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-get-window-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-window-type.returns"></a><h4>Returns</h4>
<p> the semantic type of <em class="parameter"><code>window</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-window-type"></a><h3>wnck_window_set_window_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_window_type (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                             <em class="parameter"><code><a class="link" href="WnckWindow.html#WnckWindowType" title="enum WnckWindowType"><span class="type">WnckWindowType</span></a> wintype</code></em>);</pre>
<p>Sets the semantic type of <em class="parameter"><code>window</code></em>
 to <em class="parameter"><code>wintype</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-set-window-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>wintype</p></td>
<td class="parameter_description"><p>a semantic type.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-state"></a><h3>wnck_window_get_state ()</h3>
<pre class="programlisting"><a class="link" href="WnckWindow.html#WnckWindowState" title="enum WnckWindowState"><span class="returnvalue">WnckWindowState</span></a>
wnck_window_get_state (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the state of <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-get-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-state.returns"></a><h4>Returns</h4>
<p> bitmask of active states for <em class="parameter"><code>window</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-minimized"></a><h3>wnck_window_is_minimized ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_minimized (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is minimized. Minimization state may change anytime
a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-minimized.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-minimized.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is minimized, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-maximized-horizontally"></a><h3>wnck_window_is_maximized_horizontally ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_maximized_horizontally (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is maximized horizontally. Horizontal maximization
state may change anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-maximized-horizontally.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-maximized-horizontally.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is maximized horizontally, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-maximized-vertically"></a><h3>wnck_window_is_maximized_vertically ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_maximized_vertically (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is maximized vertically. vertiVal maximization
state may change anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-maximized-vertically.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-maximized-vertically.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is maximized vertically, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-maximized"></a><h3>wnck_window_is_maximized ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_maximized (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is maximized. Maximization state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<p>As for GDK, "maximized" means both vertically and horizontally. If <em class="parameter"><code>window</code></em>

is maximized in only one direction, then <em class="parameter"><code>window</code></em>
 is not considered
maximized.</p>
<div class="refsect3">
<a name="wnck-window-is-maximized.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-maximized.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is maximized in both directions, <code class="literal">FALSE</code>
otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-shaded"></a><h3>wnck_window_is_shaded ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_shaded (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is shaded. Shade state may change anytime
a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-shaded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-shaded.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is shaded, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-pinned"></a><h3>wnck_window_is_pinned ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_pinned (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is on all workspace. Pinned state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-workspace-changed" title="The “workspace-changed” signal"><span class="type">“workspace-changed”</span></a> signal gets emitted, but not when
a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-pinned.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-pinned.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is on all workspaces, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-sticky"></a><h3>wnck_window_is_sticky ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_sticky (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is sticky. Sticky state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<p>Sticky here means "stuck to the glass", i.e. does not scroll with the
viewport. In GDK/GTK+ (e.g. <code class="function">gdk_window_stick()</code>/<code class="function">gtk_window_stick()</code>), sticky
means "stuck to the glass" and <span class="emphasis"><em>also</em></span> that the window is
on all workspaces. But here it only means the viewport aspect of it.</p>
<div class="refsect3">
<a name="wnck-window-is-sticky.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-sticky.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is "stuck to the glass", <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-above"></a><h3>wnck_window_is_above ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_above (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is above other windows. This state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<p>See <a class="link" href="WnckWindow.html#wnck-window-make-above" title="wnck_window_make_above ()"><code class="function">wnck_window_make_above()</code></a> for more details on this state.</p>
<div class="refsect3">
<a name="wnck-window-is-above.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-above.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is above other windows, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-below"></a><h3>wnck_window_is_below ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_below (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is below other windows. This state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<p>See <a class="link" href="WnckWindow.html#wnck-window-make-below" title="wnck_window_make_below ()"><code class="function">wnck_window_make_below()</code></a> for more details on this state.</p>
<div class="refsect3">
<a name="wnck-window-is-below.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-below.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is below other windows, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-skip-pager"></a><h3>wnck_window_is_skip_pager ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_skip_pager (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is included on pagers. This state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-skip-pager.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-skip-pager.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is included on pagers, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-skip-tasklist"></a><h3>wnck_window_is_skip_tasklist ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_skip_tasklist (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is included on tasklists. This state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-skip-tasklist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-skip-tasklist.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is included on tasklists, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-fullscreen"></a><h3>wnck_window_is_fullscreen ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_fullscreen (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is fullscreen. Fullscreen state may change
anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-is-fullscreen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-fullscreen.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is fullscreen, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-needs-attention"></a><h3>wnck_window_needs_attention ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_needs_attention (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 needs attention. This state may change anytime
a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<p>This state depends on flags such as the demands_attention and is_urgent
hints.</p>
<div class="refsect3">
<a name="wnck-window-needs-attention.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-needs-attention.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
needs attention, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-or-transient-needs-attention"></a><h3>wnck_window_or_transient_needs_attention ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_or_transient_needs_attention
                               (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 or one of its transients needs attention. This state
may change anytime a <a class="link" href="WnckWindow.html#WnckWindow-state-changed" title="The “state-changed” signal"><span class="type">“state-changed”</span></a> signal gets emitted.</p>
<div class="refsect3">
<a name="wnck-window-or-transient-needs-attention.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-or-transient-needs-attention.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
or one of its transients needs attention,
<code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-actions"></a><h3>wnck_window_get_actions ()</h3>
<pre class="programlisting"><a class="link" href="WnckWindow.html#WnckWindowActions" title="enum WnckWindowActions"><span class="returnvalue">WnckWindowActions</span></a>
wnck_window_get_actions (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the actions that can be done for <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-get-actions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-actions.returns"></a><h4>Returns</h4>
<p> bitmask of actions that can be done for <em class="parameter"><code>window</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-minimize"></a><h3>wnck_window_minimize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_minimize (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Minimizes <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-minimize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unminimize"></a><h3>wnck_window_unminimize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unminimize (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                        <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
<p>Unminimizes <em class="parameter"><code>window</code></em>
 by activating it or one of its transients. See
<a class="link" href="WnckWindow.html#wnck-window-activate-transient" title="wnck_window_activate_transient ()"><code class="function">wnck_window_activate_transient()</code></a> for details on how the activation is done.</p>
<div class="refsect3">
<a name="wnck-window-unminimize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the X server timestamp of the user interaction event that caused
this call to occur.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-maximize-horizontally"></a><h3>wnck_window_maximize_horizontally ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_maximize_horizontally (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to maximize horizontally <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-maximize-horizontally.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unmaximize-horizontally"></a><h3>wnck_window_unmaximize_horizontally ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unmaximize_horizontally (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to unmaximize horizontally <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-unmaximize-horizontally.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-maximize-vertically"></a><h3>wnck_window_maximize_vertically ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_maximize_vertically (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to maximize vertically <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-maximize-vertically.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unmaximize-vertically"></a><h3>wnck_window_unmaximize_vertically ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unmaximize_vertically (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to unmaximize vertically <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-unmaximize-vertically.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-maximize"></a><h3>wnck_window_maximize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_maximize (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to maximize <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-maximize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unmaximize"></a><h3>wnck_window_unmaximize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unmaximize (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to unmaximize <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-unmaximize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-shade"></a><h3>wnck_window_shade ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_shade (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to shade <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-shade.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unshade"></a><h3>wnck_window_unshade ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unshade (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to unshade <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-unshade.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-pin"></a><h3>wnck_window_pin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_pin (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to put <em class="parameter"><code>window</code></em>
 on all workspaces.</p>
<div class="refsect3">
<a name="wnck-window-pin.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unpin"></a><h3>wnck_window_unpin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unpin (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to put <em class="parameter"><code>window</code></em>
 only in the currently active
workspace, if <em class="parameter"><code>window</code></em>
 was previously pinned. If <em class="parameter"><code>window</code></em>
 was not pinned,
does not change <em class="parameter"><code>window</code></em>
's workspace. If the active workspace
is not known for some reason (it should not happen much), sets
<em class="parameter"><code>window</code></em>
's workspace to the first workspace.</p>
<div class="refsect3">
<a name="wnck-window-unpin.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-stick"></a><h3>wnck_window_stick ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_stick (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to keep the <em class="parameter"><code>window</code></em>
's position fixed on the
screen, even when the workspace or viewport scrolls.</p>
<div class="refsect3">
<a name="wnck-window-stick.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unstick"></a><h3>wnck_window_unstick ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unstick (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to not have <em class="parameter"><code>window</code></em>
's position fixed on the
screen when the workspace or viewport scrolls.</p>
<div class="refsect3">
<a name="wnck-window-unstick.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-make-above"></a><h3>wnck_window_make_above ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_make_above (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to put <em class="parameter"><code>window</code></em>
 on top of most windows (<em class="parameter"><code>window</code></em>
 will
not be on top of focused fullscreen windows, of other windows with this
setting and of dock windows).</p>
<div class="refsect3">
<a name="wnck-window-make-above.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unmake-above"></a><h3>wnck_window_unmake_above ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unmake_above (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to not put <em class="parameter"><code>window</code></em>
 on top of most windows, and to
put it again in the stack with other windows.</p>
<div class="refsect3">
<a name="wnck-window-unmake-above.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-make-below"></a><h3>wnck_window_make_below ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_make_below (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to put <em class="parameter"><code>window</code></em>
 below most windows.</p>
<div class="refsect3">
<a name="wnck-window-make-below.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-unmake-below"></a><h3>wnck_window_unmake_below ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_unmake_below (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to not put <em class="parameter"><code>window</code></em>
 below most windows, and to
put it again in the stack with other windows.</p>
<div class="refsect3">
<a name="wnck-window-unmake-below.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-skip-pager"></a><h3>wnck_window_set_skip_pager ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_skip_pager (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                            <em class="parameter"><code><span class="type">gboolean</span> skip</code></em>);</pre>
<p>Asks the window manager to make <em class="parameter"><code>window</code></em>
 included or not included on pagers.</p>
<div class="refsect3">
<a name="wnck-window-set-skip-pager.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>skip</p></td>
<td class="parameter_description"><p>whether <em class="parameter"><code>window</code></em>
should be included on pagers.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-skip-tasklist"></a><h3>wnck_window_set_skip_tasklist ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_skip_tasklist (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                               <em class="parameter"><code><span class="type">gboolean</span> skip</code></em>);</pre>
<p>Asks the window manager to make <em class="parameter"><code>window</code></em>
 included or not included on
tasklists.</p>
<div class="refsect3">
<a name="wnck-window-set-skip-tasklist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>skip</p></td>
<td class="parameter_description"><p>whether <em class="parameter"><code>window</code></em>
should be included on tasklists.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-fullscreen"></a><h3>wnck_window_set_fullscreen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_fullscreen (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                            <em class="parameter"><code><span class="type">gboolean</span> fullscreen</code></em>);</pre>
<p>Asks the window manager to set the fullscreen state of <em class="parameter"><code>window</code></em>
 according to
<em class="parameter"><code>fullscreen</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-set-fullscreen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fullscreen</p></td>
<td class="parameter_description"><p>whether to make <em class="parameter"><code>window</code></em>
fullscreen.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-close"></a><h3>wnck_window_close ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_close (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                   <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
<p>Closes <em class="parameter"><code>window</code></em>
.</p>
<p>This function existed before 2.6, but the <em class="parameter"><code>timestamp</code></em>
 argument was missing
in earlier versions.</p>
<div class="refsect3">
<a name="wnck-window-close.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the X server timestamp of the user interaction event that caused
this call to occur.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-workspace"></a><h3>wnck_window_get_workspace ()</h3>
<pre class="programlisting"><a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="returnvalue">WnckWorkspace</span></a> *
wnck_window_get_workspace (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets the current workspace <em class="parameter"><code>window</code></em>
 is on. If the window is pinned (on all
workspaces), or not on any workspaces, <code class="literal">NULL</code> may be returned.</p>
<div class="refsect3">
<a name="wnck-window-get-workspace.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-get-workspace.returns"></a><h4>Returns</h4>
<p> the single current workspace <em class="parameter"><code>window</code></em>
is on, or
<code class="literal">NULL</code>. The returned <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> is owned by libwnck and must not be
referenced or unreferenced. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-on-workspace"></a><h3>wnck_window_is_on_workspace ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_on_workspace (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                             <em class="parameter"><code><a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> *workspace</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 appears on <em class="parameter"><code>workspace</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-is-on-workspace.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-on-workspace.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
appears on <em class="parameter"><code>workspace</code></em>
, <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-visible-on-workspace"></a><h3>wnck_window_is_visible_on_workspace ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_visible_on_workspace (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                                     <em class="parameter"><code><a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> *workspace</code></em>);</pre>
<p>Like <a class="link" href="WnckWindow.html#wnck-window-is-on-workspace" title="wnck_window_is_on_workspace ()"><code class="function">wnck_window_is_on_workspace()</code></a>, but also checks that
the window is in a visible state (i.e. not minimized or shaded).</p>
<div class="refsect3">
<a name="wnck-window-is-visible-on-workspace.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-visible-on-workspace.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
appears on <em class="parameter"><code>workspace</code></em>
in normal state, <code class="literal">FALSE</code>
otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-move-to-workspace"></a><h3>wnck_window_move_to_workspace ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_move_to_workspace (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                               <em class="parameter"><code><a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> *space</code></em>);</pre>
<p>Asks the window manager to move <em class="parameter"><code>window</code></em>
 to <em class="parameter"><code>space</code></em>
. If <em class="parameter"><code>window</code></em>
 was pinned, it
will also result in <em class="parameter"><code>window</code></em>
 being visible only on <em class="parameter"><code>space</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-move-to-workspace.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>space</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-in-viewport"></a><h3>wnck_window_is_in_viewport ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_in_viewport (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                            <em class="parameter"><code><a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> *workspace</code></em>);</pre>
<p>Gets <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
 appears in the current viewport of <em class="parameter"><code>workspace</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-is-in-viewport.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-in-viewport.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
appears in current viewport of <em class="parameter"><code>workspace</code></em>
,
<code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-activate"></a><h3>wnck_window_activate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_activate (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                      <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
<p>Asks the window manager to make <em class="parameter"><code>window</code></em>
 the active window. The
window manager may choose to raise <em class="parameter"><code>window</code></em>
 along with focusing it, and may
decide to refuse the request (to not steal the focus if there is a more
recent user activity, for example).</p>
<p>This function existed before 2.10, but the <em class="parameter"><code>timestamp</code></em>
 argument was missing
in earlier versions.</p>
<div class="refsect3">
<a name="wnck-window-activate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the X server timestamp of the user interaction event that caused
this call to occur.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-active"></a><h3>wnck_window_is_active ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_active (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is the active window on its <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a>.</p>
<div class="refsect3">
<a name="wnck-window-is-active.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-active.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
is the active window on its <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a>,
<code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-is-most-recently-activated"></a><h3>wnck_window_is_most_recently_activated ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_is_most_recently_activated
                               (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether <em class="parameter"><code>window</code></em>
 is the most recently activated window on its
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a>.</p>
<p>The most recently activated window is identical to the active
window for click and sloppy focus methods (since a window is always
active in those cases) but differs slightly for mouse focus since
there often is no active window.</p>
<div class="refsect3">
<a name="wnck-window-is-most-recently-activated.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-is-most-recently-activated.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>window</code></em>
was the most recently activated window on its
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a>, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-activate-transient"></a><h3>wnck_window_activate_transient ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_activate_transient (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                                <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
<p>If <em class="parameter"><code>window</code></em>
 has transients, activates the most likely transient
instead of the window itself. Otherwise activates <em class="parameter"><code>window</code></em>
.</p>
<p>FIXME the ideal behavior of this function is probably to activate
the most recently active window among <em class="parameter"><code>window</code></em>
 and its transients.
This is probably best implemented on the window manager side.</p>
<p>This function existed before 2.10, but the <em class="parameter"><code>timestamp</code></em>
 argument was missing
in earlier versions.</p>
<div class="refsect3">
<a name="wnck-window-activate-transient.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the X server timestamp of the user interaction event that caused
this call to occur.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.10</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-transient-is-most-recently-activated"></a><h3>wnck_window_transient_is_most_recently_activated ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
wnck_window_transient_is_most_recently_activated
                               (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Gets whether one of the transients of <em class="parameter"><code>window</code></em>
 is the most
recently activated window. See
<a class="link" href="WnckWindow.html#wnck-window-is-most-recently-activated" title="wnck_window_is_most_recently_activated ()"><code class="function">wnck_window_is_most_recently_activated()</code></a> for a more complete
description of what is meant by most recently activated.  This
function is needed because clicking on a <a class="link" href="WnckTasklist.html" title="WnckTasklist"><span class="type">WnckTasklist</span></a> once will
activate a transient instead of <em class="parameter"><code>window</code></em>
 itself
(wnck_window_activate_transient), and clicking again should
minimize <em class="parameter"><code>window</code></em>
 and its transients.  (Not doing this can be
especially annoying in the case of modal dialogs that don't appear
in the <a class="link" href="WnckTasklist.html" title="WnckTasklist"><span class="type">WnckTasklist</span></a>).</p>
<div class="refsect3">
<a name="wnck-window-transient-is-most-recently-activated.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="wnck-window-transient-is-most-recently-activated.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if one of the transients of <em class="parameter"><code>window</code></em>
is the most recently
activated window, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-icon-geometry"></a><h3>wnck_window_set_icon_geometry ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_icon_geometry (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                               <em class="parameter"><code><span class="type">int</span> x</code></em>,
                               <em class="parameter"><code><span class="type">int</span> y</code></em>,
                               <em class="parameter"><code><span class="type">int</span> width</code></em>,
                               <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
<p>Sets the icon geometry for <em class="parameter"><code>window</code></em>
. A typical use case for this is the
destination of the minimization animation of <em class="parameter"><code>window</code></em>
.</p>
<div class="refsect3">
<a name="wnck-window-set-icon-geometry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>X coordinate in pixels.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>Y coordinate in pixels.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>width in pixels.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>height in pixels.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-client-window-geometry"></a><h3>wnck_window_get_client_window_geometry ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_get_client_window_geometry
                               (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                                <em class="parameter"><code><span class="type">int</span> *xp</code></em>,
                                <em class="parameter"><code><span class="type">int</span> *yp</code></em>,
                                <em class="parameter"><code><span class="type">int</span> *widthp</code></em>,
                                <em class="parameter"><code><span class="type">int</span> *heightp</code></em>);</pre>
<p>Gets the size and position of <em class="parameter"><code>window</code></em>
, as last received
in a ConfigureNotify event (i.e. this call does not round-trip
to the server, just gets the last size we were notified of).
The X and Y coordinates are relative to the root window.</p>
<p>The window manager usually adds a frame around windows. If
you need to know the size of <em class="parameter"><code>window</code></em>
 with the frame, use
<a class="link" href="WnckWindow.html#wnck-window-get-geometry" title="wnck_window_get_geometry ()"><code class="function">wnck_window_get_geometry()</code></a>.</p>
<div class="refsect3">
<a name="wnck-window-get-client-window-geometry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>xp</p></td>
<td class="parameter_description"><p> return location for X coordinate in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>yp</p></td>
<td class="parameter_description"><p> return location for Y coordinate in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>widthp</p></td>
<td class="parameter_description"><p> return location for width in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>heightp</p></td>
<td class="parameter_description"><p> return location for height in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-get-geometry"></a><h3>wnck_window_get_geometry ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_get_geometry (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                          <em class="parameter"><code><span class="type">int</span> *xp</code></em>,
                          <em class="parameter"><code><span class="type">int</span> *yp</code></em>,
                          <em class="parameter"><code><span class="type">int</span> *widthp</code></em>,
                          <em class="parameter"><code><span class="type">int</span> *heightp</code></em>);</pre>
<p>Gets the size and position of <em class="parameter"><code>window</code></em>
, including decorations. This
function uses the information last received in a ConfigureNotify
event and adjusts it according to the size of the frame that is
added by the window manager (this call does not round-trip to the
server, it just gets the last sizes that were notified). The
X and Y coordinates are relative to the root window.</p>
<p>If you need to know the actual size of <em class="parameter"><code>window</code></em>
 ignoring the frame
added by the window manager, use <a class="link" href="WnckWindow.html#wnck-window-get-client-window-geometry" title="wnck_window_get_client_window_geometry ()"><code class="function">wnck_window_get_client_window_geometry()</code></a>.</p>
<div class="refsect3">
<a name="wnck-window-get-geometry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>xp</p></td>
<td class="parameter_description"><p> return location for X coordinate in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>yp</p></td>
<td class="parameter_description"><p> return location for Y coordinate in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>widthp</p></td>
<td class="parameter_description"><p> return location for width in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>heightp</p></td>
<td class="parameter_description"><p> return location for height in pixels of <em class="parameter"><code>window</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-set-geometry"></a><h3>wnck_window_set_geometry ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_set_geometry (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>,
                          <em class="parameter"><code><a class="link" href="WnckWindow.html#WnckWindowGravity" title="enum WnckWindowGravity"><span class="type">WnckWindowGravity</span></a> gravity</code></em>,
                          <em class="parameter"><code><a class="link" href="WnckWindow.html#WnckWindowMoveResizeMask" title="enum WnckWindowMoveResizeMask"><span class="type">WnckWindowMoveResizeMask</span></a> geometry_mask</code></em>,
                          <em class="parameter"><code><span class="type">int</span> x</code></em>,
                          <em class="parameter"><code><span class="type">int</span> y</code></em>,
                          <em class="parameter"><code><span class="type">int</span> width</code></em>,
                          <em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
<p>Sets the size and position of <em class="parameter"><code>window</code></em>
. The X and Y coordinates should be
relative to the root window.</p>
<p>Note that the new size and position apply to <em class="parameter"><code>window</code></em>
 with its frame added
by the window manager. Therefore, using <a class="link" href="WnckWindow.html#wnck-window-set-geometry" title="wnck_window_set_geometry ()"><code class="function">wnck_window_set_geometry()</code></a> with
the values returned by <a class="link" href="WnckWindow.html#wnck-window-get-geometry" title="wnck_window_get_geometry ()"><code class="function">wnck_window_get_geometry()</code></a> should be a no-op, while
using <a class="link" href="WnckWindow.html#wnck-window-set-geometry" title="wnck_window_set_geometry ()"><code class="function">wnck_window_set_geometry()</code></a> with the values returned by
<a class="link" href="WnckWindow.html#wnck-window-get-client-window-geometry" title="wnck_window_get_client_window_geometry ()"><code class="function">wnck_window_get_client_window_geometry()</code></a> should reduce the size of <em class="parameter"><code>window</code></em>

and move it.</p>
<div class="refsect3">
<a name="wnck-window-set-geometry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>gravity</p></td>
<td class="parameter_description"><p>the gravity point to use as a reference for the new position.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>geometry_mask</p></td>
<td class="parameter_description"><p>a bitmask containing flags for what should be set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>new X coordinate in pixels of <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>new Y coordinate in pixels of <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>new width in pixels of <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>new height in pixels of <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-keyboard-move"></a><h3>wnck_window_keyboard_move ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_keyboard_move (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to start moving <em class="parameter"><code>window</code></em>
 via the keyboard.</p>
<div class="refsect3">
<a name="wnck-window-keyboard-move.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-window-keyboard-size"></a><h3>wnck_window_keyboard_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
wnck_window_keyboard_size (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>Asks the window manager to start resizing <em class="parameter"><code>window</code></em>
 via the keyboard.</p>
<div class="refsect3">
<a name="wnck-window-keyboard-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="WnckWindow.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="WnckWindow-struct"></a><h3>WnckWindow</h3>
<pre class="programlisting">typedef struct _WnckWindow WnckWindow;</pre>
<p>The <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> struct contains only private fields and should not be
directly accessed.</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindowType"></a><h3>enum WnckWindowType</h3>
<p>Type describing the semantic type of a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p>
<div class="refsect3">
<a name="WnckWindowType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-NORMAL:CAPS"></a>WNCK_WINDOW_NORMAL</p></td>
<td class="enum_member_description">
<p>the window is a normal window.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-DESKTOP:CAPS"></a>WNCK_WINDOW_DESKTOP</p></td>
<td class="enum_member_description">
<p>the window is a desktop.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-DOCK:CAPS"></a>WNCK_WINDOW_DOCK</p></td>
<td class="enum_member_description">
<p>the window is a dock or a panel.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-DIALOG:CAPS"></a>WNCK_WINDOW_DIALOG</p></td>
<td class="enum_member_description">
<p>the window is a dialog window.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-TOOLBAR:CAPS"></a>WNCK_WINDOW_TOOLBAR</p></td>
<td class="enum_member_description">
<p>the window is a tearoff toolbar.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-MENU:CAPS"></a>WNCK_WINDOW_MENU</p></td>
<td class="enum_member_description">
<p>the window is a tearoff menu.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-UTILITY:CAPS"></a>WNCK_WINDOW_UTILITY</p></td>
<td class="enum_member_description">
<p>the window is a small persistent utility window, such
as a palette or toolbox.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-SPLASHSCREEN:CAPS"></a>WNCK_WINDOW_SPLASHSCREEN</p></td>
<td class="enum_member_description">
<p>the window is a splash screen displayed as an
application is starting up.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindowState"></a><h3>enum WnckWindowState</h3>
<p>Type used as a bitmask to describe the state of a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p>
<div class="refsect3">
<a name="WnckWindowState.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-MINIMIZED:CAPS"></a>WNCK_WINDOW_STATE_MINIMIZED</p></td>
<td class="enum_member_description">
<p>the window is minimized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-MAXIMIZED-HORIZONTALLY:CAPS"></a>WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY</p></td>
<td class="enum_member_description">
<p>the window is horizontically
maximized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-MAXIMIZED-VERTICALLY:CAPS"></a>WNCK_WINDOW_STATE_MAXIMIZED_VERTICALLY</p></td>
<td class="enum_member_description">
<p>the window is vertically maximized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-SHADED:CAPS"></a>WNCK_WINDOW_STATE_SHADED</p></td>
<td class="enum_member_description">
<p>the window is shaded.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-SKIP-PAGER:CAPS"></a>WNCK_WINDOW_STATE_SKIP_PAGER</p></td>
<td class="enum_member_description">
<p>the window should not be included on pagers.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-SKIP-TASKLIST:CAPS"></a>WNCK_WINDOW_STATE_SKIP_TASKLIST</p></td>
<td class="enum_member_description">
<p>the window should not be included on
tasklists.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-STICKY:CAPS"></a>WNCK_WINDOW_STATE_STICKY</p></td>
<td class="enum_member_description">
<p>the window is sticky (see
<a class="link" href="WnckWindow.html#wnck-window-is-sticky" title="wnck_window_is_sticky ()"><code class="function">wnck_window_is_sticky()</code></a>).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-HIDDEN:CAPS"></a>WNCK_WINDOW_STATE_HIDDEN</p></td>
<td class="enum_member_description">
<p>the window is not visible on its <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>
and viewport (when minimized, for example).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-FULLSCREEN:CAPS"></a>WNCK_WINDOW_STATE_FULLSCREEN</p></td>
<td class="enum_member_description">
<p>the window is fullscreen.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-DEMANDS-ATTENTION:CAPS"></a>WNCK_WINDOW_STATE_DEMANDS_ATTENTION</p></td>
<td class="enum_member_description">
<p>the window needs attention (because
the window requested activation but the window manager refused it, for
example).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-URGENT:CAPS"></a>WNCK_WINDOW_STATE_URGENT</p></td>
<td class="enum_member_description">
<p>the window requires a response from the user.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-ABOVE:CAPS"></a>WNCK_WINDOW_STATE_ABOVE</p></td>
<td class="enum_member_description">
<p>the window is above other windows (see
<a class="link" href="WnckWindow.html#wnck-window-make-above" title="wnck_window_make_above ()"><code class="function">wnck_window_make_above()</code></a>).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-STATE-BELOW:CAPS"></a>WNCK_WINDOW_STATE_BELOW</p></td>
<td class="enum_member_description">
<p>the window is below other windows (see
<a class="link" href="WnckWindow.html#wnck-window-make-below" title="wnck_window_make_below ()"><code class="function">wnck_window_make_below()</code></a>).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindowActions"></a><h3>enum WnckWindowActions</h3>
<p>Type used as a bitmask to describe the actions that can be done for a
<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>.</p>
<div class="refsect3">
<a name="WnckWindowActions.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-MOVE:CAPS"></a>WNCK_WINDOW_ACTION_MOVE</p></td>
<td class="enum_member_description">
<p>the window may be moved around the screen. </p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-RESIZE:CAPS"></a>WNCK_WINDOW_ACTION_RESIZE</p></td>
<td class="enum_member_description">
<p>the window may be resized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-SHADE:CAPS"></a>WNCK_WINDOW_ACTION_SHADE</p></td>
<td class="enum_member_description">
<p>the window may be shaded.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-STICK:CAPS"></a>WNCK_WINDOW_ACTION_STICK</p></td>
<td class="enum_member_description">
<p>the window may be sticked.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-MAXIMIZE-HORIZONTALLY:CAPS"></a>WNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY</p></td>
<td class="enum_member_description">
<p>the window may be maximized
horizontally.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-MAXIMIZE-VERTICALLY:CAPS"></a>WNCK_WINDOW_ACTION_MAXIMIZE_VERTICALLY</p></td>
<td class="enum_member_description">
<p>the window may be maximized
vertically.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-CHANGE-WORKSPACE:CAPS"></a>WNCK_WINDOW_ACTION_CHANGE_WORKSPACE</p></td>
<td class="enum_member_description">
<p>the window may be moved between
workspaces, or (un)pinned.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-CLOSE:CAPS"></a>WNCK_WINDOW_ACTION_CLOSE</p></td>
<td class="enum_member_description">
<p>the window may be closed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-UNMAXIMIZE-HORIZONTALLY:CAPS"></a>WNCK_WINDOW_ACTION_UNMAXIMIZE_HORIZONTALLY</p></td>
<td class="enum_member_description">
<p>the window may be unmaximized
horizontally.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-UNMAXIMIZE-VERTICALLY:CAPS"></a>WNCK_WINDOW_ACTION_UNMAXIMIZE_VERTICALLY</p></td>
<td class="enum_member_description">
<p>the window may be maximized
vertically.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-UNSHADE:CAPS"></a>WNCK_WINDOW_ACTION_UNSHADE</p></td>
<td class="enum_member_description">
<p>the window may be unshaded.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-UNSTICK:CAPS"></a>WNCK_WINDOW_ACTION_UNSTICK</p></td>
<td class="enum_member_description">
<p>the window may be unsticked.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-MINIMIZE:CAPS"></a>WNCK_WINDOW_ACTION_MINIMIZE</p></td>
<td class="enum_member_description">
<p>the window may be minimized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-UNMINIMIZE:CAPS"></a>WNCK_WINDOW_ACTION_UNMINIMIZE</p></td>
<td class="enum_member_description">
<p>the window may be unminimized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-MAXIMIZE:CAPS"></a>WNCK_WINDOW_ACTION_MAXIMIZE</p></td>
<td class="enum_member_description">
<p>the window may be maximized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-UNMAXIMIZE:CAPS"></a>WNCK_WINDOW_ACTION_UNMAXIMIZE</p></td>
<td class="enum_member_description">
<p>the window may be unmaximized.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-FULLSCREEN:CAPS"></a>WNCK_WINDOW_ACTION_FULLSCREEN</p></td>
<td class="enum_member_description">
<p>the window may be brought to fullscreen.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-ABOVE:CAPS"></a>WNCK_WINDOW_ACTION_ABOVE</p></td>
<td class="enum_member_description">
<p>the window may be made above other windows.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-ACTION-BELOW:CAPS"></a>WNCK_WINDOW_ACTION_BELOW</p></td>
<td class="enum_member_description">
<p>the window may be made below other windows.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindowGravity"></a><h3>enum WnckWindowGravity</h3>
<p>Flag used when changing the geometry of a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>. This is the gravity
point to use as a reference for the new position.</p>
<div class="refsect3">
<a name="WnckWindowGravity.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-CURRENT:CAPS"></a>WNCK_WINDOW_GRAVITY_CURRENT</p></td>
<td class="enum_member_description">
<p>keep the current gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-NORTHWEST:CAPS"></a>WNCK_WINDOW_GRAVITY_NORTHWEST</p></td>
<td class="enum_member_description">
<p>use the left top corner of the frame window
as gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-NORTH:CAPS"></a>WNCK_WINDOW_GRAVITY_NORTH</p></td>
<td class="enum_member_description">
<p>use the center of the frame window's top side as
gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-NORTHEAST:CAPS"></a>WNCK_WINDOW_GRAVITY_NORTHEAST</p></td>
<td class="enum_member_description">
<p>use the right top corner of the frame window
as gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-WEST:CAPS"></a>WNCK_WINDOW_GRAVITY_WEST</p></td>
<td class="enum_member_description">
<p>use the center of the frame window's left side as
gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-CENTER:CAPS"></a>WNCK_WINDOW_GRAVITY_CENTER</p></td>
<td class="enum_member_description">
<p>use the center of the frame window as gravity
point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-EAST:CAPS"></a>WNCK_WINDOW_GRAVITY_EAST</p></td>
<td class="enum_member_description">
<p>use the center of the frame window's right side
as gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-SOUTHWEST:CAPS"></a>WNCK_WINDOW_GRAVITY_SOUTHWEST</p></td>
<td class="enum_member_description">
<p>use the left bottom corner of the frame
window as gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-SOUTH:CAPS"></a>WNCK_WINDOW_GRAVITY_SOUTH</p></td>
<td class="enum_member_description">
<p>use the center of the frame window's bottom side
as gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-SOUTHEAST:CAPS"></a>WNCK_WINDOW_GRAVITY_SOUTHEAST</p></td>
<td class="enum_member_description">
<p>use the right bottom corner of the frame
window as gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-GRAVITY-STATIC:CAPS"></a>WNCK_WINDOW_GRAVITY_STATIC</p></td>
<td class="enum_member_description">
<p>use the left top corner of the client window as
gravity point.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindowMoveResizeMask"></a><h3>enum WnckWindowMoveResizeMask</h3>
<p>Flag used as a bitmask when changing the geometry of a <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>. This
indicates which part of the geometry should be changed.</p>
<div class="refsect3">
<a name="WnckWindowMoveResizeMask.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-CHANGE-X:CAPS"></a>WNCK_WINDOW_CHANGE_X</p></td>
<td class="enum_member_description">
<p>X coordinate of the window should be changed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-CHANGE-Y:CAPS"></a>WNCK_WINDOW_CHANGE_Y</p></td>
<td class="enum_member_description">
<p>Y coordinate of the window should be changed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-CHANGE-WIDTH:CAPS"></a>WNCK_WINDOW_CHANGE_WIDTH</p></td>
<td class="enum_member_description">
<p>width of the window should be changed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WNCK-WINDOW-CHANGE-HEIGHT:CAPS"></a>WNCK_WINDOW_CHANGE_HEIGHT</p></td>
<td class="enum_member_description">
<p>height of the window should be changed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 2.16</p>
</div>
</div>
<div class="refsect1">
<a name="WnckWindow.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="WnckWindow-actions-changed"></a><h3>The <code class="literal">“actions-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>       *window,
               <a class="link" href="WnckWindow.html#WnckWindowActions" title="enum WnckWindowActions"><span class="type">WnckWindowActions</span></a> changed_mask,
               <a class="link" href="WnckWindow.html#WnckWindowActions" title="enum WnckWindowActions"><span class="type">WnckWindowActions</span></a> new_state,
               <span class="type">gpointer</span>          user_data)</pre>
<p>Emitted when the actions availabilities for <em class="parameter"><code>window</code></em>
 change.</p>
<div class="refsect3">
<a name="WnckWindow-actions-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changed_mask</p></td>
<td class="parameter_description"><p>the bitmask containing bits set for all actions
availabilities for <em class="parameter"><code>window</code></em>
that have changed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>new_state</p></td>
<td class="parameter_description"><p>the new actions availabilities for <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-class-changed"></a><h3>The <code class="literal">“class-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the class name or instance name of <em class="parameter"><code>window</code></em>
 changes.</p>
<div class="refsect3">
<a name="WnckWindow-class-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-geometry-changed"></a><h3>The <code class="literal">“geometry-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the geometry of <em class="parameter"><code>window</code></em>
 changes.</p>
<div class="refsect3">
<a name="WnckWindow-geometry-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-icon-changed"></a><h3>The <code class="literal">“icon-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the icon of <em class="parameter"><code>window</code></em>
 changes.</p>
<div class="refsect3">
<a name="WnckWindow-icon-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-name-changed"></a><h3>The <code class="literal">“name-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the name of <em class="parameter"><code>window</code></em>
 changes.</p>
<div class="refsect3">
<a name="WnckWindow-name-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-role-changed"></a><h3>The <code class="literal">“role-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the role of <em class="parameter"><code>window</code></em>
 changes.</p>
<div class="refsect3">
<a name="WnckWindow-role-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-state-changed"></a><h3>The <code class="literal">“state-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>     *window,
               <a class="link" href="WnckWindow.html#WnckWindowState" title="enum WnckWindowState"><span class="type">WnckWindowState</span></a> changed_mask,
               <a class="link" href="WnckWindow.html#WnckWindowState" title="enum WnckWindowState"><span class="type">WnckWindowState</span></a> new_state,
               <span class="type">gpointer</span>        user_data)</pre>
<p>Emitted when the state of <em class="parameter"><code>window</code></em>
 changes. This can happen when <em class="parameter"><code>window</code></em>
 is
(un)minimized, (un)maximized, (un)sticked, (un)shaded, (un)made above,
(un)made below, (un)set fullscreen, when it needs attention, etc. See
<a class="link" href="WnckWindow.html#WnckWindowState" title="enum WnckWindowState"><span class="type">WnckWindowState</span></a> for the complete list of states that might have changed.</p>
<div class="refsect3">
<a name="WnckWindow-state-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changed_mask</p></td>
<td class="parameter_description"><p>the bitmask containing bits set for all states of <em class="parameter"><code>window</code></em>
that have changed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>new_state</p></td>
<td class="parameter_description"><p>the new state of <em class="parameter"><code>window</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-type-changed"></a><h3>The <code class="literal">“type-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the EWMH type hint of the window changes.</p>
<div class="refsect3">
<a name="WnckWindow-type-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
<p class="since">Since: 3.20</p>
</div>
<hr>
<div class="refsect2">
<a name="WnckWindow-workspace-changed"></a><h3>The <code class="literal">“workspace-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window,
               <span class="type">gpointer</span>    user_data)</pre>
<p>Emitted when the current workspace of <em class="parameter"><code>window</code></em>
 changes, or if <em class="parameter"><code>window</code></em>
 has
been pinned or unpinned.</p>
<div class="refsect3">
<a name="WnckWindow-workspace-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p>the <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> which emitted the signal.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
</div>
<div class="refsect1">
<a name="WnckWindow.see-also"></a><h2>See Also</h2>
<p><a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>, <a class="link" href="WnckApplication.html" title="WnckApplication"><span class="type">WnckApplication</span></a>, <a class="link" href="WnckClassGroup.html" title="WnckClassGroup"><span class="type">WnckClassGroup</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>