|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkFrame</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="Ornaments.html" title="Ornaments">
<link rel="prev" href="Ornaments.html" title="Ornaments">
<link rel="next" href="GtkHSeparator.html" title="GtkHSeparator">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and
GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="Ornaments.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="Ornaments.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkHSeparator.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3504485" class="shortcut">Top</a>
 | 
<a href="#id3504974" class="shortcut">Description</a>
 | 
<a href="#id3504765" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3504833" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3504856" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkFrame"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3504485"></a><span class="refentrytitle">GtkFrame</span>
</h2>
<p>GtkFrame — A bin with a decorative frame and optional label</p>
</td>
<td valign="top" align="right"><img src="frame.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a href="GtkFrame.html#GtkFrame-struct">GtkFrame</a>;
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkFrame.html#gtk-frame-new">gtk_frame_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
void <a href="GtkFrame.html#gtk-frame-set-label">gtk_frame_set_label</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
void <a href="GtkFrame.html#gtk-frame-set-label-widget">gtk_frame_set_label_widget</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *label_widget);
void <a href="GtkFrame.html#gtk-frame-set-label-align">gtk_frame_set_label_align</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> xalign,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> yalign);
void <a href="GtkFrame.html#gtk-frame-set-shadow-type">gtk_frame_set_shadow_type</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> type);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GtkFrame.html#gtk-frame-get-label">gtk_frame_get_label</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame);
void <a href="GtkFrame.html#gtk-frame-get-label-align">gtk_frame_get_label_align</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> *xalign,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> *yalign);
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkFrame.html#gtk-frame-get-label-widget">gtk_frame_get_label_widget</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame);
<a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> <a href="GtkFrame.html#gtk-frame-get-shadow-type">gtk_frame_get_shadow_type</a> (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3504765"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
+----<a href="GtkBin.html" title="GtkBin">GtkBin</a>
+----GtkFrame
+----<a href="GtkAspectFrame.html" title="GtkAspectFrame">GtkAspectFrame</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3504833"></a><h2>Implemented Interfaces</h2>
<p>
GtkFrame implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3504856"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkFrame.html#GtkFrame--label">label</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write
"<a href="GtkFrame.html#GtkFrame--label-widget">label-widget</a>" <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> : Read / Write
"<a href="GtkFrame.html#GtkFrame--label-xalign">label-xalign</a>" <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> : Read / Write
"<a href="GtkFrame.html#GtkFrame--label-yalign">label-yalign</a>" <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> : Read / Write
"<a href="GtkFrame.html#GtkFrame--shadow">shadow</a>" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write
"<a href="GtkFrame.html#GtkFrame--shadow-type">shadow-type</a>" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3504974"></a><h2>Description</h2>
<p>
The frame widget is a Bin that surrounds its child
with a decorative frame and an optional label.
If present, the label is drawn in a gap in the
top side of the frame. The position of the
label can be controlled with <a href="GtkFrame.html#gtk-frame-set-label-align"><code class="function">gtk_frame_set_label_align()</code></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3505003"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3505013"></a><h3>
<a name="GtkFrame-struct"></a>GtkFrame</h3>
<a class="indexterm" name="id3505026"></a><pre class="programlisting">typedef struct _GtkFrame GtkFrame;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505041"></a><h3>
<a name="gtk-frame-new"></a>gtk_frame_new ()</h3>
<a class="indexterm" name="id3505054"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_frame_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Creates a new <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>, with optional label <em class="parameter"><code>label</code></em>.
If <em class="parameter"><code>label</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, the label is omitted.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>label</code></em> :</span></td>
<td> the text to use as the label of the frame
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a new <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a> widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505154"></a><h3>
<a name="gtk-frame-set-label"></a>gtk_frame_set_label ()</h3>
<a class="indexterm" name="id3505167"></a><pre class="programlisting">void gtk_frame_set_label (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Sets the text of the label. If <em class="parameter"><code>label</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>,
the current label is removed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>label</code></em> :</span></td>
<td> the text to use as the label of the frame
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505263"></a><h3>
<a name="gtk-frame-set-label-widget"></a>gtk_frame_set_label_widget ()</h3>
<a class="indexterm" name="id3505277"></a><pre class="programlisting">void gtk_frame_set_label_widget (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *label_widget);</pre>
<p>
Sets the label widget for the frame. This is the widget that
will appear embedded in the top edge of the frame as a
title.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>label_widget</code></em> :</span></td>
<td> the new label widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505358"></a><h3>
<a name="gtk-frame-set-label-align"></a>gtk_frame_set_label_align ()</h3>
<a class="indexterm" name="id3505372"></a><pre class="programlisting">void gtk_frame_set_label_align (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> xalign,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> yalign);</pre>
<p>
Sets the alignment of the frame widget's label. The
default values for a newly created frame are 0.0 and 0.5.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>xalign</code></em> :</span></td>
<td> The position of the label along the top edge
of the widget. A value of 0.0 represents left alignment;
1.0 represents right alignment.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yalign</code></em> :</span></td>
<td> The y alignment of the label. A value of 0.0 aligns under
the frame; 1.0 aligns above the frame.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505477"></a><h3>
<a name="gtk-frame-set-shadow-type"></a>gtk_frame_set_shadow_type ()</h3>
<a class="indexterm" name="id3505491"></a><pre class="programlisting">void gtk_frame_set_shadow_type (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> type);</pre>
<p>
Sets the shadow type for <em class="parameter"><code>frame</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
<td> the new <a href="gtk-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505583"></a><h3>
<a name="gtk-frame-get-label"></a>gtk_frame_get_label ()</h3>
<a class="indexterm" name="id3505597"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gtk_frame_get_label (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame);</pre>
<p>
If the frame's label widget is a <a href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, returns the
text in the label widget. (The frame will have a <a href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>
for the label widget if a non-<a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> argument was passed
to <a href="GtkFrame.html#gtk-frame-new"><code class="function">gtk_frame_new()</code></a>.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the text in the label, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if there
was no label widget or the lable widget was not
a <a href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>. This string is owned by GTK+ and
must not be modified or freed.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505725"></a><h3>
<a name="gtk-frame-get-label-align"></a>gtk_frame_get_label_align ()</h3>
<a class="indexterm" name="id3505739"></a><pre class="programlisting">void gtk_frame_get_label_align (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> *xalign,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> *yalign);</pre>
<p>
Retrieves the X and Y alignment of the frame's label. See
<a href="GtkFrame.html#gtk-frame-set-label-align"><code class="function">gtk_frame_set_label_align()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>xalign</code></em> :</span></td>
<td> location to store X alignment of frame's label, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yalign</code></em> :</span></td>
<td> location to store X alignment of frame's label, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505872"></a><h3>
<a name="gtk-frame-get-label-widget"></a>gtk_frame_get_label_widget ()</h3>
<a class="indexterm" name="id3505886"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_frame_get_label_widget (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame);</pre>
<p>
Retrieves the label widget for the frame. See
<a href="GtkFrame.html#gtk-frame-set-label-widget"><code class="function">gtk_frame_set_label_widget()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the label widget, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if there is none.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3505975"></a><h3>
<a name="gtk-frame-get-shadow-type"></a>gtk_frame_get_shadow_type ()</h3>
<a class="indexterm" name="id3505989"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> gtk_frame_get_shadow_type (<a href="GtkFrame.html" title="GtkFrame">GtkFrame</a> *frame);</pre>
<p>
Retrieves the shadow type of the frame. See
<a href="GtkFrame.html#gtk-frame-set-shadow-type"><code class="function">gtk_frame_set_shadow_type()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>frame</code></em> :</span></td>
<td> a <a href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current shadow type of the frame.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3506069"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3506080"></a><h3>
<a name="GtkFrame--label"></a>The "<code class="literal">label</code>" property</h3>
<a class="indexterm" name="id3506096"></a><pre class="programlisting"> "label" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write</pre>
<p>Text of the frame's label.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3506122"></a><h3>
<a name="GtkFrame--label-widget"></a>The "<code class="literal">label-widget</code>" property</h3>
<a class="indexterm" name="id3506138"></a><pre class="programlisting"> "label-widget" <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> : Read / Write</pre>
<p>A widget to display in place of the usual frame label.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3506161"></a><h3>
<a name="GtkFrame--label-xalign"></a>The "<code class="literal">label-xalign</code>" property</h3>
<a class="indexterm" name="id3506178"></a><pre class="programlisting"> "label-xalign" <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> : Read / Write</pre>
<p>The horizontal alignment of the label.</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0.5</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3506208"></a><h3>
<a name="GtkFrame--label-yalign"></a>The "<code class="literal">label-yalign</code>" property</h3>
<a class="indexterm" name="id3506225"></a><pre class="programlisting"> "label-yalign" <a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> : Read / Write</pre>
<p>The vertical alignment of the label.</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0.5</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3506256"></a><h3>
<a name="GtkFrame--shadow"></a>The "<code class="literal">shadow</code>" property</h3>
<a class="indexterm" name="id3506271"></a><pre class="programlisting"> "shadow" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write</pre>
<p>Deprecated property, use shadow_type instead.</p>
<p>Default value: GTK_SHADOW_ETCHED_IN</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3506298"></a><h3>
<a name="GtkFrame--shadow-type"></a>The "<code class="literal">shadow-type</code>" property</h3>
<a class="indexterm" name="id3506314"></a><pre class="programlisting"> "shadow-type" <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> : Read / Write</pre>
<p>Appearance of the frame border.</p>
<p>Default value: GTK_SHADOW_ETCHED_IN</p>
</div>
</div>
</div>
</body>
</html>