Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 50dc6d81946004389c835f13b59b4c0d > files > 12

libgnomeuimm2.6-doc-2.22.0-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libgnomeuimm: appbar.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
<h1>appbar.h</h1><a href="appbar_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span>
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef _LIBGNOMEUIMM_APPBAR_H</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEUIMM_APPBAR_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;glibmm.h&gt;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="comment">// -*- C++ -*-</span>
<a name="l00010"></a>00010 <span class="comment">/* $Id: appbar.hg,v 1.11 2002/09/15 12:12:37 murrayc Exp $ */</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="comment">/* appbar.h</span>
<a name="l00013"></a>00013 <span class="comment"> * </span>
<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 1998 EMC Capital Management Inc.</span>
<a name="l00015"></a>00015 <span class="comment"> * Developed by Havoc Pennington &lt;hp@pobox.com&gt;</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * Copyright (C) 1999 The Gtk-- Development Team</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00020"></a>00020 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
<a name="l00021"></a>00021 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00022"></a>00022 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
<a name="l00023"></a>00023 <span class="comment"> *</span>
<a name="l00024"></a>00024 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00025"></a>00025 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00026"></a>00026 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00027"></a>00027 <span class="comment"> * Library General Public License for more details.</span>
<a name="l00028"></a>00028 <span class="comment"> *</span>
<a name="l00029"></a>00029 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
<a name="l00030"></a>00030 <span class="comment"> * License along with this library; if not, write to the Free</span>
<a name="l00031"></a>00031 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00032"></a>00032 <span class="comment"> */</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;libgnomeui/gnome-appbar.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;gtkmm/box.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;gtkmm/progressbar.h&gt;</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_GnomeAppBar GnomeAppBar;
<a name="l00041"></a>00041 <span class="keyword">typedef</span> <span class="keyword">struct </span>_GnomeAppBarClass GnomeAppBarClass;
<a name="l00042"></a>00042 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keyword">namespace </span>Gnome
<a name="l00046"></a>00046 {
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <span class="keyword">namespace </span>UI
<a name="l00049"></a>00049 { <span class="keyword">class </span>AppBar_Class; } <span class="comment">// namespace UI</span>
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 } <span class="comment">// namespace Gnome</span>
<a name="l00052"></a>00052 <span class="keyword">namespace </span>Gnome
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="keyword">namespace </span>UI
<a name="l00056"></a>00056 {
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 
<a name="l00064"></a><a class="code" href="group__libgnomeuimmEnums.html#gf57553a27e7b89403f369d8152acdcf0">00064</a> <span class="keyword">enum</span> <a class="code" href="group__libgnomeuimmEnums.html#gf57553a27e7b89403f369d8152acdcf0">PreferencesType</a>
<a name="l00065"></a>00065 {
<a name="l00066"></a><a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf0b7abd7b0af3d0cdc2f7a4203502c2ff9">00066</a>   <a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf0b7abd7b0af3d0cdc2f7a4203502c2ff9">PREFERENCES_NEVER</a>,
<a name="l00067"></a><a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf06fa47314c9425e9bc738c0adae7fe31d">00067</a>   <a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf06fa47314c9425e9bc738c0adae7fe31d">PREFERENCES_USER</a>,
<a name="l00068"></a><a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf02d27879ad913d3536b783c43233e2dfd">00068</a>   <a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf02d27879ad913d3536b783c43233e2dfd">PREFERENCES_ALWAYS</a>
<a name="l00069"></a>00069 };
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 } <span class="comment">// namespace UI</span>
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 } <span class="comment">// namespace Gnome</span>
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="keyword">namespace </span>Glib
<a name="l00078"></a>00078 {
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 <span class="keyword">template</span> &lt;&gt;
<a name="l00081"></a>00081 <span class="keyword">class </span>Value&lt;Gnome::UI::<a class="code" href="group__libgnomeuimmEnums.html#gf57553a27e7b89403f369d8152acdcf0">PreferencesType</a>&gt; : <span class="keyword">public</span> Glib::Value_Enum&lt;Gnome::UI::PreferencesType&gt;
<a name="l00082"></a>00082 {
<a name="l00083"></a>00083 <span class="keyword">public</span>:
<a name="l00084"></a>00084   <span class="keyword">static</span> GType value_type() G_GNUC_CONST;
<a name="l00085"></a>00085 };
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 } <span class="comment">// namespace Glib</span>
<a name="l00088"></a>00088 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="keyword">namespace </span>Gnome
<a name="l00092"></a>00092 {
<a name="l00093"></a>00093 
<a name="l00094"></a>00094 <span class="keyword">namespace </span>UI
<a name="l00095"></a>00095 {
<a name="l00096"></a>00096 
<a name="l00097"></a>00097 
<a name="l00098"></a><a class="code" href="classGnome_1_1UI_1_1AppBar.html">00098</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1UI_1_1AppBar.html">AppBar</a> : <span class="keyword">public</span> Gtk::<a class="code" href="classGtk_1_1HBox.html">HBox</a>
<a name="l00099"></a>00099 {
<a name="l00100"></a>00100    <span class="keyword">public</span>:
<a name="l00101"></a>00101 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00102"></a>00102 <span class="preprocessor"></span>  <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html">AppBar</a> CppObjectType;
<a name="l00103"></a>00103   <span class="keyword">typedef</span> AppBar_Class CppClassType;
<a name="l00104"></a>00104   <span class="keyword">typedef</span> GnomeAppBar BaseObjectType;
<a name="l00105"></a>00105   <span class="keyword">typedef</span> GnomeAppBarClass BaseClassType;
<a name="l00106"></a>00106 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00107"></a>00107 
<a name="l00108"></a>00108   <span class="keyword">virtual</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#34074a63a63186372b336eb4f222e03d">~AppBar</a>();
<a name="l00109"></a>00109 
<a name="l00110"></a>00110 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span>
<a name="l00112"></a>00112 <span class="keyword">private</span>:
<a name="l00113"></a>00113   <span class="keyword">friend</span> <span class="keyword">class </span>AppBar_Class;
<a name="l00114"></a>00114   <span class="keyword">static</span> CppClassType appbar_class_;
<a name="l00115"></a>00115 
<a name="l00116"></a>00116   <span class="comment">// noncopyable</span>
<a name="l00117"></a>00117   <a class="code" href="classGnome_1_1UI_1_1AppBar.html#33ce4c31fba1e638f681afc16feeaba8">AppBar</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html">AppBar</a>&amp;);
<a name="l00118"></a>00118   <a class="code" href="classGnome_1_1UI_1_1AppBar.html">AppBar</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html">AppBar</a>&amp;);
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="keyword">protected</span>:
<a name="l00121"></a>00121   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#33ce4c31fba1e638f681afc16feeaba8">AppBar</a>(<span class="keyword">const</span> Glib::ConstructParams&amp; construct_params);
<a name="l00122"></a>00122   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#33ce4c31fba1e638f681afc16feeaba8">AppBar</a>(GnomeAppBar* castitem);
<a name="l00123"></a>00123 
<a name="l00124"></a>00124 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00125"></a>00125 
<a name="l00126"></a>00126 <span class="keyword">public</span>:
<a name="l00127"></a>00127 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span>  <span class="keyword">static</span> GType get_type()      G_GNUC_CONST;
<a name="l00129"></a>00129   <span class="keyword">static</span> GType get_base_type() G_GNUC_CONST;
<a name="l00130"></a>00130 <span class="preprocessor">#endif</span>
<a name="l00131"></a>00131 <span class="preprocessor"></span>
<a name="l00133"></a><a class="code" href="classGnome_1_1UI_1_1AppBar.html#173f8976a834d8d2fda1de09a6556238">00133</a>   GnomeAppBar*       <a class="code" href="classGnome_1_1UI_1_1AppBar.html#173f8976a834d8d2fda1de09a6556238" title="Provides access to the underlying C GtkObject.">gobj</a>()       { <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span>GnomeAppBar*<span class="keyword">&gt;</span>(gobject_); }
<a name="l00134"></a>00134 
<a name="l00136"></a><a class="code" href="classGnome_1_1UI_1_1AppBar.html#f8bdd081f9157f7654521203cae48b7f">00136</a>   <span class="keyword">const</span> GnomeAppBar* <a class="code" href="classGnome_1_1UI_1_1AppBar.html#173f8976a834d8d2fda1de09a6556238" title="Provides access to the underlying C GtkObject.">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span>GnomeAppBar*<span class="keyword">&gt;</span>(gobject_); }
<a name="l00137"></a>00137 
<a name="l00138"></a>00138 
<a name="l00139"></a>00139 <span class="keyword">public</span>:
<a name="l00140"></a>00140   <span class="comment">//C++ methods used to invoke GTK+ virtual functions:</span>
<a name="l00141"></a>00141 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span>
<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span>
<a name="l00143"></a>00143 <span class="preprocessor"></span>
<a name="l00144"></a>00144 <span class="keyword">protected</span>:
<a name="l00145"></a>00145   <span class="comment">//GTK+ Virtual Functions (override these to change behaviour):</span>
<a name="l00146"></a>00146 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span>
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span>
<a name="l00148"></a>00148 <span class="preprocessor"></span>
<a name="l00149"></a>00149   <span class="comment">//Default Signal Handlers::</span>
<a name="l00150"></a>00150 <span class="preprocessor">#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span>
<a name="l00151"></a>00151 <span class="preprocessor"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#0e5f6cd2931764c30800784077fd324d">on_clear_prompt</a>();
<a name="l00152"></a>00152   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#0a8ca4c950c37c3a0adb5c5c36c686eb">on_user_response</a>();
<a name="l00153"></a>00153 <span class="preprocessor">#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span>
<a name="l00155"></a>00155 
<a name="l00156"></a>00156 <span class="keyword">private</span>:
<a name="l00157"></a>00157 
<a name="l00158"></a>00158 <span class="keyword">public</span>:
<a name="l00159"></a>00159 
<a name="l00160"></a>00160   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#33ce4c31fba1e638f681afc16feeaba8">AppBar</a>(<span class="keywordtype">bool</span> has_progress = <span class="keyword">false</span>, <span class="keywordtype">bool</span> has_status = <span class="keyword">true</span>, <a class="code" href="group__libgnomeuimmEnums.html#gf57553a27e7b89403f369d8152acdcf0">PreferencesType</a> interactivity = <a class="code" href="group__libgnomeuimmEnums.html#ggf57553a27e7b89403f369d8152acdcf0b7abd7b0af3d0cdc2f7a4203502c2ff9">PREFERENCES_NEVER</a>);
<a name="l00161"></a>00161 
<a name="l00162"></a>00162   
<a name="l00163"></a>00163   Gtk::ProgressBar* <a class="code" href="classGnome_1_1UI_1_1AppBar.html#3d5acc97224169ae49c689b8519b334d">get_progress</a>();
<a name="l00164"></a>00164 
<a name="l00165"></a>00165   
<a name="l00166"></a>00166   Gtk::Widget* <a class="code" href="classGnome_1_1UI_1_1AppBar.html#5b7c73f61ee10203a632476b30c5529c">get_status</a>();
<a name="l00167"></a>00167   
<a name="l00168"></a>00168   <span class="keyword">const</span> Gtk::Widget* <a class="code" href="classGnome_1_1UI_1_1AppBar.html#5b7c73f61ee10203a632476b30c5529c">get_status</a>() <span class="keyword">const</span>;
<a name="l00169"></a>00169 
<a name="l00170"></a>00170   
<a name="l00171"></a>00171   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#690eb4bfc046f472ce80fa03cf2bbc5c">set_default</a>(<span class="keyword">const</span> Glib::ustring&amp; default_status);
<a name="l00172"></a>00172   
<a name="l00173"></a>00173   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#951422e8ad8a24e24e0a778152536e93">set_status</a>(<span class="keyword">const</span> Glib::ustring&amp; status);
<a name="l00174"></a>00174   
<a name="l00175"></a>00175   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#f012a1d2972a09981a7d916b08e59b1c">push</a>(<span class="keyword">const</span> Glib::ustring&amp; status);
<a name="l00176"></a>00176   
<a name="l00177"></a>00177   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#95af7e44afe0d27e2d2aee6acf5f704c">pop</a>();
<a name="l00178"></a>00178   
<a name="l00179"></a>00179   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#944d3288e07133734a7e1f1dc1f526d6">clear_stack</a>();
<a name="l00180"></a>00180   
<a name="l00181"></a>00181   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#200dc9008cb8416a22b30f65210a79f7">set_progress_percentage</a>(gfloat percentage);
<a name="l00182"></a>00182   
<a name="l00183"></a>00183   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#420ff5e06fe18ec00a1f22b7f0c1b1b1">refresh</a>();
<a name="l00184"></a>00184   
<a name="l00185"></a>00185   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#f570b187391f99965ddac6d485d475d1">prompt</a>(<span class="keyword">const</span> Glib::ustring&amp; message, <span class="keywordtype">bool</span> modal = <span class="keyword">true</span>);
<a name="l00186"></a>00186   
<a name="l00187"></a>00187   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1AppBar.html#375f8086d6c2697e52850f07e5ea6cbf">clear_prompt</a>();
<a name="l00188"></a>00188   
<a name="l00189"></a>00189   Glib::ustring <a class="code" href="classGnome_1_1UI_1_1AppBar.html#3ea36b2e7e3667fe1ec45645c9cef24a">get_response</a>() <span class="keyword">const</span>;
<a name="l00190"></a>00190 
<a name="l00191"></a>00191   
<a name="l00197"></a>00197   Glib::SignalProxy0&lt; void &gt; <a class="code" href="classGnome_1_1UI_1_1AppBar.html#9b6290c41903decf3a95f913ef1e7602">signal_clear_prompt</a>();
<a name="l00198"></a>00198 
<a name="l00199"></a>00199   
<a name="l00205"></a>00205   Glib::SignalProxy0&lt; void &gt; <a class="code" href="classGnome_1_1UI_1_1AppBar.html#81344931b7cbd7ad58e1cc05d3488f39">signal_user_response</a>();
<a name="l00206"></a>00206 
<a name="l00207"></a>00207 
<a name="l00208"></a>00208 };
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 } <span class="comment">/* namespace UI */</span>
<a name="l00211"></a>00211 } <span class="comment">/* namespace Gnome */</span>
<a name="l00212"></a>00212 
<a name="l00213"></a>00213 
<a name="l00214"></a>00214 <span class="keyword">namespace </span>Glib
<a name="l00215"></a>00215 {
<a name="l00224"></a>00224   <a class="code" href="classGnome_1_1UI_1_1AppBar.html">Gnome::UI::AppBar</a>* wrap(GnomeAppBar* <span class="keywordtype">object</span>, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>);
<a name="l00225"></a>00225 } <span class="comment">//namespace Glib</span>
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEUIMM_APPBAR_H */</span>
<a name="l00229"></a>00229 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 9 14:31:26 2008 for libgnomeuimm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>