Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 524

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Example Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>book/buttons/button/buttons.h</h1>A <a class="el" href="classGtk_1_1Button.html">Gtk::Button</a> example.
<p>
book/buttons/button/buttons.cc  book/buttons/button/main.cc
<p>
<div class="fragment"><pre><span class="comment">//$Id: buttons.h,v 1.1 2002/03/25 12:54:59 murrayc Exp $ -*- c++ -*-</span>

<span class="comment">/* gtkmm example Copyright (C) 2002 gtkmm development team</span>
<span class="comment"> *</span>
<span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
<span class="comment"> * it under the terms of the GNU General Public License version 2</span>
<span class="comment"> * as published by the Free Software Foundation.</span>
<span class="comment"> *</span>
<span class="comment"> * This program is distributed in the hope that it will be useful,</span>
<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<span class="comment"> * GNU General Public License for more details.</span>
<span class="comment"> *</span>
<span class="comment"> * You should have received a copy of the GNU General Public License</span>
<span class="comment"> * along with this program; if not, write to the Free Software</span>
<span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<span class="comment"> */</span>

<span class="preprocessor">#ifndef GTKMM_EXAMPLE_BUTTONS_H</span>
<span class="preprocessor"></span><span class="preprocessor">#define GTKMM_EXAMPLE_BUTTONS_H</span>
<span class="preprocessor"></span>
<span class="preprocessor">#include &lt;<a class="code" href="gtk_2gtkmm_2window_8h.html">gtkmm/window.h</a>&gt;</span>
<span class="preprocessor">#include &lt;<a class="code" href="button_8h.html">gtkmm/button.h</a>&gt;</span>

<span class="keyword">class </span>Buttons : <span class="keyword">public</span> Gtk::Window
{
<span class="keyword">public</span>:
  Buttons();
  <span class="keyword">virtual</span> ~Buttons();

<span class="keyword">protected</span>:
  <span class="comment">//Signal handlers:</span>
  <span class="keyword">virtual</span> <span class="keywordtype">void</span> on_button_clicked();

  <span class="comment">//Child widgets:</span>
  <a name="_a0"></a><a class="code" href="classGtk_1_1Button.html">Gtk::Button</a> m_button;
};

<span class="preprocessor">#endif //GTKMM_EXAMPLE_BUTTONS_H</span>
</pre></div><hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>