KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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 :  /proc/21585/root/usr/share/gtk-doc/html/gtk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/share/gtk-doc/html/gtk/GtkStyle.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Styles</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="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
<link rel="prev" href="gtk-Graphics-Contexts.html" title="Graphics Contexts">
<link rel="next" href="gtk-Selections.html" title="Selections">
<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&#160;I.&#160;GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;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&#160;IV.&#160;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&#160;V.&#160;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="gtk-Graphics-Contexts.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="gtkbase.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="gtk-Selections.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="#id2689738" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2695338" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id2695233" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id2695258" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkStyle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2689738"></a><span class="refentrytitle">Styles</span>
</h2>
<p>Styles &#8212; Functions for drawing widget parts</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;


#define     <a href="GtkStyle.html#GTK-STYLE-ATTACHED:CAPS">GTK_STYLE_ATTACHED</a>              (style)
            <a href="GtkStyle.html#GtkStyle-struct">GtkStyle</a>;
<a href="GtkStyle.html" title="Styles">GtkStyle</a>*   <a href="GtkStyle.html#gtk-style-new">gtk_style_new</a>                   (void);
<a href="GtkStyle.html" title="Styles">GtkStyle</a>*   <a href="GtkStyle.html#gtk-style-copy">gtk_style_copy</a>                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);
<a href="GtkStyle.html" title="Styles">GtkStyle</a>*   <a href="GtkStyle.html#gtk-style-attach">gtk_style_attach</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window);
void        <a href="GtkStyle.html#gtk-style-detach">gtk_style_detach</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);
<a href="GtkStyle.html" title="Styles">GtkStyle</a>*   <a href="GtkStyle.html#gtk-style-ref">gtk_style_ref</a>                   (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);
void        <a href="GtkStyle.html#gtk-style-unref">gtk_style_unref</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);
void        <a href="GtkStyle.html#gtk-style-set-background">gtk_style_set_background</a>        (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type);
void        <a href="GtkStyle.html#gtk-style-apply-default-background">gtk_style_apply_default_background</a>
                                            (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> set_bg,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
#define     <a href="GtkStyle.html#gtk-style-apply-default-pixmap">gtk_style_apply_default_pixmap</a>  (s,gw,st,a,x,y,w,h)
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkStyle.html#gtk-style-lookup-color">gtk_style_lookup_color</a>          (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *color_name,
                                             <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a> *color);
<a href="gtk-Themeable-Stock-Images.html#GtkIconSet">GtkIconSet</a>* <a href="GtkStyle.html#gtk-style-lookup-icon-set">gtk_style_lookup_icon_set</a>       (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>*  <a href="GtkStyle.html#gtk-style-render-icon">gtk_style_render_icon</a>           (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             const <a href="gtk-Themeable-Stock-Images.html#GtkIconSource">GtkIconSource</a> *source,
                                             <a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a> direction,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state,
                                             <a href="gtk-Themeable-Stock-Images.html#GtkIconSize">GtkIconSize</a> size,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail);
<a
href="../gdk/gdk-Fonts.html#GdkFont"
>GdkFont</a>*    <a href="GtkStyle.html#gtk-style-get-font">gtk_style_get_font</a>              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);
void        <a href="GtkStyle.html#gtk-style-set-font">gtk_style_set_font</a>              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Fonts.html#GdkFont"
>GdkFont</a> *font);
void        <a href="GtkStyle.html#gtk-draw-hline">gtk_draw_hline</a>                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);
void        <a href="GtkStyle.html#gtk-draw-vline">gtk_draw_vline</a>                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x);
void        <a href="GtkStyle.html#gtk-draw-shadow">gtk_draw_shadow</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-polygon">gtk_draw_polygon</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkPoint"
>GdkPoint</a> *points,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> npoints,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill);
void        <a href="GtkStyle.html#gtk-draw-arrow">gtk_draw_arrow</a>                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkArrowType">GtkArrowType</a> arrow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-diamond">gtk_draw_diamond</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-string">gtk_draw_string</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string);
void        <a href="GtkStyle.html#gtk-draw-box">gtk_draw_box</a>                    (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-box-gap">gtk_draw_box_gap</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);
void        <a href="GtkStyle.html#gtk-draw-check">gtk_draw_check</a>                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-extension">gtk_draw_extension</a>              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side);
void        <a href="GtkStyle.html#gtk-draw-flat-box">gtk_draw_flat_box</a>               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-focus">gtk_draw_focus</a>                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-handle">gtk_draw_handle</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);
void        <a href="GtkStyle.html#gtk-draw-option">gtk_draw_option</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-shadow-gap">gtk_draw_shadow_gap</a>             (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);
void        <a href="GtkStyle.html#gtk-draw-slider">gtk_draw_slider</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);
void        <a href="GtkStyle.html#gtk-draw-tab">gtk_draw_tab</a>                    (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-expander">gtk_draw_expander</a>               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a href="gtk-Standard-Enumerations.html#GtkExpanderStyle">GtkExpanderStyle</a> expander_style);
void        <a href="GtkStyle.html#gtk-draw-layout">gtk_draw_layout</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_text,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../pango/pango-Layout-Objects.html#PangoLayout"
>PangoLayout</a> *layout);
void        <a href="GtkStyle.html#gtk-draw-resize-grip">gtk_draw_resize_grip</a>            (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindowEdge"
>GdkWindowEdge</a> edge,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-arrow">gtk_paint_arrow</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a href="gtk-Standard-Enumerations.html#GtkArrowType">GtkArrowType</a> arrow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-box">gtk_paint_box</a>                   (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-box-gap">gtk_paint_box_gap</a>               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);
void        <a href="GtkStyle.html#gtk-paint-check">gtk_paint_check</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-diamond">gtk_paint_diamond</a>               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-extension">gtk_paint_extension</a>             (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side);
void        <a href="GtkStyle.html#gtk-paint-flat-box">gtk_paint_flat_box</a>              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-focus">gtk_paint_focus</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-handle">gtk_paint_handle</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);
void        <a href="GtkStyle.html#gtk-paint-hline">gtk_paint_hline</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);
void        <a href="GtkStyle.html#gtk-paint-option">gtk_paint_option</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-polygon">gtk_paint_polygon</a>               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkPoint"
>GdkPoint</a> *points,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> npoints,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill);
void        <a href="GtkStyle.html#gtk-paint-shadow">gtk_paint_shadow</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-shadow-gap">gtk_paint_shadow_gap</a>            (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);
void        <a href="GtkStyle.html#gtk-paint-slider">gtk_paint_slider</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);
void        <a href="GtkStyle.html#gtk-paint-string">gtk_paint_string</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string);
void        <a href="GtkStyle.html#gtk-paint-tab">gtk_paint_tab</a>                   (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-paint-vline">gtk_paint_vline</a>                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x);
void        <a href="GtkStyle.html#gtk-paint-expander">gtk_paint_expander</a>              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a href="gtk-Standard-Enumerations.html#GtkExpanderStyle">GtkExpanderStyle</a> expander_style);
void        <a href="GtkStyle.html#gtk-paint-layout">gtk_paint_layout</a>                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_text,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../pango/pango-Layout-Objects.html#PangoLayout"
>PangoLayout</a> *layout);
void        <a href="GtkStyle.html#gtk-paint-resize-grip">gtk_paint_resize_grip</a>           (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindowEdge"
>GdkWindowEdge</a> edge,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void        <a href="GtkStyle.html#gtk-draw-insertion-cursor">gtk_draw_insertion_cursor</a>       (<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../gdk/gdk-Drawing-Primitives.html#GdkDrawable"
>GdkDrawable</a> *drawable,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *location,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_primary,
                                             <a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a> direction,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> draw_arrow);

            <a href="GtkStyle.html#GtkBorder">GtkBorder</a>;
<a href="GtkStyle.html#GtkBorder">GtkBorder</a>*  <a href="GtkStyle.html#gtk-border-copy">gtk_border_copy</a>                 (const <a href="GtkStyle.html#GtkBorder">GtkBorder</a> *border_);
void        <a href="GtkStyle.html#gtk-border-free">gtk_border_free</a>                 (<a href="GtkStyle.html#GtkBorder">GtkBorder</a> *border_);

            <a href="GtkStyle.html#GtkRcProperty">GtkRcProperty</a>;
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (<a href="GtkStyle.html#GtkRcPropertyParser">*GtkRcPropertyParser</a>)          (const <a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                             const <a
href="../glib/glib-Strings.html#GString"
>GString</a> *rc_string,
                                             <a
href="../gobject/gobject-Generic-values.html#GValue"
>GValue</a> *property_value);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2695233"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----GtkStyle
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2695258"></a><h2>Signals</h2>
<pre class="synopsis">

"<a href="GtkStyle.html#GtkStyle-realize">realize</a>"   void        user_function      (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run first
"<a href="GtkStyle.html#GtkStyle-unrealize">unrealize</a>" void        user_function      (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2695338"></a><h2>Description</h2>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="id2695352"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2695362"></a><h3>
<a name="GTK-STYLE-ATTACHED:CAPS"></a>GTK_STYLE_ATTACHED()</h3>
<a class="indexterm" name="id2695376"></a><pre class="programlisting">#define GTK_STYLE_ATTACHED(style)	(GTK_STYLE (style)-&gt;attach_count &gt; 0)
</pre>
<p>
Returns whether the style is attached to a window.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td>a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695419"></a><h3>
<a name="GtkStyle-struct"></a>GtkStyle</h3>
<a class="indexterm" name="id2695432"></a><pre class="programlisting">typedef struct {
  GdkColor fg[5];
  GdkColor bg[5];
  GdkColor light[5];
  GdkColor dark[5];
  GdkColor mid[5];
  GdkColor text[5];
  GdkColor base[5];
  GdkColor text_aa[5];		/* Halfway between text/base */
  
  GdkColor black;
  GdkColor white;
  PangoFontDescription *font_desc;
  
  gint xthickness;
  gint ythickness;
  
  GdkGC *fg_gc[5];
  GdkGC *bg_gc[5];
  GdkGC *light_gc[5];
  GdkGC *dark_gc[5];
  GdkGC *mid_gc[5];
  GdkGC *text_gc[5];
  GdkGC *base_gc[5];
  GdkGC *text_aa_gc[5];
  GdkGC *black_gc;
  GdkGC *white_gc;
  
  GdkPixmap *bg_pixmap[5];
} GtkStyle;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695456"></a><h3>
<a name="gtk-style-new"></a>gtk_style_new ()</h3>
<a class="indexterm" name="id2695469"></a><pre class="programlisting"><a href="GtkStyle.html" title="Styles">GtkStyle</a>*   gtk_style_new                   (void);</pre>
<p>
Creates a new <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695524"></a><h3>
<a name="gtk-style-copy"></a>gtk_style_copy ()</h3>
<a class="indexterm" name="id2695537"></a><pre class="programlisting"><a href="GtkStyle.html" title="Styles">GtkStyle</a>*   gtk_style_copy                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695593"></a><h3>
<a name="gtk-style-attach"></a>gtk_style_attach ()</h3>
<a class="indexterm" name="id2695606"></a><pre class="programlisting"><a href="GtkStyle.html" title="Styles">GtkStyle</a>*   gtk_style_attach                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window);</pre>
<p>
Attaches a style to a window; this process allocates the
colors and creates the GC's for the style - it specializes
it to a particular visual and colormap. The process may 
involve the creation of a new style if the style has already 
been attached to a window with a different style and colormap.
</p>
<p>
Since this function may return a new object, you have to use it 
in the following way: 
<code class="literal">style = gtk_style_attach (style, window)</code></p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> Either <em class="parameter"><code>style</code></em>, or a newly-created <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
  If the style is newly created, the style parameter
  will be dereferenced, and the new style will have
  a reference count belonging to the caller.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695734"></a><h3>
<a name="gtk-style-detach"></a>gtk_style_detach ()</h3>
<a class="indexterm" name="id2695747"></a><pre class="programlisting">void        gtk_style_detach                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);</pre>
<p>
Detaches a style from a window. If the style is not attached
to any windows anymore, it is unrealized. See <a href="GtkStyle.html#gtk-style-attach"><code class="function">gtk_style_attach()</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>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695816"></a><h3>
<a name="gtk-style-ref"></a>gtk_style_ref ()</h3>
<a class="indexterm" name="id2695831"></a><pre class="programlisting"><a href="GtkStyle.html" title="Styles">GtkStyle</a>*   gtk_style_ref                   (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_style_ref</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Deprecated equivalent of <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"
><code class="function">g_object_ref()</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>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <em class="parameter"><code>style</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2695927"></a><h3>
<a name="gtk-style-unref"></a>gtk_style_unref ()</h3>
<a class="indexterm" name="id2695943"></a><pre class="programlisting">void        gtk_style_unref                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_style_unref</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Deprecated equivalent of <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"
><code class="function">g_object_unref()</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>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2696023"></a><h3>
<a name="gtk-style-set-background"></a>gtk_style_set_background ()</h3>
<a class="indexterm" name="id2696036"></a><pre class="programlisting">void        gtk_style_set_background        (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type);</pre>
<p>
Sets the background of <em class="parameter"><code>window</code></em> to the background color or pixmap
specified by <em class="parameter"><code>style</code></em> for the given state.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2696158"></a><h3>
<a name="gtk-style-apply-default-background"></a>gtk_style_apply_default_background ()</h3>
<a class="indexterm" name="id2696172"></a><pre class="programlisting">void        gtk_style_apply_default_background
                                            (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> set_bg,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>set_bg</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2696388"></a><h3>
<a name="gtk-style-apply-default-pixmap"></a>gtk_style_apply_default_pixmap()</h3>
<a class="indexterm" name="id2696404"></a><pre class="programlisting">#define gtk_style_apply_default_pixmap(s,gw,st,a,x,y,w,h) gtk_style_apply_default_background (s,gw,1,st,a,x,y,w,h)
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_style_apply_default_pixmap</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Deprecated alias for <a href="GtkStyle.html#gtk-style-apply-default-background"><code class="function">gtk_style_apply_default_background()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>s</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gw</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>st</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>w</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>h</code></em>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2696557"></a><h3>
<a name="gtk-style-lookup-color"></a>gtk_style_lookup_color ()</h3>
<a class="indexterm" name="id2696573"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_style_lookup_color          (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *color_name,
                                             <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
>GdkColor</a> *color);</pre>
<p>
Looks up <em class="parameter"><code>color_name</code></em> in the style's logical color mappings,
filling in <em class="parameter"><code>color</code></em> and returning <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if found, otherwise
returning <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>. Do not cache the found mapping, because
it depends on the <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> and might change when a theme
switch occurs.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>color_name</code></em>&#160;:</span></td>
<td> the name of the logical color to look up
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
<td> the <a
href="../gdk/gdk-Colormaps-and-Colors.html#GdkColor"
><span class="type">GdkColor</span></a> to fill in
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the mapping was found.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2696750"></a><h3>
<a name="gtk-style-lookup-icon-set"></a>gtk_style_lookup_icon_set ()</h3>
<a class="indexterm" name="id2696764"></a><pre class="programlisting"><a href="gtk-Themeable-Stock-Images.html#GtkIconSet">GtkIconSet</a>* gtk_style_lookup_icon_set       (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>stock_id</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2696841"></a><h3>
<a name="gtk-style-render-icon"></a>gtk_style_render_icon ()</h3>
<a class="indexterm" name="id2696854"></a><pre class="programlisting"><a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>*  gtk_style_render_icon           (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             const <a href="gtk-Themeable-Stock-Images.html#GtkIconSource">GtkIconSource</a> *source,
                                             <a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a> direction,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state,
                                             <a href="gtk-Themeable-Stock-Images.html#GtkIconSize">GtkIconSize</a> size,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail);</pre>
<p>
Renders the icon specified by <em class="parameter"><code>source</code></em> at the given <em class="parameter"><code>size</code></em> 
according to the given parameters and returns the result in a 
pixbuf.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>source</code></em>&#160;:</span></td>
<td> the <a href="gtk-Themeable-Stock-Images.html#GtkIconSource"><span class="type">GtkIconSource</span></a> specifying the icon to render
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>direction</code></em>&#160;:</span></td>
<td> a text direction
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>size</code></em>&#160;:</span></td>
<td> the size to render the icon at. A size of (GtkIconSize)-1
       means render at the size of the source and don't scale.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>detail</code></em>&#160;:</span></td>
<td> a style detail
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a newly-created <a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a> containing the rendered icon
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2697085"></a><h3>
<a name="gtk-style-get-font"></a>gtk_style_get_font ()</h3>
<a class="indexterm" name="id2697101"></a><pre class="programlisting"><a
href="../gdk/gdk-Fonts.html#GdkFont"
>GdkFont</a>*    gtk_style_get_font              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_style_get_font</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Gets the <a
href="../gdk/gdk-Fonts.html#GdkFont"
><span class="type">GdkFont</span></a> to use for the given style. This is
meant only as a replacement for direct access to <em class="parameter"><code>style-&gt;font</code></em>
and should not be used in new code. New code should
use <em class="parameter"><code>style-&gt;font_desc</code></em> instead.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the <a
href="../gdk/gdk-Fonts.html#GdkFont"
><span class="type">GdkFont</span></a> for the style. This font is owned
  by the style; if you want to keep around a copy, you must
  call <a
href="../gdk/gdk-Fonts.html#gdk-font-ref"
><code class="function">gdk_font_ref()</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2697224"></a><h3>
<a name="gtk-style-set-font"></a>gtk_style_set_font ()</h3>
<a class="indexterm" name="id2697240"></a><pre class="programlisting">void        gtk_style_set_font              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Fonts.html#GdkFont"
>GdkFont</a> *font);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_style_set_font</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the <a
href="../gdk/gdk-Fonts.html#GdkFont"
><span class="type">GdkFont</span></a> to use for a given style. This is
meant only as a replacement for direct access to style-&gt;font
and should not be used in new code. New code should
use style-&gt;font_desc instead.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>font</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Fonts.html#GdkFont"
><span class="type">GdkFont</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to use the <a
href="../gdk/gdk-Fonts.html#GdkFont"
><span class="type">GdkFont</span></a> corresponding
  to style-&gt;font_desc.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2697368"></a><h3>
<a name="gtk-draw-hline"></a>gtk_draw_hline ()</h3>
<a class="indexterm" name="id2697384"></a><pre class="programlisting">void        gtk_draw_hline                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_hline</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-hline"><code class="function">gtk_paint_hline()</code></a> instead.</p>
</div>
<p>
Draws a horizontal line from (<em class="parameter"><code>x1</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x2</code></em>, <em class="parameter"><code>y</code></em>) in <em class="parameter"><code>window</code></em>
using the given style and state.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></td>
<td> the starting x coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
<td> the ending x coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2697608"></a><h3>
<a name="gtk-draw-vline"></a>gtk_draw_vline ()</h3>
<a class="indexterm" name="id2697624"></a><pre class="programlisting">void        gtk_draw_vline                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_vline</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-vline"><code class="function">gtk_paint_vline()</code></a> instead.</p>
</div>
<p>
Draws a vertical line from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y1_</code></em>) to (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y2_</code></em>) in <em class="parameter"><code>window</code></em>
using the given style and state.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y1_</code></em>&#160;:</span></td>
<td> the starting y coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y2_</code></em>&#160;:</span></td>
<td> the ending y coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> the x coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2697849"></a><h3>
<a name="gtk-draw-shadow"></a>gtk_draw_shadow ()</h3>
<a class="indexterm" name="id2697865"></a><pre class="programlisting">void        gtk_draw_shadow                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_shadow</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-shadow"><code class="function">gtk_paint_shadow()</code></a> instead.</p>
</div>
<p>
Draws a shadow around the given rectangle in <em class="parameter"><code>window</code></em> 
using the given style and state and shadow type.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2698111"></a><h3>
<a name="gtk-draw-polygon"></a>gtk_draw_polygon ()</h3>
<a class="indexterm" name="id2698127"></a><pre class="programlisting">void        gtk_draw_polygon                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkPoint"
>GdkPoint</a> *points,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> npoints,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_polygon</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-polygon"><code class="function">gtk_paint_polygon()</code></a> instead.</p>
</div>
<p>
Draws a polygon on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>points</code></em>&#160;:</span></td>
<td> an array of <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkPoint"
><span class="type">GdkPoint</span></a>s
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>npoints</code></em>&#160;:</span></td>
<td> length of <em class="parameter"><code>points</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>fill</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the polygon should be filled
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2698377"></a><h3>
<a name="gtk-draw-arrow"></a>gtk_draw_arrow ()</h3>
<a class="indexterm" name="id2698393"></a><pre class="programlisting">void        gtk_draw_arrow                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkArrowType">GtkArrowType</a> arrow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_arrow</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-arrow"><code class="function">gtk_paint_arrow()</code></a> instead.</p>
</div>
<p>
Draws an arrow in the given rectangle on <em class="parameter"><code>window</code></em> using the given 
parameters. <em class="parameter"><code>arrow_type</code></em> determines the direction of the arrow.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arrow_type</code></em>&#160;:</span></td>
<td> the type of arrow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>fill</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the arrow tip should be filled
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the arrow in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the arrow in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle to draw the arrow in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> height of the rectangle to draw the arrow in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2698701"></a><h3>
<a name="gtk-draw-diamond"></a>gtk_draw_diamond ()</h3>
<a class="indexterm" name="id2698717"></a><pre class="programlisting">void        gtk_draw_diamond                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_diamond</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-diamond"><code class="function">gtk_paint_diamond()</code></a> instead.</p>
</div>
<p>
Draws a diamond in the given rectangle on <em class="parameter"><code>window</code></em> using the given
parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the diamond in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the diamond in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle to draw the diamond in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> height of the rectangle to draw the diamond in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2698965"></a><h3>
<a name="gtk-draw-string"></a>gtk_draw_string ()</h3>
<a class="indexterm" name="id2698981"></a><pre class="programlisting">void        gtk_draw_string                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_string</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-layout"><code class="function">gtk_paint_layout()</code></a> instead.</p>
</div>
<p>
Draws a text string on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>string</code></em>&#160;:</span></td>
<td> the string to draw
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2699182"></a><h3>
<a name="gtk-draw-box"></a>gtk_draw_box ()</h3>
<a class="indexterm" name="id2699198"></a><pre class="programlisting">void        gtk_draw_box                    (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_box</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-box"><code class="function">gtk_paint_box()</code></a> instead.</p>
</div>
<p>
Draws a box on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the box
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2699444"></a><h3>
<a name="gtk-draw-box-gap"></a>gtk_draw_box_gap ()</h3>
<a class="indexterm" name="id2699459"></a><pre class="programlisting">void        gtk_draw_box_gap                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_box_gap</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-box-gap"><code class="function">gtk_paint_box_gap()</code></a> instead.</p>
</div>
<p>
Draws a box in <em class="parameter"><code>window</code></em> using the given style and state and shadow type, 
leaving a gap in one side.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_side</code></em>&#160;:</span></td>
<td> side in which to leave the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_x</code></em>&#160;:</span></td>
<td> starting position of the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_width</code></em>&#160;:</span></td>
<td> width of the gap
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2699772"></a><h3>
<a name="gtk-draw-check"></a>gtk_draw_check ()</h3>
<a class="indexterm" name="id2699787"></a><pre class="programlisting">void        gtk_draw_check                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_check</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-check"><code class="function">gtk_paint_check()</code></a> instead.</p>
</div>
<p>
Draws a check button indicator in the given rectangle on <em class="parameter"><code>window</code></em> with 
the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the check in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the check in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle to draw the check in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle to draw the check in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2700036"></a><h3>
<a name="gtk-draw-extension"></a>gtk_draw_extension ()</h3>
<a class="indexterm" name="id2700052"></a><pre class="programlisting">void        gtk_draw_extension              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_extension</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-extension"><code class="function">gtk_paint_extension()</code></a> instead.</p>
</div>
<p>
Draws an extension, i.e. a notebook tab.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the extension
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the extension
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the extension 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the extension 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_side</code></em>&#160;:</span></td>
<td> the side on to which the extension is attached
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2700314"></a><h3>
<a name="gtk-draw-flat-box"></a>gtk_draw_flat_box ()</h3>
<a class="indexterm" name="id2700330"></a><pre class="programlisting">void        gtk_draw_flat_box               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_flat_box</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-flat-box"><code class="function">gtk_paint_flat_box()</code></a> instead.</p>
</div>
<p>
Draws a flat box on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the box
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2700576"></a><h3>
<a name="gtk-draw-focus"></a>gtk_draw_focus ()</h3>
<a class="indexterm" name="id2700592"></a><pre class="programlisting">void        gtk_draw_focus                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_focus</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-focus"><code class="function">gtk_paint_focus()</code></a> instead.</p>
</div>
<p>
Draws a focus indicator around the given rectangle on <em class="parameter"><code>window</code></em> using the
given style.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> the x origin of the rectangle around which to draw a focus indicator
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y origin of the rectangle around which to draw a focus indicator
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle around which to draw a focus indicator
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle around which to draw a focus indicator
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2700797"></a><h3>
<a name="gtk-draw-handle"></a>gtk_draw_handle ()</h3>
<a class="indexterm" name="id2700813"></a><pre class="programlisting">void        gtk_draw_handle                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_handle</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-handle"><code class="function">gtk_paint_handle()</code></a> instead.</p>
</div>
<p>
Draws a handle as used in <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a> and <a href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></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>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> with of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> height of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em>&#160;:</span></td>
<td> the orientation of the handle
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2701092"></a><h3>
<a name="gtk-draw-option"></a>gtk_draw_option ()</h3>
<a class="indexterm" name="id2701108"></a><pre class="programlisting">void        gtk_draw_option                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_option</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-option"><code class="function">gtk_paint_option()</code></a> instead.</p>
</div>
<p>
Draws a radio button indicator in the given rectangle on <em class="parameter"><code>window</code></em> with 
the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the option in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the option in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle to draw the option in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle to draw the option in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2701356"></a><h3>
<a name="gtk-draw-shadow-gap"></a>gtk_draw_shadow_gap ()</h3>
<a class="indexterm" name="id2701373"></a><pre class="programlisting">void        gtk_draw_shadow_gap             (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_shadow_gap</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-shadow-gap"><code class="function">gtk_paint_shadow_gap()</code></a> instead.</p>
</div>
<p>
Draws a shadow around the given rectangle in <em class="parameter"><code>window</code></em> 
using the given style and state and shadow type, leaving a 
gap in one side.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_side</code></em>&#160;:</span></td>
<td> side in which to leave the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_x</code></em>&#160;:</span></td>
<td> starting position of the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_width</code></em>&#160;:</span></td>
<td> width of the gap
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2701686"></a><h3>
<a name="gtk-draw-slider"></a>gtk_draw_slider ()</h3>
<a class="indexterm" name="id2701701"></a><pre class="programlisting">void        gtk_draw_slider                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_slider</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2701930"></a><h3>
<a name="gtk-draw-tab"></a>gtk_draw_tab ()</h3>
<a class="indexterm" name="id2701945"></a><pre class="programlisting">void        gtk_draw_tab                    (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_tab</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-tab"><code class="function">gtk_paint_tab()</code></a> instead.</p>
</div>
<p>
Draws an option menu tab (i.e. the up and down pointing arrows)
in the given rectangle on <em class="parameter"><code>window</code></em> using the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the tab in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the tab in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle to draw the tab in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle to draw the tab in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702194"></a><h3>
<a name="gtk-draw-expander"></a>gtk_draw_expander ()</h3>
<a class="indexterm" name="id2702210"></a><pre class="programlisting">void        gtk_draw_expander               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a href="gtk-Standard-Enumerations.html#GtkExpanderStyle">GtkExpanderStyle</a> expander_style);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_expander</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-expander"><code class="function">gtk_paint_expander()</code></a> instead.</p>
</div>
<p>
Draws an expander as used in <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></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>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> the x position to draw the expander at
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y position to draw the expander at
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expander_style</code></em>&#160;:</span></td>
<td> the style to draw the expander in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702415"></a><h3>
<a name="gtk-draw-layout"></a>gtk_draw_layout ()</h3>
<a class="indexterm" name="id2702430"></a><pre class="programlisting">void        gtk_draw_layout                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_text,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../pango/pango-Layout-Objects.html#PangoLayout"
>PangoLayout</a> *layout);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_layout</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>use_text</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702616"></a><h3>
<a name="gtk-draw-resize-grip"></a>gtk_draw_resize_grip ()</h3>
<a class="indexterm" name="id2702632"></a><pre class="programlisting">void        gtk_draw_resize_grip            (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindowEdge"
>GdkWindowEdge</a> edge,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_draw_resize_grip</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-resize-grip"><code class="function">gtk_paint_resize_grip()</code></a> instead.</p>
</div>
<p>
Draws a resize grip in the given rectangle on <em class="parameter"><code>window</code></em> using the given
parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>edge</code></em>&#160;:</span></td>
<td> the edge in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> the x origin of the rectangle in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y origin of the rectangle in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle in which to draw the resize grip
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2702882"></a><h3>
<a name="gtk-paint-arrow"></a>gtk_paint_arrow ()</h3>
<a class="indexterm" name="id2702895"></a><pre class="programlisting">void        gtk_paint_arrow                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a href="gtk-Standard-Enumerations.html#GtkArrowType">GtkArrowType</a> arrow_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws an arrow in the given rectangle on <em class="parameter"><code>window</code></em> using the given 
parameters. <em class="parameter"><code>arrow_type</code></em> determines the direction of the arrow.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>arrow_type</code></em>&#160;:</span></td>
<td> the type of arrow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>fill</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the arrow tip should be filled
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the arrow in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the arrow in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle to draw the arrow in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> height of the rectangle to draw the arrow in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2703277"></a><h3>
<a name="gtk-paint-box"></a>gtk_paint_box ()</h3>
<a class="indexterm" name="id2703290"></a><pre class="programlisting">void        gtk_paint_box                   (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a box on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the box
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2703609"></a><h3>
<a name="gtk-paint-box-gap"></a>gtk_paint_box_gap ()</h3>
<a class="indexterm" name="id2703622"></a><pre class="programlisting">void        gtk_paint_box_gap               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);</pre>
<p>
Draws a box in <em class="parameter"><code>window</code></em> using the given style and state and shadow type, 
leaving a gap in one side.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_side</code></em>&#160;:</span></td>
<td> side in which to leave the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_x</code></em>&#160;:</span></td>
<td> starting position of the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_width</code></em>&#160;:</span></td>
<td> width of the gap
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2704008"></a><h3>
<a name="gtk-paint-check"></a>gtk_paint_check ()</h3>
<a class="indexterm" name="id2704020"></a><pre class="programlisting">void        gtk_paint_check                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a check button indicator in the given rectangle on <em class="parameter"><code>window</code></em> with 
the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the check in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the check in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle to draw the check in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle to draw the check in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2704342"></a><h3>
<a name="gtk-paint-diamond"></a>gtk_paint_diamond ()</h3>
<a class="indexterm" name="id2704356"></a><pre class="programlisting">void        gtk_paint_diamond               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a diamond in the given rectangle on <em class="parameter"><code>window</code></em> using the given
parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the diamond in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the diamond in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle to draw the diamond in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> height of the rectangle to draw the diamond in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2704677"></a><h3>
<a name="gtk-paint-extension"></a>gtk_paint_extension ()</h3>
<a class="indexterm" name="id2704690"></a><pre class="programlisting">void        gtk_paint_extension             (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side);</pre>
<p>
Draws an extension, i.e. a notebook tab.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the extension
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the extension
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the extension 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the extension 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_side</code></em>&#160;:</span></td>
<td> the side on to which the extension is attached
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2705025"></a><h3>
<a name="gtk-paint-flat-box"></a>gtk_paint_flat_box ()</h3>
<a class="indexterm" name="id2705039"></a><pre class="programlisting">void        gtk_paint_flat_box              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a flat box on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the box
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the box
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2705358"></a><h3>
<a name="gtk-paint-focus"></a>gtk_paint_focus ()</h3>
<a class="indexterm" name="id2705371"></a><pre class="programlisting">void        gtk_paint_focus                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a focus indicator around the given rectangle on <em class="parameter"><code>window</code></em> using the
given style.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> the x origin of the rectangle around which to draw a focus indicator
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y origin of the rectangle around which to draw a focus indicator
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle around which to draw a focus indicator
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle around which to draw a focus indicator
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2705672"></a><h3>
<a name="gtk-paint-handle"></a>gtk_paint_handle ()</h3>
<a class="indexterm" name="id2705685"></a><pre class="programlisting">void        gtk_paint_handle                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);</pre>
<p>
Draws a handle as used in <a href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a> and <a href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></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>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> with of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> height of the handle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em>&#160;:</span></td>
<td> the orientation of the handle
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2706036"></a><h3>
<a name="gtk-paint-hline"></a>gtk_paint_hline ()</h3>
<a class="indexterm" name="id2706049"></a><pre class="programlisting">void        gtk_paint_hline                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<p>
Draws a horizontal line from (<em class="parameter"><code>x1</code></em>, <em class="parameter"><code>y</code></em>) to (<em class="parameter"><code>x2</code></em>, <em class="parameter"><code>y</code></em>) in <em class="parameter"><code>window</code></em>
using the given style and state.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> rectangle to which the output is clipped, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x1</code></em>&#160;:</span></td>
<td> the starting x coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
<td> the ending x coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2706347"></a><h3>
<a name="gtk-paint-option"></a>gtk_paint_option ()</h3>
<a class="indexterm" name="id2706360"></a><pre class="programlisting">void        gtk_paint_option                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a radio button indicator in the given rectangle on <em class="parameter"><code>window</code></em> with 
the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the option in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the option in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle to draw the option in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle to draw the option in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2706682"></a><h3>
<a name="gtk-paint-polygon"></a>gtk_paint_polygon ()</h3>
<a class="indexterm" name="id2706695"></a><pre class="programlisting">void        gtk_paint_polygon               (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkPoint"
>GdkPoint</a> *points,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> npoints,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> fill);</pre>
<p>
Draws a polygon on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>points</code></em>&#160;:</span></td>
<td> an array of <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkPoint"
><span class="type">GdkPoint</span></a>s
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>npoints</code></em>&#160;:</span></td>
<td> length of <em class="parameter"><code>points</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>fill</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the polygon should be filled
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2707018"></a><h3>
<a name="gtk-paint-shadow"></a>gtk_paint_shadow ()</h3>
<a class="indexterm" name="id2707031"></a><pre class="programlisting">void        gtk_paint_shadow                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a shadow around the given rectangle in <em class="parameter"><code>window</code></em> 
using the given style and state and shadow type.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2707351"></a><h3>
<a name="gtk-paint-shadow-gap"></a>gtk_paint_shadow_gap ()</h3>
<a class="indexterm" name="id2707364"></a><pre class="programlisting">void        gtk_paint_shadow_gap            (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkPositionType">GtkPositionType</a> gap_side,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gap_width);</pre>
<p>
Draws a shadow around the given rectangle in <em class="parameter"><code>window</code></em> 
using the given style and state and shadow type, leaving a 
gap in one side.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> width of the rectangle 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_side</code></em>&#160;:</span></td>
<td> side in which to leave the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_x</code></em>&#160;:</span></td>
<td> starting position of the gap
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>gap_width</code></em>&#160;:</span></td>
<td> width of the gap
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2707751"></a><h3>
<a name="gtk-paint-slider"></a>gtk_paint_slider ()</h3>
<a class="indexterm" name="id2707764"></a><pre class="programlisting">void        gtk_paint_slider                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
                                             <a href="gtk-Standard-Enumerations.html#GtkOrientation">GtkOrientation</a> orientation);</pre>
<p>
Draws a slider in the given rectangle on <em class="parameter"><code>window</code></em> using the
given style and orientation.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> a shadow
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> the x origin of the rectangle in which to draw a slider
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y origin of the rectangle in which to draw a slider
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle in which to draw a slider
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle in which to draw a slider
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em>&#160;:</span></td>
<td> the orientation to be used
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2708108"></a><h3>
<a name="gtk-paint-string"></a>gtk_paint_string ()</h3>
<a class="indexterm" name="id2708124"></a><pre class="programlisting">void        gtk_paint_string                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_paint_string</code> is deprecated and should not be used in newly-written code. Use <a href="GtkStyle.html#gtk-paint-layout"><code class="function">gtk_paint_layout()</code></a> instead.</p>
</div>
<p>
Draws a text string on <em class="parameter"><code>window</code></em> with the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>string</code></em>&#160;:</span></td>
<td> the string to draw
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2708422"></a><h3>
<a name="gtk-paint-tab"></a>gtk_paint_tab ()</h3>
<a class="indexterm" name="id2708435"></a><pre class="programlisting">void        gtk_paint_tab                   (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a href="gtk-Standard-Enumerations.html#GtkShadowType">GtkShadowType</a> shadow_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws an option menu tab (i.e. the up and down pointing arrows)
in the given rectangle on <em class="parameter"><code>window</code></em> using the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>shadow_type</code></em>&#160;:</span></td>
<td> the type of shadow to draw
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin of the rectangle to draw the tab in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin of the rectangle to draw the tab in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle to draw the tab in
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle to draw the tab in
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2708757"></a><h3>
<a name="gtk-paint-vline"></a>gtk_paint_vline ()</h3>
<a class="indexterm" name="id2708770"></a><pre class="programlisting">void        gtk_paint_vline                 (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2_,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x);</pre>
<p>
Draws a vertical line from (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y1_</code></em>) to (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y2_</code></em>) in <em class="parameter"><code>window</code></em>
using the given style and state.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> rectangle to which the output is clipped, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>y1_</code></em>&#160;:</span></td>
<td> the starting y coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y2_</code></em>&#160;:</span></td>
<td> the ending y coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> the x coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2709068"></a><h3>
<a name="gtk-paint-expander"></a>gtk_paint_expander ()</h3>
<a class="indexterm" name="id2709082"></a><pre class="programlisting">void        gtk_paint_expander              (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a href="gtk-Standard-Enumerations.html#GtkExpanderStyle">GtkExpanderStyle</a> expander_style);</pre>
<p>
Draws an expander as used in <a href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>. <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> specify the
center the expander. The size of the expander is determined by the
"expander-size" style property of <em class="parameter"><code>widget</code></em>.  (If widget is not
specified or doesn't have an "expander-size" property, an
unspecified default size will be used, since the caller doesn't
have sufficient information to position the expander, this is
likely not useful.) The expander is expander_size pixels tall
in the collapsed position and expander_size pixels wide in the
expanded position.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> the x position to draw the expander at
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y position to draw the expander at
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expander_style</code></em>&#160;:</span></td>
<td> the style to draw the expander in; determines
  whether the expander is collapsed, expanded, or in an
  intermediate state.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2709386"></a><h3>
<a name="gtk-paint-layout"></a>gtk_paint_layout ()</h3>
<a class="indexterm" name="id2709399"></a><pre class="programlisting">void        gtk_paint_layout                (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_text,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../pango/pango-Layout-Objects.html#PangoLayout"
>PangoLayout</a> *layout);</pre>
<p>
Draws a layout on <em class="parameter"><code>window</code></em> using the given parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>use_text</code></em>&#160;:</span></td>
<td> whether to use the text or foreground
           graphics context of <em class="parameter"><code>style</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>x</code></em>&#160;:</span></td>
<td> x origin
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y origin
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout</code></em>&#160;:</span></td>
<td> the layout to draw
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2709702"></a><h3>
<a name="gtk-paint-resize-grip"></a>gtk_paint_resize_grip ()</h3>
<a class="indexterm" name="id2709716"></a><pre class="programlisting">void        gtk_paint_resize_grip           (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindow"
>GdkWindow</a> *window,
                                             <a href="gtk-Standard-Enumerations.html#GtkStateType">GtkStateType</a> state_type,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *detail,
                                             <a
href="../gdk/gdk-Windows.html#GdkWindowEdge"
>GdkWindowEdge</a> edge,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Draws a resize grip in the given rectangle on <em class="parameter"><code>window</code></em> using the given
parameters.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Windows.html#GdkWindow"
><span class="type">GdkWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>state_type</code></em>&#160;:</span></td>
<td> a state
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> clip rectangle, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> the widget (may be <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>detail</code></em>&#160;:</span></td>
<td> a style detail (may be <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>edge</code></em>&#160;:</span></td>
<td> the edge in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> the x origin of the rectangle in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> the y origin of the rectangle in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em>&#160;:</span></td>
<td> the width of the rectangle in which to draw the resize grip
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>height</code></em>&#160;:</span></td>
<td> the height of the rectangle in which to draw the resize grip
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710038"></a><h3>
<a name="gtk-draw-insertion-cursor"></a>gtk_draw_insertion_cursor ()</h3>
<a class="indexterm" name="id2710055"></a><pre class="programlisting">void        gtk_draw_insertion_cursor       (<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../gdk/gdk-Drawing-Primitives.html#GdkDrawable"
>GdkDrawable</a> *drawable,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *area,
                                             <a
href="../gdk/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"
>GdkRectangle</a> *location,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_primary,
                                             <a href="GtkWidget.html#GtkTextDirection">GtkTextDirection</a> direction,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> draw_arrow);</pre>
<p>
Draws a text caret on <em class="parameter"><code>drawable</code></em> at <em class="parameter"><code>location</code></em>. This is not a style function
but merely a convenience function for drawing the standard cursor shape.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>  a <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>drawable</code></em>&#160;:</span></td>
<td> a <a
href="../gdk/gdk-Drawing-Primitives.html#GdkDrawable"
><span class="type">GdkDrawable</span></a> 
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>area</code></em>&#160;:</span></td>
<td> rectangle to which the output is clipped, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if the
       output should not be clipped
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>location</code></em>&#160;:</span></td>
<td> location where to draw the cursor (<em class="parameter"><code>location-&gt;width</code></em> is ignored)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_primary</code></em>&#160;:</span></td>
<td> if the cursor should be the primary cursor color.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>direction</code></em>&#160;:</span></td>
<td> whether the cursor is left-to-right or
            right-to-left. Should never be <span class="type">GTK_TEXT_DIR_NONE</span>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>draw_arrow</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to draw a directional arrow on the
       cursor. Should be <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> unless the cursor is split.
</td>
</tr>
</tbody>
</table></div>
<p>Since  2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710320"></a><h3>
<a name="GtkBorder"></a>GtkBorder</h3>
<a class="indexterm" name="id2710332"></a><pre class="programlisting">typedef struct {
  gint left;
  gint right;
  gint top;
  gint bottom;
} GtkBorder;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710348"></a><h3>
<a name="gtk-border-copy"></a>gtk_border_copy ()</h3>
<a class="indexterm" name="id2710360"></a><pre class="programlisting"><a href="GtkStyle.html#GtkBorder">GtkBorder</a>*  gtk_border_copy                 (const <a href="GtkStyle.html#GtkBorder">GtkBorder</a> *border_);</pre>
<p>
Copies a <a href="GtkStyle.html#GtkBorder"><span class="type">GtkBorder</span></a> structure.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>border_</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html#GtkBorder"><span class="type">GtkBorder</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a copy of <em class="parameter"><code>border_</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710442"></a><h3>
<a name="gtk-border-free"></a>gtk_border_free ()</h3>
<a class="indexterm" name="id2710454"></a><pre class="programlisting">void        gtk_border_free                 (<a href="GtkStyle.html#GtkBorder">GtkBorder</a> *border_);</pre>
<p>
Frees a <a href="GtkStyle.html#GtkBorder"><span class="type">GtkBorder</span></a> structure.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>border_</code></em>&#160;:</span></td>
<td> a <a href="GtkStyle.html#GtkBorder"><span class="type">GtkBorder</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710520"></a><h3>
<a name="GtkRcProperty"></a>GtkRcProperty</h3>
<a class="indexterm" name="id2710532"></a><pre class="programlisting">typedef struct {
  /* quark-ified property identifier like "GtkScrollbar::spacing" */
  GQuark type_name;
  GQuark property_name;

  /* fields similar to GtkSettingsValue */
  gchar *origin;
  GValue value;
} GtkRcProperty;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710551"></a><h3>
<a name="GtkRcPropertyParser"></a>GtkRcPropertyParser ()</h3>
<a class="indexterm" name="id2710564"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    (*GtkRcPropertyParser)          (const <a
href="../gobject/gobject-GParamSpec.html#GParamSpec"
>GParamSpec</a> *pspec,
                                             const <a
href="../glib/glib-Strings.html#GString"
>GString</a> *rc_string,
                                             <a
href="../gobject/gobject-Generic-values.html#GValue"
>GValue</a> *property_value);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>pspec</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rc_string</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>property_value</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2710664"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2710674"></a><h3>
<a name="GtkStyle-realize"></a>The "realize" signal</h3>
<a class="indexterm" name="id2710685"></a><pre class="programlisting">void        user_function                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run first</pre>
<p>
Emitted when the style has been initialized for a particular
colormap and depth. Connecting to this signal is probably seldom
useful since most of the time applications and widgets only
deal with styles that have been already realized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since  2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2710764"></a><h3>
<a name="GtkStyle-unrealize"></a>The "unrealize" signal</h3>
<a class="indexterm" name="id2710775"></a><pre class="programlisting">void        user_function                  (<a href="GtkStyle.html" title="Styles">GtkStyle</a> *style,
                                            <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run first</pre>
<p>
Emitted when the aspects of the style specific to a particular colormap
and depth are being cleaned up. A connection to this signal can be useful
if a widget wants to cache objects like a <a
href="../gdk/gdk-Graphics-Contexts.html#GdkGC"
><span class="type">GdkGC</span></a> as object data on <a href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a>.
This signal provides a convenient place to free such cached objects.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>style</code></em>&#160;:</span></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since  2.4
</p>
</div>
</div>
</div>
</body>
</html>

Anon7 - 2021