Sophie

Sophie

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

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: file-entry.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>file-entry.h</h1><a href="file-entry_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_FILE_ENTRY_H</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEUIMM_FILE_ENTRY_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">/* $Id: file-entry.hg,v 1.12 2003/01/04 20:16:28 murrayc Exp $ */</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="comment">/* file-entry.hg</span>
<a name="l00013"></a>00013 <span class="comment"> * </span>
<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 1999 The Gtk-- Development Team</span>
<a name="l00015"></a>00015 <span class="comment"> *</span>
<a name="l00016"></a>00016 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00017"></a>00017 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
<a name="l00018"></a>00018 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00019"></a>00019 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
<a name="l00020"></a>00020 <span class="comment"> *</span>
<a name="l00021"></a>00021 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00022"></a>00022 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00023"></a>00023 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00024"></a>00024 <span class="comment"> * Library General Public License for more details.</span>
<a name="l00025"></a>00025 <span class="comment"> *</span>
<a name="l00026"></a>00026 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
<a name="l00027"></a>00027 <span class="comment"> * License along with this library; if not, write to the Free</span>
<a name="l00028"></a>00028 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00029"></a>00029 <span class="comment"> */</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;gtkmm/box.h&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;gtkmm/editable.h&gt;</span>
<a name="l00033"></a>00033 <span class="comment">//#include &lt;libgnomeui/gnome-file-entry.h&gt;</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_GnomeFileEntry GnomeFileEntry;
<a name="l00038"></a>00038 <span class="keyword">typedef</span> <span class="keyword">struct </span>_GnomeFileEntryClass GnomeFileEntryClass;
<a name="l00039"></a>00039 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="keyword">namespace </span>Gnome
<a name="l00043"></a>00043 {
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keyword">namespace </span>UI
<a name="l00046"></a>00046 { <span class="keyword">class </span>FileEntry_Class; } <span class="comment">// namespace UI</span>
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 } <span class="comment">// namespace Gnome</span>
<a name="l00049"></a>00049 <span class="keyword">namespace </span>Gnome
<a name="l00050"></a>00050 {
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="keyword">namespace </span>UI
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 
<a name="l00056"></a><a class="code" href="classGnome_1_1UI_1_1FileEntry.html">00056</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1UI_1_1FileEntry.html">FileEntry</a>
<a name="l00057"></a>00057  : <span class="keyword">public</span> Gtk::<a class="code" href="classGtk_1_1VBox.html">VBox</a>,
<a name="l00058"></a>00058    <span class="keyword">public</span> Gtk::<a class="code" href="classGtk_1_1Editable.html">Editable</a>
<a name="l00059"></a>00059 {
<a name="l00060"></a>00060   <span class="keyword">public</span>:
<a name="l00061"></a>00061 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>  <span class="keyword">typedef</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html">FileEntry</a> CppObjectType;
<a name="l00063"></a>00063   <span class="keyword">typedef</span> FileEntry_Class CppClassType;
<a name="l00064"></a>00064   <span class="keyword">typedef</span> GnomeFileEntry BaseObjectType;
<a name="l00065"></a>00065   <span class="keyword">typedef</span> GnomeFileEntryClass BaseClassType;
<a name="l00066"></a>00066 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00067"></a>00067 
<a name="l00068"></a>00068   <span class="keyword">virtual</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#3f2f7d02486334ec58392ea96aa84329">~FileEntry</a>();
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00072"></a>00072 <span class="keyword">private</span>:
<a name="l00073"></a>00073   <span class="keyword">friend</span> <span class="keyword">class </span>FileEntry_Class;
<a name="l00074"></a>00074   <span class="keyword">static</span> CppClassType fileentry_class_;
<a name="l00075"></a>00075 
<a name="l00076"></a>00076   <span class="comment">// noncopyable</span>
<a name="l00077"></a>00077   <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#771a11f13c8c135a066de0e35e9736ad">FileEntry</a>(<span class="keyword">const</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html">FileEntry</a>&amp;);
<a name="l00078"></a>00078   <a class="code" href="classGnome_1_1UI_1_1FileEntry.html">FileEntry</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html">FileEntry</a>&amp;);
<a name="l00079"></a>00079 
<a name="l00080"></a>00080 <span class="keyword">protected</span>:
<a name="l00081"></a>00081   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#771a11f13c8c135a066de0e35e9736ad">FileEntry</a>(<span class="keyword">const</span> Glib::ConstructParams&amp; construct_params);
<a name="l00082"></a>00082   <span class="keyword">explicit</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#771a11f13c8c135a066de0e35e9736ad">FileEntry</a>(GnomeFileEntry* castitem);
<a name="l00083"></a>00083 
<a name="l00084"></a>00084 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
<a name="l00085"></a>00085 
<a name="l00086"></a>00086 <span class="keyword">public</span>:
<a name="l00087"></a>00087 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
<a name="l00088"></a>00088 <span class="preprocessor"></span>  <span class="keyword">static</span> GType get_type()      G_GNUC_CONST;
<a name="l00089"></a>00089   <span class="keyword">static</span> GType get_base_type() G_GNUC_CONST;
<a name="l00090"></a>00090 <span class="preprocessor">#endif</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span>
<a name="l00093"></a><a class="code" href="classGnome_1_1UI_1_1FileEntry.html#a4c44c1e97f55fbc58a372d607547d26">00093</a>   GnomeFileEntry*       <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#a4c44c1e97f55fbc58a372d607547d26" title="Provides access to the underlying C GtkObject.">gobj</a>()       { <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span>GnomeFileEntry*<span class="keyword">&gt;</span>(gobject_); }
<a name="l00094"></a>00094 
<a name="l00096"></a><a class="code" href="classGnome_1_1UI_1_1FileEntry.html#565e6fe6575c1ab077639e5a03960a95">00096</a>   <span class="keyword">const</span> GnomeFileEntry* <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#a4c44c1e97f55fbc58a372d607547d26" 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>GnomeFileEntry*<span class="keyword">&gt;</span>(gobject_); }
<a name="l00097"></a>00097 
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 <span class="keyword">public</span>:
<a name="l00100"></a>00100   <span class="comment">//C++ methods used to invoke GTK+ virtual functions:</span>
<a name="l00101"></a>00101 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span>
<a name="l00102"></a>00102 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span>
<a name="l00104"></a>00104 <span class="keyword">protected</span>:
<a name="l00105"></a>00105   <span class="comment">//GTK+ Virtual Functions (override these to change behaviour):</span>
<a name="l00106"></a>00106 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span>
<a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span>
<a name="l00109"></a>00109   <span class="comment">//Default Signal Handlers::</span>
<a name="l00110"></a>00110 <span class="preprocessor">#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#72ae4af940373fba323030d62a18a8ce">on_browse_clicked</a>();
<a name="l00112"></a>00112   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#58f1a4eb4709c0363f1fd344ba18f3f9">on_activate</a>();
<a name="l00113"></a>00113 <span class="preprocessor">#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span>
<a name="l00114"></a>00114 <span class="preprocessor"></span>
<a name="l00115"></a>00115 
<a name="l00116"></a>00116 <span class="keyword">private</span>:
<a name="l00117"></a>00117 
<a name="l00118"></a>00118   
<a name="l00119"></a>00119 <span class="keyword">public</span>:
<a name="l00120"></a>00120   <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#771a11f13c8c135a066de0e35e9736ad">FileEntry</a>();
<a name="l00121"></a>00121 
<a name="l00122"></a>00122   <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#771a11f13c8c135a066de0e35e9736ad">FileEntry</a>(<span class="keyword">const</span> Glib::ustring&amp; history_id, <span class="keyword">const</span> Glib::ustring&amp; browse_dialog_title);
<a name="l00123"></a>00123 
<a name="l00124"></a>00124   
<a name="l00125"></a>00125   Gtk::Widget* <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#5318000c5e5a0f87b47ac2bdd7957af9">gnome_entry</a>();
<a name="l00126"></a>00126   
<a name="l00127"></a>00127   Gtk::Widget* <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#7011752fadb93b0e39a598d8c8435ef8">gtk_entry</a>();
<a name="l00128"></a>00128 
<a name="l00129"></a>00129   
<a name="l00130"></a>00130   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#c6eb3327d8cb7e3eaa0848179abb4f0f">set_title</a> (<span class="keyword">const</span> Glib::ustring&amp; browse_dialog_title);
<a name="l00131"></a>00131   
<a name="l00132"></a>00132   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#93d6db2b83763e4dcd92ea6a20d62679">set_default_path</a>(<span class="keyword">const</span> Glib::ustring&amp; path);
<a name="l00133"></a>00133   
<a name="l00134"></a>00134   <span class="keywordtype">void</span>  <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#b95cd6fb94600269d23b55f012f36443">set_directory_entry</a>(<span class="keywordtype">bool</span> directory_entry = <span class="keyword">true</span>);
<a name="l00135"></a>00135   
<a name="l00136"></a>00136   <span class="keywordtype">bool</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#de378f18aaa44b015883baa14d477969">get_directory_entry</a>() <span class="keyword">const</span>;
<a name="l00137"></a>00137   
<a name="l00138"></a>00138   Glib::ustring <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#d05f54dfee9422d6a4751af70a00df75">get_full_path</a>(<span class="keywordtype">bool</span> file_must_exist) <span class="keyword">const</span>;
<a name="l00139"></a>00139   
<a name="l00140"></a>00140   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#6d8e50406c3608aa5ecfc8f78c87e742">set_filename</a>(<span class="keyword">const</span> Glib::ustring&amp; filename);
<a name="l00141"></a>00141   
<a name="l00142"></a>00142   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#216ea3f1f4ead2ca3680a64b899a9391">set_modal</a>(<span class="keywordtype">bool</span> is_modal = <span class="keyword">true</span>);
<a name="l00143"></a>00143   
<a name="l00144"></a>00144   <span class="keywordtype">bool</span> <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#95d848deaee23b3e827f4ab9319eaa1d">get_modal</a>() <span class="keyword">const</span>;
<a name="l00145"></a>00145 
<a name="l00146"></a>00146   
<a name="l00152"></a>00152   Glib::SignalProxy0&lt; void &gt; <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#f4ae449674a3b97d433bafa1de023fda">signal_browse_clicked</a>();
<a name="l00153"></a>00153 ;
<a name="l00154"></a>00154   
<a name="l00160"></a>00160   Glib::SignalProxy0&lt; void &gt; <a class="code" href="classGnome_1_1UI_1_1FileEntry.html#1f819649479c930c4b2ee551cdfe1fc9">signal_activate</a>();
<a name="l00161"></a>00161 ;
<a name="l00162"></a>00162 
<a name="l00163"></a>00163 
<a name="l00164"></a>00164 };
<a name="l00165"></a>00165 
<a name="l00166"></a>00166 } <span class="comment">/* namespace UI */</span>
<a name="l00167"></a>00167 } <span class="comment">/* namespace Gnome */</span> 
<a name="l00168"></a>00168 
<a name="l00169"></a>00169 
<a name="l00170"></a>00170 <span class="keyword">namespace </span>Glib
<a name="l00171"></a>00171 {
<a name="l00180"></a>00180   <a class="code" href="classGnome_1_1UI_1_1FileEntry.html">Gnome::UI::FileEntry</a>* wrap(GnomeFileEntry* <span class="keywordtype">object</span>, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>);
<a name="l00181"></a>00181 } <span class="comment">//namespace Glib</span>
<a name="l00182"></a>00182 
<a name="l00183"></a>00183 
<a name="l00184"></a>00184 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEUIMM_FILE_ENTRY_H */</span>
<a name="l00185"></a>00185 
</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>