1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>GTK+ Foundation Classes</title>
<link href="gfc.css" rel="stylesheet" type="text/css">
<meta content="The GFC Development Team" name="author">
<meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
alt="GFC Logo" src="../images/gfc.png"
style="width: 207px; height: 92px;"></td>
<td
style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
alt="GFC Title Logo" src="../images/gfc-title.png"
style="width: 418px; height: 76px;"><br>
</td>
</tr>
<tr>
<td
style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
</td>
<td
style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
style="font-family: helvetica,arial,sans-serif;"><a
href="../html/index.html">Main Page</a> | <a
href="../html/namespaces.html">Namespace List</a> | <a
href="classes.html">Alphabetical List</a> | <a
href="../html/annotated.html">Class List</a> | <a
href="../html/files.html">File List</a></small><br>
</td>
</tr>
</tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>widget.hh File Reference</h1>A GtkWidget C++ wrapper interface. <a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="implementor_8hh-source.html">gfc/atk/implementor.hh</a>></code><br>
<code>#include <<a class="el" href="adjustment_8hh-source.html">gfc/gtk/adjustment.hh</a>></code><br>
<code>#include <<a class="el" href="enums_8hh-source.html">gfc/gtk/enums.hh</a>></code><br>
<code>#include <<a class="el" href="events_8hh-source.html">gfc/gdk/events.hh</a>></code><br>
<code>#include <<a class="el" href="gtk_2selection_8hh-source.html">gfc/gtk/selection.hh</a>></code><br>
<code>#include <gfc/gtk/inline/widget.inl></code><br>
<p>
<a href="widget_8hh-source.html">Go to the source code of this file.</a><h2>Namespaces</h2>
<ul>
<li>namespace <a class="elRef" doxygen="gfccore.tag:" href="namespaceGFC.html">GFC</a>
<li>namespace <a class="el" href="namespaceGFC_1_1Atk.html">GFC::Atk</a>
<li>namespace <a class="el" href="namespaceGFC_1_1Gdk.html">GFC::Gdk</a>
<li>namespace <a class="elRef" doxygen="gfccore.tag:" href="namespaceGFC::G.html">GFC::G</a>
<li>namespace <a class="el" href="namespaceGFC_1_1Pango.html">GFC::Pango</a>
<li>namespace <a class="el" href="namespaceGFC_1_1Gtk.html">GFC::Gtk</a>
</ul>
<h2>Classes</h2>
<ul>
<li>class <a class="el" href="classGFC_1_1Gtk_1_1Allocation.html">GFC::Gtk::Allocation</a>
<dl class="el"><dd class="mdescRight">A GtkAllocation C++ wrapper class. <a href="classGFC_1_1Gtk_1_1Allocation.html#_details">More...</a><br></dl><li>class <a class="el" href="classGFC_1_1Gtk_1_1Requisition.html">GFC::Gtk::Requisition</a>
<dl class="el"><dd class="mdescRight">A GtkRequisition C++ wrapper class. <a href="classGFC_1_1Gtk_1_1Requisition.html#_details">More...</a><br></dl><li>class <a class="el" href="classGFC_1_1Gtk_1_1Widget.html">GFC::Gtk::Widget</a>
<dl class="el"><dd class="mdescRight">A GtkWidget C++ wrapper class. <a href="classGFC_1_1Gtk_1_1Widget.html#_details">More...</a><br></dl></ul>
<h2>Typedefs</h2>
<ul>
<li><a class="anchor" name="a270" doxytag="widget.hh::WidgetFlagsField" ></a>
typedef unsigned int <a class="el" href="namespaceGFC_1_1Gtk.html#a270">WidgetFlagsField</a>
<dl class="el"><dd class="mdescRight">WidgetFlagsField holds one or more values from the <a class="el" href="namespaceGFC_1_1Gtk.html#a366">Gtk::WidgetFlags</a> enumeration OR'd together. <br></dl></ul>
<h2>Enumerations</h2>
<ul>
<li>enum <a class="el" href="namespaceGFC_1_1Gtk.html#a366">WidgetFlags</a> { <br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a271">TOP_LEVEL</a> = GTK_TOPLEVEL,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a272">NO_WINDOW</a> = GTK_NO_WINDOW,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a273">REALIZED</a> = GTK_REALIZED,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a274">MAPPED</a> = GTK_MAPPED,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a275">VISIBLE</a> = GTK_VISIBLE,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a276">SENSITIVE</a> = GTK_SENSITIVE,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a277">PARENT_SENSITIVE</a> = GTK_PARENT_SENSITIVE,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a278">CAN_FOCUS</a> = GTK_CAN_FOCUS,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a279">HAS_FOCUS</a> = GTK_HAS_FOCUS,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a280">CAN_DEFAULT</a> = GTK_CAN_DEFAULT,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a281">HAS_DEFAULT</a> = GTK_HAS_DEFAULT,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a282">HAS_GRAB</a> = GTK_HAS_GRAB,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a283">RC_STYLE</a> = GTK_RC_STYLE,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a284">COMPOSITE_CHILD</a> = GTK_COMPOSITE_CHILD,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a285">NO_REPARENT</a> = GTK_NO_REPARENT,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a286">APP_PAINTABLE</a> = GTK_APP_PAINTABLE,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a287">RECEIVES_DEFAULT</a> = GTK_RECEIVES_DEFAULT,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a288">DOUBLE_BUFFERED</a> = GTK_DOUBLE_BUFFERED,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a366a289">NO_SHOW_ALL</a> = GTK_NO_SHOW_ALL
<br>
}
<dl class="el"><dd class="mdescRight">WidgetFlags tells about certain properties of the widget. <a href="#a366">More...</a><br></dl><li>enum <a class="el" href="namespaceGFC_1_1Gtk.html#a367">WidgetHelpType</a> { <br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a367a290">WIDGET_HELP_TOOLTIP</a> = GTK_WIDGET_HELP_TOOLTIP,
<br>
<a class="el" href="namespaceGFC_1_1Gtk.html#a367a291">WIDGET_HELP_WHATS_THIS</a> = GTK_WIDGET_HELP_WHATS_THIS
<br>
}
<dl class="el"><dd class="mdescRight">WidgetHelpType defines the type of help, either tooltip or "What's this". <a href="#a367">More...</a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkWidget C++ wrapper interface.
<p>
Provides Widget, the base class for widgets that make up the GTK+ graphical user interface, such as windows, menus, buttons, scrollbars editors, drawing areas, and so on.<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="a366" doxytag="widget.hh::WidgetFlags" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Gtk.html#a366">WidgetFlags</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
WidgetFlags tells about certain properties of the widget.
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a366a271" doxytag="TOP_LEVEL" ></a>TOP_LEVEL</em> </td><td>
Widgets without a real parent, such as Windows and Menus have this flag set throughout their lifetime; Toplevel widgets always contain their own <a class="el" href="classGFC_1_1Gdk_1_1Window.html">Gdk::Window</a>. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a272" doxytag="NO_WINDOW" ></a>NO_WINDOW</em> </td><td>
Indicative for a widget that does not provide its own <a class="el" href="classGFC_1_1Gdk_1_1Window.html">Gdk::Window</a>; For such widgets, visible actions (such as drawing) are performed on the parent's <a class="el" href="classGFC_1_1Gdk_1_1Window.html">Gdk::Window</a>. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a273" doxytag="REALIZED" ></a>REALIZED</em> </td><td>
Set by realize(), unset by unrealize(); A realized widget has an associated <a class="el" href="classGFC_1_1Gdk_1_1Window.html">Gdk::Window</a>. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a274" doxytag="MAPPED" ></a>MAPPED</em> </td><td>
Set by map(), unset by unmap(); Only realized widgets can be mapped; It means that show() has been called on the widgets window(s). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a275" doxytag="VISIBLE" ></a>VISIBLE</em> </td><td>
Set by show(), unset by hide(); Implies that a widget will be mapped as soon as its parent is mapped. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a276" doxytag="SENSITIVE" ></a>SENSITIVE</em> </td><td>
Set and unset by set_sensitive(); The sensitivity of a widget determines whether it will receive certain events (such as button or key presses); One premise for the widget's sensitivity is to have this flag set. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a277" doxytag="PARENT_SENSITIVE" ></a>PARENT_SENSITIVE</em> </td><td>
Set and unset by set_sensitive() operations on the parents of the widget; This is the second premise for the widget's sensitivity; Once it has SENSITIVE and PARENT_SENSITIVE set, its state is effectively sensitive and <a class="el" href="classGFC_1_1Gtk_1_1Widget.html#z1052_10">Gtk::Widget::is_sensitive()</a> will return true. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a278" doxytag="CAN_FOCUS" ></a>CAN_FOCUS</em> </td><td>
Determines whether a widget is able to handle focus grabs. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a279" doxytag="HAS_FOCUS" ></a>HAS_FOCUS</em> </td><td>
Set by grab_focus() for widgets that also have CAN_FOCUS set; This flag will be unset once another widget grabs the focus. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a280" doxytag="CAN_DEFAULT" ></a>CAN_DEFAULT</em> </td><td>
The widget is allowed to receive the default action via grab_default(). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a281" doxytag="HAS_DEFAULT" ></a>HAS_DEFAULT</em> </td><td>
The widget currently is receiving the default action. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a282" doxytag="HAS_GRAB" ></a>HAS_GRAB</em> </td><td>
Set by gtk_grab_add(), unset by gtk_grab_remove(); It means that the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a283" doxytag="RC_STYLE" ></a>RC_STYLE</em> </td><td>
Indicates that the widgets style has been looked up through the rc mechanism; It does not imply that the widget actually had a style defined through the rc mechanism. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a284" doxytag="COMPOSITE_CHILD" ></a>COMPOSITE_CHILD</em> </td><td>
Indicates that the widget is a composite child of its parent; see push_composite_child(), pop_composite_child(). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a285" doxytag="NO_REPARENT" ></a>NO_REPARENT</em> </td><td>
Unused since before GTK+ 1.2, will be removed in a future version. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a286" doxytag="APP_PAINTABLE" ></a>APP_PAINTABLE</em> </td><td>
Set and unset by set_app_paintable(); Must be set on widgets whose window the application directly draws on, in order to keep GTK+ from overwriting the drawn stuff. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a287" doxytag="RECEIVES_DEFAULT" ></a>RECEIVES_DEFAULT</em> </td><td>
The widget when focused will receive the default action and have HAS_DEFAULT set even if there is a different widget set as default. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a288" doxytag="DOUBLE_BUFFERED" ></a>DOUBLE_BUFFERED</em> </td><td>
Set and unset by set_double_buffered(); Indicates that exposes done on the widget should be double-buffered. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a366a289" doxytag="NO_SHOW_ALL" ></a>NO_SHOW_ALL</em> </td><td>
The "no_show_all" property, which determines whether calls to show_all() and hide_all() will affect this widget (see <a class="el" href="classGFC_1_1Gtk_1_1Widget.html#z1053_9">Gtk::Widget::set_no_show_all()</a>). </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a367" doxytag="widget.hh::WidgetHelpType" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Gtk.html#a367">WidgetHelpType</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
WidgetHelpType defines the type of help, either tooltip or "What's this".
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a367a290" doxytag="WIDGET_HELP_TOOLTIP" ></a>WIDGET_HELP_TOOLTIP</em> </td><td>
Tooltip help. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a367a291" doxytag="WIDGET_HELP_WHATS_THIS" ></a>WIDGET_HELP_WHATS_THIS</em> </td><td>
"What's this" help. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:34 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>
|