1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="WnckSelector">
<refmeta>
<refentrytitle role="top_of_page" id="WnckSelector.top_of_page">WnckSelector</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBWNCK Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>WnckSelector</refname>
<refpurpose>a window selector widget, showing the list of windows as
a menu.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsect1 id="WnckSelector.stability-level">
<title>Stability Level</title>
Unstable, unless otherwise indicated
</refsect1>
<refsynopsisdiv id="WnckSelector.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
#include <libwnck/libwnck.h>
<link linkend="WnckSelector-struct">WnckSelector</link>;
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="wnck-selector-new">wnck_selector_new</link> (void);
</synopsis>
</refsynopsisdiv>
<refsect1 id="WnckSelector.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
+----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
+----<link linkend="GtkObject">GtkObject</link>
+----<link linkend="GtkWidget">GtkWidget</link>
+----<link linkend="GtkContainer">GtkContainer</link>
+----<link linkend="GtkMenuShell">GtkMenuShell</link>
+----<link linkend="GtkMenuBar">GtkMenuBar</link>
+----WnckSelector
</synopsis>
</refsect1>
<refsect1 id="WnckSelector.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
WnckSelector implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link> and <link linkend="GtkBuildable">GtkBuildable</link>.</para>
</refsect1>
<refsect1 id="WnckSelector.description" role="desc">
<title role="desc.title">Description</title>
<para>
The <link linkend="WnckSelector"><type>WnckSelector</type></link> represents client windows on a screen as a menu, where
menu items are labelled with the window titles and icons. Activating a menu
item activates the represented window.
</para>
<para>
The <link linkend="WnckSelector"><type>WnckSelector</type></link> will automatically detect the screen it is on, and will
represent windows of this screen only.</para>
<para>
</para>
</refsect1>
<refsect1 id="WnckSelector.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="WnckSelector-struct" role="struct">
<title>WnckSelector</title>
<indexterm zone="WnckSelector-struct"><primary>WnckSelector</primary></indexterm><programlisting>typedef struct _WnckSelector WnckSelector;</programlisting>
<para>
The <link linkend="WnckSelector"><type>WnckSelector</type></link> struct contains only private fields and should not be
directly accessed.</para>
<para>
</para></refsect2>
<refsect2 id="wnck-selector-new" role="function" condition="since:2.10">
<title>wnck_selector_new ()</title>
<indexterm zone="wnck-selector-new" role="2.10"><primary>wnck_selector_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* wnck_selector_new (void);</programlisting>
<para>
Creates a new <link linkend="WnckSelector"><type>WnckSelector</type></link>. The <link linkend="WnckSelector"><type>WnckSelector</type></link> will list <link linkend="WnckWindow"><type>WnckWindow</type></link> of the
<link linkend="WnckScreen"><type>WnckScreen</type></link> it is on.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a newly created <link linkend="WnckSelector"><type>WnckSelector</type></link>.
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since 2.10
</para></refsect2>
</refsect1>
<refsect1 id="WnckSelector.see-also">
<title>See Also</title>
<link linkend="WnckTasklist"><type>WnckTasklist</type></link>
</refsect1>
</refentry>
|