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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
|
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<!--ENTITY index-Objects-Grouped SYSTEM "objects_grouped.sgml"-->
<refentry id="GtkCheckItem">
<refmeta>
<refentrytitle role="top_of_page" id="GtkCheckItem.top_of_page">GtkCheckItem</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTKEXTRA Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkCheckItem</refname>
<refpurpose>Check item widget for Gtk</refpurpose>
</refnamediv>
<refsect1 id="GtkCheckItem.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> *
</entry><entry role="function_name"><link linkend="gtk-check-item-new">gtk_check_item_new</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> *
</entry><entry role="function_name"><link linkend="gtk-check-item-new-with-label">gtk_check_item_new_with_label</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-check-item-construct-with-label">gtk_check_item_construct_with_label</link> <phrase role="c_punctuation">()</phrase></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkCheckItem.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="name" colwidth="150px"/>
<colspec colname="description"/>
<tbody>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkCheckItem-struct">GtkCheckItem</link></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkCheckItem.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen> <link linkend="GObject">GObject</link>
<phrase role="lineart">╰──</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
<phrase role="lineart">╰──</phrase> <link linkend="GtkObject">GtkObject</link>
<phrase role="lineart">╰──</phrase> <link linkend="GtkWidget">GtkWidget</link>
<phrase role="lineart">╰──</phrase> <link linkend="GtkContainer">GtkContainer</link>
<phrase role="lineart">╰──</phrase> <link linkend="GtkBin">GtkBin</link>
<phrase role="lineart">╰──</phrase> <link linkend="GtkButton">GtkButton</link>
<phrase role="lineart">╰──</phrase> <link linkend="GtkToggleButton">GtkToggleButton</link>
<phrase role="lineart">╰──</phrase> GtkCheckItem
</screen>
</refsect1>
<refsect1 id="GtkCheckItem.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkCheckItem implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>, <link linkend="GtkBuildable">GtkBuildable</link> and <link linkend="GtkActivatable">GtkActivatable</link>.</para>
</refsect1>
<refsect1 id="GtkCheckItem.includes"><title>Includes</title><synopsis>#include <gtkextra.h>
</synopsis></refsect1>
<refsect1 id="GtkCheckItem.description" role="desc">
<title role="desc.title">Description</title>
<para>It is a GtkCheckButton hack with the look and feel of the Redmond95 theme.</para>
</refsect1>
<refsect1 id="GtkCheckItem.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-check-item-new" role="function">
<title>gtk_check_item_new ()</title>
<indexterm zone="gtk-check-item-new"><primary>gtk_check_item_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> *
gtk_check_item_new (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="gtk-check-item-new-with-label" role="function">
<title>gtk_check_item_new_with_label ()</title>
<indexterm zone="gtk-check-item-new-with-label"><primary>gtk_check_item_new_with_label</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link> *
gtk_check_item_new_with_label (<parameter>const <link linkend="gchar"><type>gchar</type></link> *label</parameter>);</programlisting>
<para>Create a <link linkend="GtkCheckItem"><type>GtkCheckItem</type></link> widget with a specified label.</para>
<refsect3 id="gtk-check-item-new-with-label.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>label</para></entry>
<entry role="parameter_description"><para>text near the check item</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-check-item-new-with-label.returns" role="returns">
<title>Returns</title>
<para> the newly-created <link linkend="GtkCheckItem"><type>GtkCheckItem</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-check-item-construct-with-label" role="function">
<title>gtk_check_item_construct_with_label ()</title>
<indexterm zone="gtk-check-item-construct-with-label"><primary>gtk_check_item_construct_with_label</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_check_item_construct_with_label (<parameter><link linkend="GtkCheckItem"><type>GtkCheckItem</type></link> *check_item</parameter>,
<parameter>const <link linkend="gchar"><type>gchar</type></link> *label</parameter>);</programlisting>
<para>Initialize a <link linkend="GtkCheckItem"><type>GtkCheckItem</type></link> widget with a specified label.</para>
<refsect3 id="gtk-check-item-construct-with-label.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>check_item</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkCheckItem"><type>GtkCheckItem</type></link> widget</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>label</para></entry>
<entry role="parameter_description"><para>text near the check item</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
</refsect1>
<refsect1 id="GtkCheckItem.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkCheckItem-struct" role="struct">
<title>struct GtkCheckItem</title>
<indexterm zone="GtkCheckItem-struct"><primary>GtkCheckItem</primary></indexterm>
<programlisting language="C">struct GtkCheckItem;</programlisting>
<para>The GtkCheckItem struct contains only private data.
It should only be accessed through the functions described below.</para>
</refsect2>
</refsect1>
</refentry>
|