Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > ca81b57b553ae75608ba0fc5e7925e4e > files > 342

libgtkmm1.2-devel-1.2.10-1mdk.ppc.rpm

<html>
<head><title>Gtk-- Reference: Gtk::HButtonBox</title></head>

<body bgcolor="#F0F0F0" text="#000000" link="#0000FF"
vlink="#000077" alink="#FF0000">
<table align=center border=0 cellspacing=10> <tr>
<td><a href="class_index.html">Class Index</a></td>
<td><a href="cross_index.html">Cross Index</a></td>
<td><a href="name_index.html">Namespace Index</a></td>
</table>
<h1 align=center>Class Gtk::HButtonBox</h1><p>
<b>  A container for arranging buttons horizontally.</b><br>
Contained in: <a href="Gtk.html">Gtk</a><br>
Derived from:
<a href="Gtk%3A%3AButtonBox.html">Gtk::ButtonBox</a>
<br>
Derived by:
<i>none</i>
<p>
#include &lt;gtk--/buttonbox.h&gt;
<p>
<hr noshade>
<table border=0>
<tr><td colspan=3><h3>public function member index:</h3></td>
<tr valign=top><td align=right><tt></tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#386"><tt><font color=blue><b>HButtonBox</b></font></tt></a></td><td><tt>(<tt><font color=navy>GtkButtonBoxStyle</font></tt> <tt><font color=blue>layout</font></tt> = GTK_BUTTONBOX_DEFAULT_STYLE, <tt><font color=purple>gint</font></tt> <tt><font color=blue>spacing</font></tt> = GTK_BUTTONBOX_DEFAULT)</tt>;</td>
<tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=navy>GtkButtonBoxStyle</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#388"><tt><font color=blue><b>get_layout_default</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>gint</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#387"><tt><font color=blue><b>get_spacing_default</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt><font color=navy>GtkHButtonBox</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#382"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr valign=top><td align=right><tt><tt>const</tt> <tt><font color=navy>GtkHButtonBox</font></tt>*</tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#383"><tt><font color=blue><b>gtkobj</b></font></tt></a></td><td><tt>() <tt>const</tt></tt>;</td>
<tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#384"><tt><font color=blue><b>isA</b></font></tt></a></td><td><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#390"><tt><font color=blue><b>set_layout_default</b></font></tt></a></td><td><tt>(<tt><font color=navy>GtkButtonBoxStyle</font></tt> <tt><font color=blue>layout</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt>static</tt> <tt><font color=purple>void</font></tt></tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#389"><tt><font color=blue><b>set_spacing_default</b></font></tt></a></td><td><tt>(<tt><font color=purple>gint</font></tt> <tt><font color=blue>spacing</font></tt>)</tt>;</td>
<tr valign=top><td align=right><tt><tt>virtual</tt> </tt> </td><td align=right><a href="Gtk%3A%3AHButtonBox.html#385"><tt><font color=blue><b>~HButtonBox</b></font></tt></a></td><td><tt>()</tt>;</td>
<tr><td>&nbsp;</td></table>
<hr noshade>
<h2>Description:</h2>
  A button box should be used to provide a consistent layout of buttons
  throughout your application. There is one default layout and a default
  spacing value that are persistant across all HButtonBox widgets.
<P>
  The layout/spacing can then be altered by the programmer, or if desired,
  by the user to alter the 'feel' of a program to a small degree.<br>
<p>
<hr noshade>
<h2>Function Member Descriptions:</h2>
<a name="386"><font size=+1><b>Gtk::HButtonBox::HButtonBox</b></font></a> -   Constructor.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt></tt> <a href="Gtk%3A%3AHButtonBox.html#386"><tt><font color=blue><b>HButtonBox</b></font></tt></a><tt>(<tt><font color=navy>GtkButtonBoxStyle</font></tt> <tt><font color=blue>layout</font></tt> = GTK_BUTTONBOX_DEFAULT_STYLE, <tt><font color=purple>gint</font></tt> <tt><font color=blue>spacing</font></tt> = GTK_BUTTONBOX_DEFAULT)</tt>;<br><blockquote>  layout: The way in which buttons will fit into the box. One of:
  <tt><font color=green>GTK_BUTTONBOX_DEFAULT_STYLE</font></tt>, <tt><font color=green>GTK_BUTTONBOX_SPREAD</font></tt>,
  <tt><font color=green>GTK_BUTTONBOX_EDGE</font></tt>, <tt><font color=green>GTK_BUTTONBOX_START</font></tt>,
  <tt><font color=green>GTK_BUTTONBOX_END</font></tt>
<P>
  spacing: The number of pixels between widgets.</blockquote>
<br><br>
<a name="388"><font size=+1><b>Gtk::HButtonBox::get_layout_default</b></font></a> -   Retrieves the current layout used to arrange buttons in button box widgets.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=navy>GtkButtonBoxStyle</font></tt></tt> <a href="Gtk%3A%3AHButtonBox.html#388"><tt><font color=blue><b>get_layout_default</b></font></tt></a><tt>()</tt>;<br><blockquote>  Returns: The current <tt><tt><font color=blue>GtkButtonBoxStyle</font></tt></tt>.</blockquote>
<br><br>
<a name="387"><font size=+1><b>Gtk::HButtonBox::get_spacing_default</b></font></a> -   Retrieves the current default spacing for horizontal button boxes.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>gint</font></tt></tt> <a href="Gtk%3A%3AHButtonBox.html#387"><tt><font color=blue><b>get_spacing_default</b></font></tt></a><tt>()</tt>;<br><blockquote>  This is the number of pixels to be placed between the buttons when they are arranged.
<P>
  Returns: The default number of pixels between buttons.</blockquote>
<br><br>
<a name="382"><font size=+1><b>Gtk::HButtonBox::gtkobj</b></font></a> -   Returns the underlaying gtk+ object.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt><font color=navy>GtkHButtonBox</font></tt>*</tt> <a href="Gtk%3A%3AHButtonBox.html#382"><tt><font color=blue><b>gtkobj</b></font></tt></a><tt>()</tt>;<br><br>
<a name="384"><font size=+1><b>Gtk::HButtonBox::isA</b></font></a> -   Returns true if object is this type.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>bool</font></tt></tt> <a href="Gtk%3A%3AHButtonBox.html#384"><tt><font color=blue><b>isA</b></font></tt></a><tt>(<a href="Gtk%3A%3AObject.html"><tt><font color=navy><b>Object</b></font></tt></a>* <tt><font color=blue>object</font></tt>)</tt>;<br><br>
<a name="390"><font size=+1><b>Gtk::HButtonBox::set_layout_default</b></font></a> -   Sets a new layout mode that will be used by all button boxes.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AHButtonBox.html#390"><tt><font color=blue><b>set_layout_default</b></font></tt></a><tt>(<tt><font color=navy>GtkButtonBoxStyle</font></tt> <tt><font color=blue>layout</font></tt>)</tt>;<br><blockquote>  layout: A new GtkButtonBoxStyle.</blockquote>
<br><br>
<a name="389"><font size=+1><b>Gtk::HButtonBox::set_spacing_default</b></font></a> -   Changes the default spacing that is placed between widgets in an horizontal button box.<br>
<hr size="1" width="70%" align="left" noshade="noshade"><tt><tt>static</tt> <tt><font color=purple>void</font></tt></tt> <a href="Gtk%3A%3AHButtonBox.html#389"><tt><font color=blue><b>set_spacing_default</b></font></tt></a><tt>(<tt><font color=purple>gint</font></tt> <tt><font color=blue>spacing</font></tt>)</tt>;<br><blockquote>  spacing: an integer value.</blockquote>
<br><br>
<hr noshade>
</html>