<?xml version="1.0"?>
<!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="PackageKit-pk-progress-bar">
<refmeta>
<refentrytitle role="top_of_page" id="PackageKit-pk-progress-bar.top_of_page">pk-progress-bar</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>PACKAGEKIT Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>pk-progress-bar</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="PackageKit-pk-progress-bar.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
typedef             <link linkend="PkProgressBarPrivate">PkProgressBarPrivate</link>;
<link linkend="PkProgressBar">PkProgressBar</link> *     <link linkend="pk-progress-bar-new">pk_progress_bar_new</link>                 (void);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-progress-bar-set-size">pk_progress_bar_set_size</link>            (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         <link linkend="guint">guint</link> size);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-progress-bar-set-padding">pk_progress_bar_set_padding</link>         (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         <link linkend="guint">guint</link> padding);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-progress-bar-set-percentage">pk_progress_bar_set_percentage</link>      (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         <link linkend="gint">gint</link> percentage);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-progress-bar-start">pk_progress_bar_start</link>               (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         const <link linkend="gchar">gchar</link> *text);
<link linkend="gboolean">gboolean</link>            <link linkend="pk-progress-bar-end">pk_progress_bar_end</link>                 (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar);
</synopsis>
</refsynopsisdiv>









<refsect1 id="PackageKit-pk-progress-bar.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="PackageKit-pk-progress-bar.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="PkProgressBarPrivate" role="typedef">
<title>PkProgressBarPrivate</title>
<indexterm zone="PkProgressBarPrivate"><primary sortas="PkProgressBarPrivate">PkProgressBarPrivate</primary></indexterm><programlisting>typedef struct PkProgressBarPrivate PkProgressBarPrivate;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="pk-progress-bar-new" role="function">
<title>pk_progress_bar_new ()</title>
<indexterm zone="pk-progress-bar-new"><primary sortas="pk_progress_bar_new">pk_progress_bar_new</primary></indexterm><programlisting><link linkend="PkProgressBar">PkProgressBar</link> *     pk_progress_bar_new                 (void);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> A new progress_bar class instance.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-progress-bar-set-size" role="function">
<title>pk_progress_bar_set_size ()</title>
<indexterm zone="pk-progress-bar-set-size"><primary sortas="pk_progress_bar_set_size">pk_progress_bar_set_size</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_progress_bar_set_size            (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         <link linkend="guint">guint</link> size);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>progress_bar</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-progress-bar-set-padding" role="function">
<title>pk_progress_bar_set_padding ()</title>
<indexterm zone="pk-progress-bar-set-padding"><primary sortas="pk_progress_bar_set_padding">pk_progress_bar_set_padding</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_progress_bar_set_padding         (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         <link linkend="guint">guint</link> padding);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>progress_bar</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>padding</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-progress-bar-set-percentage" role="function">
<title>pk_progress_bar_set_percentage ()</title>
<indexterm zone="pk-progress-bar-set-percentage"><primary sortas="pk_progress_bar_set_percentage">pk_progress_bar_set_percentage</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_progress_bar_set_percentage      (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         <link linkend="gint">gint</link> percentage);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>progress_bar</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>percentage</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-progress-bar-start" role="function">
<title>pk_progress_bar_start ()</title>
<indexterm zone="pk-progress-bar-start"><primary sortas="pk_progress_bar_start">pk_progress_bar_start</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_progress_bar_start               (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar,
                                                         const <link linkend="gchar">gchar</link> *text);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>progress_bar</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>text</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="pk-progress-bar-end" role="function">
<title>pk_progress_bar_end ()</title>
<indexterm zone="pk-progress-bar-end"><primary sortas="pk_progress_bar_end">pk_progress_bar_end</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            pk_progress_bar_end                 (<link linkend="PkProgressBar">PkProgressBar</link> *progress_bar);</programlisting>
<para>
</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>progress_bar</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
