<?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 pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkAccelLabel">
<refmeta>
<refentrytitle role="top_of_page" id="GtkAccelLabel.top_of_page">GtkAccelLabel</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkAccelLabel</refname>
<refpurpose>A label which displays an accelerator key on the right of the text</refpurpose>
</refnamediv>

<refsect1 id="GtkAccelLabel.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-accel-label-new">gtk_accel_label_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="guint"><returnvalue>guint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-accel-label-get-accel-width">gtk_accel_label_get_accel_width</link>&#160;<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-accel-label-set-accel">gtk_accel_label_set_accel</link>&#160;<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-accel-label-get-accel">gtk_accel_label_get_accel</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-accel-label-refetch">gtk_accel_label_refetch</link>&#160;<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-accel-label-set-label">gtk_accel_label_set_label</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-accel-label-get-label">gtk_accel_label_get_label</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-accel-label-get-use-underline">gtk_accel_label_get_use_underline</link>&#160;<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-accel-label-set-use-underline">gtk_accel_label_set_use_underline</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkAccelLabel.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="gchar"><type>gchar</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkAccelLabel--label">label</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkAccelLabel--use-underline">use-underline</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkAccelLabel.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GtkAccelLabel-struct">GtkAccelLabel</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkAccelLabel.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkAccelLabel
</screen>
</refsect1>
<refsect1 id="GtkAccelLabel.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkAccelLabel implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link>.</para>

</refsect1>

<refsect1 id="GtkAccelLabel.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkAccelLabel.description" role="desc">
<title role="desc.title">Description</title>
<para>The <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> is a widget that shows an accelerator next to a description
of said accelerator, e.g. “Save Document Ctrl+S”.
It is commonly used in menus to show the keyboard short-cuts for commands.</para>
<para>The accelerator key to display is typically not set explicitly (although it
can be, with <link linkend="gtk-accel-label-set-accel"><function>gtk_accel_label_set_accel()</function></link>). Instead, the <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> displays
the accelerators which have been added to a particular widget. This widget is
set by calling <link linkend="gtk-accel-label-set-accel-widget"><function>gtk_accel_label_set_accel_widget()</function></link>.</para>
<para>For example, a menu item may have an accelerator added to emit
the “activate” signal when the “Ctrl+S” key combination is pressed.
A <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> is created and added to the menu item widget, and
<link linkend="gtk-accel-label-set-accel-widget"><function>gtk_accel_label_set_accel_widget()</function></link> is called with the item as the
second argument. The <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> will now display “Ctrl+S” after its label.</para>
<para>Note that accel labels are typically set up automatically when menus
are created.</para>
<para>A <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> will only display accelerators which have <link linkend="GTK-ACCEL-VISIBLE:CAPS"><literal>GTK_ACCEL_VISIBLE</literal></link>
set (see <link linkend="GtkAccelFlags"><type>GtkAccelFlags</type></link>).
A <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> can display multiple accelerators and even signal names,
though it is almost always used to display just one accelerator key.</para>
<refsect2><title>CSS nodes</title><informalexample><programlisting role="example"><![CDATA[
accellabel
  ├── label
  ╰── accelerator
]]></programlisting></informalexample>
<para></para>
<para><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> has a main CSS node with the name accellabel.
It contains the two child nodes with name label and accelerator.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkAccelLabel.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-accel-label-new" role="function">
<title>gtk_accel_label_new&#160;()</title>
<indexterm zone="gtk-accel-label-new"><primary>gtk_accel_label_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_accel_label_new (<parameter>const <link linkend="gchar"><type>gchar</type></link> *string</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link>.</para>
<refsect3 id="gtk-accel-label-new.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>string</para></entry>
<entry role="parameter_description"><para>the label string. Must be non-<link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-accel-label-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-get-accel-width" role="function">
<title>gtk_accel_label_get_accel_width&#160;()</title>
<indexterm zone="gtk-accel-label-get-accel-width"><primary>gtk_accel_label_get_accel_width</primary></indexterm>
<programlisting language="C"><link linkend="guint"><returnvalue>guint</returnvalue></link>
gtk_accel_label_get_accel_width (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>);</programlisting>
<para>Returns the width needed to display the accelerator key(s).
This is used by menus to align all of the menu item widgets,
and shouldn't be needed by applications.</para>
<refsect3 id="gtk-accel-label-get-accel-width.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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-accel-label-get-accel-width.returns" role="returns">
<title>Returns</title>
<para> the width needed to display the accelerator key(s).</para>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-set-accel" role="function">
<title>gtk_accel_label_set_accel&#160;()</title>
<indexterm zone="gtk-accel-label-set-accel"><primary>gtk_accel_label_set_accel</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_accel_label_set_accel (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>,
                           <parameter><link linkend="guint"><type>guint</type></link> accelerator_key</parameter>,
                           <parameter><link linkend="GdkModifierType"><type>GdkModifierType</type></link> accelerator_mods</parameter>);</programlisting>
<para>Manually sets a keyval and modifier mask as the accelerator rendered
by <parameter>accel_label</parameter>
.</para>
<para>If a keyval and modifier are explicitly set then these values are
used regardless of any associated accel closure or widget.</para>
<para>Providing an <parameter>accelerator_key</parameter>
 of 0 removes the manual setting.</para>
<refsect3 id="gtk-accel-label-set-accel.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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>accelerator_key</para></entry>
<entry role="parameter_description"><para>a keyval, or 0</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>accelerator_mods</para></entry>
<entry role="parameter_description"><para>the modifier mask for the accel</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-get-accel" role="function">
<title>gtk_accel_label_get_accel&#160;()</title>
<indexterm zone="gtk-accel-label-get-accel"><primary>gtk_accel_label_get_accel</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_accel_label_get_accel (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>,
                           <parameter><link linkend="guint"><type>guint</type></link> *accelerator_key</parameter>,
                           <parameter><link linkend="GdkModifierType"><type>GdkModifierType</type></link> *accelerator_mods</parameter>);</programlisting>
<para>Gets the keyval and modifier mask set with
<link linkend="gtk-accel-label-set-accel"><function>gtk_accel_label_set_accel()</function></link>.</para>
<refsect3 id="gtk-accel-label-get-accel.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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>accelerator_key</para></entry>
<entry role="parameter_description"><para>return location for the keyval. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>accelerator_mods</para></entry>
<entry role="parameter_description"><para>return location for the modifier mask. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>out</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-refetch" role="function">
<title>gtk_accel_label_refetch&#160;()</title>
<indexterm zone="gtk-accel-label-refetch"><primary>gtk_accel_label_refetch</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_accel_label_refetch (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>);</programlisting>
<para>Recreates the string representing the accelerator keys.
This should not be needed since the string is automatically updated whenever
accelerators are added or removed from the associated widget.</para>
<refsect3 id="gtk-accel-label-refetch.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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link>.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-accel-label-refetch.returns" role="returns">
<title>Returns</title>
<para> always returns <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-set-label" role="function">
<title>gtk_accel_label_set_label&#160;()</title>
<indexterm zone="gtk-accel-label-set-label"><primary>gtk_accel_label_set_label</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_accel_label_set_label (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>,
                           <parameter>const <link linkend="char"><type>char</type></link> *text</parameter>);</programlisting>
<para>Sets the label part of the accel label.</para>
<refsect3 id="gtk-accel-label-set-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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>text</para></entry>
<entry role="parameter_description"><para>The new label text</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-get-label" role="function">
<title>gtk_accel_label_get_label&#160;()</title>
<indexterm zone="gtk-accel-label-get-label"><primary>gtk_accel_label_get_label</primary></indexterm>
<programlisting language="C">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
gtk_accel_label_get_label (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>);</programlisting>
<para>Returns the current label, set via <link linkend="gtk-accel-label-set-label"><function>gtk_accel_label_set_label()</function></link></para>
<refsect3 id="gtk-accel-label-get-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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-accel-label-get-label.returns" role="returns">
<title>Returns</title>
<para><parameter>accel_label</parameter>
's label. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-get-use-underline" role="function">
<title>gtk_accel_label_get_use_underline&#160;()</title>
<indexterm zone="gtk-accel-label-get-use-underline"><primary>gtk_accel_label_get_use_underline</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_accel_label_get_use_underline (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>);</programlisting>
<para>Returns whether the accel label interprets underscores in it's
label property as mnemonic indicators.
See <link linkend="gtk-accel-label-set-use-underline"><function>gtk_accel_label_set_use_underline()</function></link> and <link linkend="gtk-label-set-use-underline"><function>gtk_label_set_use_underline()</function></link>;</para>
<refsect3 id="gtk-accel-label-get-use-underline.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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-accel-label-get-use-underline.returns" role="returns">
<title>Returns</title>
<para> whether the accel label uses mnemonic underlines</para>
</refsect3></refsect2>
<refsect2 id="gtk-accel-label-set-use-underline" role="function">
<title>gtk_accel_label_set_use_underline&#160;()</title>
<indexterm zone="gtk-accel-label-set-use-underline"><primary>gtk_accel_label_set_use_underline</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_accel_label_set_use_underline (<parameter><link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link> *accel_label</parameter>,
                                   <parameter><link linkend="gboolean"><type>gboolean</type></link> setting</parameter>);</programlisting>
<para>Controls whether to interpret underscores in the text label of <parameter>accel_label</parameter>

as mnemonic indicators. See also <link linkend="gtk-label-set-use-underline"><function>gtk_label_set_use_underline()</function></link></para>
<refsect3 id="gtk-accel-label-set-use-underline.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>accel_label</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkAccelLabel"><type>GtkAccelLabel</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>setting</para></entry>
<entry role="parameter_description"><para>Whether to use underlines in the label or not</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkAccelLabel.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkAccelLabel-struct" role="struct">
<title>GtkAccelLabel</title>
<indexterm zone="GtkAccelLabel-struct"><primary>GtkAccelLabel</primary></indexterm>
<programlisting language="C">typedef struct _GtkAccelLabel GtkAccelLabel;</programlisting>
</refsect2>

</refsect1>
<refsect1 id="GtkAccelLabel.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkAccelLabel--label" role="property"><title>The <literal>“label”</literal> property</title>
<indexterm zone="GtkAccelLabel--label"><primary>GtkAccelLabel:label</primary></indexterm>
<programlisting>  “label”                    <link linkend="gchar"><type>gchar</type></link>&#160;*</programlisting>
<para>The text displayed next to the accelerator.</para><para>Owner: GtkAccelLabel</para>
<para>Flags: Read / Write</para>
<para>Default value: ""</para>
</refsect2>
<refsect2 id="GtkAccelLabel--use-underline" role="property"><title>The <literal>“use-underline”</literal> property</title>
<indexterm zone="GtkAccelLabel--use-underline"><primary>GtkAccelLabel:use-underline</primary></indexterm>
<programlisting>  “use-underline”            <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.</para><para>Owner: GtkAccelLabel</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>

</refsect1>
<refsect1 id="GtkAccelLabel.see-also">
<title>See Also</title>
<para><link linkend="GtkAccelGroup"><type>GtkAccelGroup</type></link></para>

</refsect1>

</refentry>
