<?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" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-Object-inspection-functions">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-Object-inspection-functions.top_of_page">Object inspection functions</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CUTTER Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Object inspection functions</refname>
<refpurpose>Functions to inspect an object for
debugging.</refpurpose>
</refnamediv>

<refsect1 id="cutter-Object-inspection-functions.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="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-direct">gcut_inspect_direct</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="gcut-inspect-int">gcut_inspect_int</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="gcut-inspect-uint">gcut_inspect_uint</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="gcut-inspect-int64">gcut_inspect_int64</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="gcut-inspect-uint64">gcut_inspect_uint64</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="gcut-inspect-size">gcut_inspect_size</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="gcut-inspect-char">gcut_inspect_char</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="gcut-inspect-string">gcut_inspect_string</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="gcut-inspect-type">gcut_inspect_type</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="gcut-inspect-flags">gcut_inspect_flags</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="gcut-inspect-enum">gcut_inspect_enum</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="gcut-inspect-pointer">gcut_inspect_pointer</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="gcut-inspect-boolean">gcut_inspect_boolean</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="gcut-inspect-double">gcut_inspect_double</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>


<refsect1 id="cutter-Object-inspection-functions.description" role="desc">
<title role="desc.title">Description</title>
<para>In test result, we need to know detail of inspected
objects for debugging. Functions of this section help us
to inspect interested objects.</para>

</refsect1>
<refsect1 id="cutter-Object-inspection-functions.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gcut-inspect-direct" role="function" condition="since:1.0.6">
<title>gcut_inspect_direct&#160;()</title>
<indexterm zone="gcut-inspect-direct" role="1.0.6"><primary>gcut_inspect_direct</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_direct (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as unsigned integer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_direct(string, GUINT_TO_POINTER(100), NULL) -> "100"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-direct.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-int" role="function" condition="since:1.0.6">
<title>gcut_inspect_int&#160;()</title>
<indexterm zone="gcut-inspect-int" role="1.0.6"><primary>gcut_inspect_int</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_int (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                  <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                  <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as integer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gint int_value = 100;
gcut_inspect_int(string, &int_value, NULL) -> "100"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-int.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-uint" role="function" condition="since:1.0.6">
<title>gcut_inspect_uint&#160;()</title>
<indexterm zone="gcut-inspect-uint" role="1.0.6"><primary>gcut_inspect_uint</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_uint (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as unsigned integer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
guint uint_value = 100;
gcut_inspect_uint(string, &uint_value, NULL) -> "100"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-uint.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-int64" role="function" condition="since:1.1.3">
<title>gcut_inspect_int64&#160;()</title>
<indexterm zone="gcut-inspect-int64" role="1.1.3"><primary>gcut_inspect_int64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_int64 (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                    <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                    <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as 64-bit integer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gint64 int64_value = 100;
gcut_inspect_int64(string, &int64_value, NULL) -> "100"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-int64.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>
<refsect2 id="gcut-inspect-uint64" role="function" condition="since:1.1.3">
<title>gcut_inspect_uint64&#160;()</title>
<indexterm zone="gcut-inspect-uint64" role="1.1.3"><primary>gcut_inspect_uint64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_uint64 (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as 64-bit unsigned integer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
guint64 uint64_value = 100;
gcut_inspect_uint64(string, &uint64_value, NULL) -> "100"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-uint64.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>
<refsect2 id="gcut-inspect-size" role="function" condition="since:1.1.3">
<title>gcut_inspect_size&#160;()</title>
<indexterm zone="gcut-inspect-size" role="1.1.3"><primary>gcut_inspect_size</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_size (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as unsigned integer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gsize size_value = 100;
gcut_inspect_size(string, &size_value, NULL) -> "100"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-size.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>
<refsect2 id="gcut-inspect-char" role="function" condition="since:1.1.3">
<title>gcut_inspect_char&#160;()</title>
<indexterm zone="gcut-inspect-char" role="1.1.3"><primary>gcut_inspect_char</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_char (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as character.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_char(string, 'C', NULL) -> "'C'"
gcut_inspect_char(string, '\0', NULL) -> "'\0'"
gcut_inspect_char(string, '\n', NULL) -> "'\n'"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-char.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>
<refsect2 id="gcut-inspect-string" role="function" condition="since:1.0.6">
<title>gcut_inspect_string&#160;()</title>
<indexterm zone="gcut-inspect-string" role="1.0.6"><primary>gcut_inspect_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_string (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as string. It also accepts <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_string(string, "string", NULL) -> "\"string\""
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-string.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-type" role="function" condition="since:1.0.6">
<title>gcut_inspect_type&#160;()</title>
<indexterm zone="gcut-inspect-type" role="1.0.6"><primary>gcut_inspect_type</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_type (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as <link linkend="GType"><literal>GType</literal></link>.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_type(string, GTK_TYPE_WINDOW, NULL) -> "<GtkWindow>"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-type.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-flags" role="function" condition="since:1.0.6">
<title>gcut_inspect_flags&#160;()</title>
<indexterm zone="gcut-inspect-flags" role="1.0.6"><primary>gcut_inspect_flags</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_flags (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                    <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                    <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as value a GFlags type.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
GType flags_type;
GtkWidgetFlags flags;

flags_type = GTK_TYPE_WIDGET_FLAGS;
flags = GTK_TOPLEVEL | GTK_VISIBLE;
gcut_inspect_flags(string, &flags, &flags_type);
-> #<GtkWidgetFlags: toplevel|visible (GTK_TOPLEVEL:0x10)|(GTK_VISIBLE:0x100)>
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-flags.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the pointer of GFlags type.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-enum" role="function" condition="since:1.0.6">
<title>gcut_inspect_enum&#160;()</title>
<indexterm zone="gcut-inspect-enum" role="1.0.6"><primary>gcut_inspect_enum</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_enum (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as value of a GEnum type.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
GType enum_type;
GtkWidgetHelpType value;

enum_type = GTK_TYPE_WIDGET_HELP_TYPE;
value = GTK_WIDGET_HELP_TOOLTIP;
gcut_inspect_enum(string, &value, &enum_type);
-> #<GtkWidgetHelpType: tooltip(GTK_WIDGET_HELP_TOOLTIP:0)>
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-enum.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the pointer of GEnum type.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-pointer" role="function" condition="since:1.0.6">
<title>gcut_inspect_pointer&#160;()</title>
<indexterm zone="gcut-inspect-pointer" role="1.0.6"><primary>gcut_inspect_pointer</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_pointer (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                      <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                      <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as a pointer.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
memory = malloc(1);
gcut_inspect_pointer(string, memory, NULL) -> "#<0xXXXXXXX>"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-pointer.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.0.6">1.0.6</link></para></refsect2>
<refsect2 id="gcut-inspect-boolean" role="function" condition="since:1.1.3">
<title>gcut_inspect_boolean&#160;()</title>
<indexterm zone="gcut-inspect-boolean" role="1.1.3"><primary>gcut_inspect_boolean</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_boolean (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                      <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                      <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as boolean.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gboolean boolean_value;

boolean_value = TRUE;
gcut_inspect_boolean(string, &boolean_value, NULL) -> "TRUE"
boolean_value = FALSE;
gcut_inspect_boolean(string, &boolean_value, NULL) -> "FALSE"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-boolean.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>
<refsect2 id="gcut-inspect-double" role="function" condition="since:1.1.3">
<title>gcut_inspect_double&#160;()</title>
<indexterm zone="gcut-inspect-double" role="1.1.3"><primary>gcut_inspect_double</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_double (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>Shows <parameter>data</parameter>
 as double floating point number.</para>
<para>e.g.:</para>
<informalexample><programlisting><![CDATA[
gdouble double_value = 2.9;
gcut_inspect_double(string, &double_value, NULL) -> "2.9"
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gcut-inspect-double.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 output string.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>the interested target.</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>the data passed by user. (ignored)</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">Since: <link linkend="api-index-1.1.3">1.1.3</link></para></refsect2>

</refsect1>
<refsect1 id="cutter-Object-inspection-functions.other_details" role="details">
<title role="details.title">Types and Values</title>

</refsect1>

</refentry>
