~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/xml/gtkiconfactory.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20090923095004-e9xauadn4bjs5n7m
Tags: upstream-2.18.0
ImportĀ upstreamĀ versionĀ 2.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
593
593
                                                         <link linkend="gint">gint</link> *height);</programlisting>
594
594
<para>
595
595
Obtains the pixel size of a semantic icon size, possibly
596
 
modified by user preferences for a particular 
 
596
modified by user preferences for a particular
597
597
<link linkend="GtkSettings"><type>GtkSettings</type></link>. Normally <parameter>size</parameter> would be
598
598
<link linkend="GTK-ICON-SIZE-MENU--CAPS"><type>GTK_ICON_SIZE_MENU</type></link>, <link linkend="GTK-ICON-SIZE-BUTTON--CAPS"><type>GTK_ICON_SIZE_BUTTON</type></link>, etc.  This function
599
599
isn't normally needed, <link linkend="gtk-widget-render-icon"><function>gtk_widget_render_icon()</function></link> is the usual
641
641
<listitem><simpara> the icon height
642
642
</simpara></listitem></varlistentry>
643
643
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> integer value representing the size
644
 
 
645
644
</simpara></listitem></varlistentry>
646
645
</variablelist></refsect2>
647
646
<refsect2 id="gtk-icon-size-register-alias" role="function">
678
677
<title>gtk_icon_size_get_name ()</title>
679
678
<indexterm zone="gtk-icon-size-get-name"><primary sortas="icon_size_get_name">gtk_icon_size_get_name</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>*        gtk_icon_size_get_name              (<link linkend="GtkIconSize">GtkIconSize</link> size);</programlisting>
680
679
<para>
681
 
Gets the canonical name of the given icon size. The returned string 
 
680
Gets the canonical name of the given icon size. The returned string
682
681
is statically allocated and should not be freed.</para>
683
682
<para>
684
683
</para><variablelist role="params">
713
712
<indexterm zone="gtk-icon-source-get-direction"><primary sortas="icon_source_get_direction">gtk_icon_source_get_direction</primary></indexterm><programlisting><link linkend="GtkTextDirection">GtkTextDirection</link>    gtk_icon_source_get_direction       (const <link linkend="GtkIconSource">GtkIconSource</link> *source);</programlisting>
714
713
<para>
715
714
Obtains the text direction this icon source applies to. The return
716
 
value is only useful/meaningful if the text direction is <emphasis>not</emphasis> 
 
715
value is only useful/meaningful if the text direction is <emphasis>not</emphasis>
717
716
wildcarded.</para>
718
717
<para>
719
718
</para><variablelist role="params">
861
860
on toolbar mode (small/large icons). So a single icon set would
862
861
contain all those variants of the icon. <link linkend="GtkIconSet"><type>GtkIconSet</type></link> contains a list
863
862
of <link linkend="GtkIconSource"><type>GtkIconSource</type></link> from which it can derive specific icon variants in
864
 
the set. 
 
863
the set.
865
864
</para>
866
865
<para>
867
866
In the simplest case, <link linkend="GtkIconSet"><type>GtkIconSet</type></link> contains one source pixbuf from