New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
|
||||
<link rel="prev" href="GtkCellAreaContext.html" title="GtkCellAreaContext">
|
||||
<link rel="next" href="GtkCellEditable.html" title="GtkCellEditable">
|
||||
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-activate" title="gtk_cell_renderer_activate ()">gtk_cell_renderer_activate</a> <span class="c_punctuation">()</span>
|
||||
@ -116,7 +116,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-get-visible" title="gtk_cell_renderer_get_visible ()">gtk_cell_renderer_get_visible</a> <span class="c_punctuation">()</span>
|
||||
@ -132,7 +132,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-get-sensitive" title="gtk_cell_renderer_get_sensitive ()">gtk_cell_renderer_get_sensitive</a> <span class="c_punctuation">()</span>
|
||||
@ -188,7 +188,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-is-activatable" title="gtk_cell_renderer_is_activatable ()">gtk_cell_renderer_is_activatable</a> <span class="c_punctuation">()</span>
|
||||
@ -256,7 +256,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background" title="The “cell-background” property">cell-background</a></td>
|
||||
<td class="property_flags">Write</td>
|
||||
</tr>
|
||||
@ -268,32 +268,32 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="../gdk4/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</td>
|
||||
<span class="type">GdkRGBA</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-rgba" title="The “cell-background-rgba” property">cell-background-rgba</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--cell-background-set" title="The “cell-background-set” property">cell-background-set</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--editing" title="The “editing” property">editing</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--height" title="The “height” property">height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--is-expanded" title="The “is-expanded” property">is-expanded</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--is-expander" title="The “is-expander” property">is-expander</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -303,37 +303,37 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--sensitive" title="The “sensitive” property">sensitive</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--visible" title="The “visible” property">visible</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--width" title="The “width” property">width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td>
|
||||
<td class="property_type"><span class="type">gfloat</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--xalign" title="The “xalign” property">xalign</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--xpad" title="The “xpad” property">xpad</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td>
|
||||
<td class="property_type"><span class="type">gfloat</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--yalign" title="The “yalign” property">yalign</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer--ypad" title="The “ypad” property">ypad</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -352,12 +352,12 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer-editing-canceled" title="The “editing-canceled” signal">editing-canceled</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkCellRenderer.html#GtkCellRenderer-editing-started" title="The “editing-started” signal">editing-started</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -391,8 +391,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkCellRenderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> GtkCellRenderer
|
||||
<span class="lineart">├──</span> <a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText">GtkCellRendererText</a>
|
||||
<span class="lineart">├──</span> <a class="link" href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf">GtkCellRendererPixbuf</a>
|
||||
@ -417,7 +417,7 @@ specific way. It is worth noting that <a class="link" href="GtkCellRenderer.htm
|
||||
elements on a <span class="type">cairo_t</span>. Typically, one cell renderer is used to
|
||||
draw many cells on the screen. To this extent, it isn’t expected that a
|
||||
CellRenderer keep any permanent state around. Instead, any state is set
|
||||
just prior to use using <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObjects</span></a> property system. Then, the
|
||||
just prior to use using <span class="type">GObjects</span> property system. Then, the
|
||||
cell is measured using <a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-get-size" title="gtk_cell_renderer_get_size ()"><code class="function">gtk_cell_renderer_get_size()</code></a>. Finally, the cell
|
||||
is rendered in the correct location using <a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-render" title="gtk_cell_renderer_render ()"><code class="function">gtk_cell_renderer_render()</code></a>.</p>
|
||||
<p>There are a number of rules that must be followed when writing a new
|
||||
@ -446,7 +446,7 @@ has been set or not. You should not set them independently.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_class_set_accessible_type
|
||||
(<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererClass" title="struct GtkCellRendererClass"><span class="type">GtkCellRendererClass</span></a> *renderer_class</code></em>,
|
||||
<em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GType</span> type</code></em>);</pre>
|
||||
<p>Sets the type to be used for creating accessibles for cells rendered by
|
||||
cell renderers of <em class="parameter"><code>renderer_class</code></em>
|
||||
. Note that multiple accessibles will
|
||||
@ -485,8 +485,8 @@ The type must be a subtype of <span class="type">GtkRendererCellAccessible</span
|
||||
gtk_cell_renderer_get_aligned_area (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
||||
<em class="parameter"><code><a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *aligned_area</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkRectangle</span> *aligned_area</code></em>);</pre>
|
||||
<p>Gets the aligned area used by <em class="parameter"><code>cell</code></em>
|
||||
inside <em class="parameter"><code>cell_area</code></em>
|
||||
. Used for finding
|
||||
@ -522,7 +522,7 @@ the appropriate edit and focus rectangle.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>aligned_area</p></td>
|
||||
<td class="parameter_description"><p> the return location for the space inside <em class="parameter"><code>cell_area</code></em>
|
||||
<td class="parameter_description"><p>the return location for the space inside <em class="parameter"><code>cell_area</code></em>
|
||||
that would acually be used to render. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -537,11 +537,11 @@ that would acually be used to render. </p></td>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_get_size (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_offset</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y_offset</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_cell_renderer_get_size</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-get-preferred-size" title="gtk_cell_renderer_get_preferred_size ()"><code class="function">gtk_cell_renderer_get_preferred_size()</code></a> instead.</p>
|
||||
@ -549,7 +549,7 @@ gtk_cell_renderer_get_size (<em class="parameter"><code><a class="link" href="Gt
|
||||
<p>Obtains the width and height needed to render the cell. Used by view
|
||||
widgets to determine the appropriate size for the cell_area passed to
|
||||
<a class="link" href="GtkCellRenderer.html#gtk-cell-renderer-render" title="gtk_cell_renderer_render ()"><code class="function">gtk_cell_renderer_render()</code></a>. If <em class="parameter"><code>cell_area</code></em>
|
||||
is not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, fills in the
|
||||
is not <code class="literal">NULL</code>, fills in the
|
||||
x and y offsets (if set) of the cell relative to this location. </p>
|
||||
<p>Please note that the values set in <em class="parameter"><code>width</code></em>
|
||||
and <em class="parameter"><code>height</code></em>
|
||||
@ -578,29 +578,29 @@ in <em class="parameter"><code>x_offset</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>cell_area</p></td>
|
||||
<td class="parameter_description"><p> The area a cell will be allocated, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>The area a cell will be allocated, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>x_offset</p></td>
|
||||
<td class="parameter_description"><p> location to return x offset of cell relative to <em class="parameter"><code>cell_area</code></em>
|
||||
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to return x offset of cell relative to <em class="parameter"><code>cell_area</code></em>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>y_offset</p></td>
|
||||
<td class="parameter_description"><p> location to return y offset of cell relative to <em class="parameter"><code>cell_area</code></em>
|
||||
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to return y offset of cell relative to <em class="parameter"><code>cell_area</code></em>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>width</p></td>
|
||||
<td class="parameter_description"><p> location to return width needed to render a cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to return width needed to render a cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>height</p></td>
|
||||
<td class="parameter_description"><p> location to return height needed to render a cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to return height needed to render a cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -614,8 +614,8 @@ in <em class="parameter"><code>x_offset</code></em>
|
||||
gtk_cell_renderer_render (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||
<p>Invokes the virtual render function of the <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>. The three
|
||||
passed-in rectangles are areas in <em class="parameter"><code>cr</code></em>
|
||||
@ -678,13 +678,13 @@ padding on the sides)</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-cell-renderer-activate"></a><h3>gtk_cell_renderer_activate ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_cell_renderer_activate (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../gdk4/gdk4-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||
<p>Passes an activate event to the cell renderer for possible processing.
|
||||
Some cell renderers may use events; for example, <a class="link" href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>
|
||||
@ -705,7 +705,7 @@ toggles when it gets a mouse click.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>event</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../gdk4/gdk4-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GdkEvent</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -739,7 +739,7 @@ e.g. for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-activate.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event was consumed/handled</p>
|
||||
<p> <code class="literal">TRUE</code> if the event was consumed/handled</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -747,11 +747,11 @@ e.g. for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class
|
||||
<a name="gtk-cell-renderer-start-editing"></a><h3>gtk_cell_renderer_start_editing ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="returnvalue">GtkCellEditable</span></a> *
|
||||
gtk_cell_renderer_start_editing (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../gdk4/gdk4-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
||||
<em class="parameter"><code>const <a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *background_area</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title="enum GtkCellRendererState"><span class="type">GtkCellRendererState</span></a> flags</code></em>);</pre>
|
||||
<p>Passes an activate event to the cell renderer for possible processing.</p>
|
||||
<div class="refsect3">
|
||||
@ -770,7 +770,7 @@ gtk_cell_renderer_start_editing (<em class="parameter"><code><a class="link" hre
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>event</p></td>
|
||||
<td class="parameter_description"><p> a <a href="../gdk4/gdk4-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>. </p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GdkEvent</span>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -804,7 +804,7 @@ e.g. for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-start-editing.returns"></a><h4>Returns</h4>
|
||||
<p> A new <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>A new <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -813,10 +813,10 @@ e.g. for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class
|
||||
<a name="gtk-cell-renderer-stop-editing"></a><h3>gtk_cell_renderer_stop_editing ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_stop_editing (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> canceled</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> canceled</code></em>);</pre>
|
||||
<p>Informs the cell renderer that the editing is stopped.
|
||||
If <em class="parameter"><code>canceled</code></em>
|
||||
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the cell renderer will emit the
|
||||
is <code class="literal">TRUE</code>, the cell renderer will emit the
|
||||
<a class="link" href="GtkCellRenderer.html#GtkCellRenderer-editing-canceled" title="The “editing-canceled” signal"><span class="type">“editing-canceled”</span></a> signal. </p>
|
||||
<p>This function should be called by cell renderer implementations
|
||||
in response to the <a class="link" href="GtkCellEditable.html#GtkCellEditable-editing-done" title="The “editing-done” signal"><span class="type">“editing-done”</span></a> signal of
|
||||
@ -837,7 +837,7 @@ in response to the <a class="link" href="GtkCellEditable.html#GtkCellEditable-ed
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>canceled</p></td>
|
||||
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the editing has been canceled</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> if the editing has been canceled</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -850,8 +850,8 @@ in response to the <a class="link" href="GtkCellEditable.html#GtkCellEditable-ed
|
||||
<a name="gtk-cell-renderer-get-fixed-size"></a><h3>gtk_cell_renderer_get_fixed_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_get_fixed_size (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *height</code></em>);</pre>
|
||||
<p>Fills in <em class="parameter"><code>width</code></em>
|
||||
and <em class="parameter"><code>height</code></em>
|
||||
with the appropriate size of <em class="parameter"><code>cell</code></em>
|
||||
@ -872,12 +872,12 @@ gtk_cell_renderer_get_fixed_size (<em class="parameter"><code><a class="link" hr
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>width</p></td>
|
||||
<td class="parameter_description"><p> location to fill in with the fixed width of the cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to fill in with the fixed width of the cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>height</p></td>
|
||||
<td class="parameter_description"><p> location to fill in with the fixed height of the cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to fill in with the fixed height of the cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -889,8 +889,8 @@ gtk_cell_renderer_get_fixed_size (<em class="parameter"><code><a class="link" hr
|
||||
<a name="gtk-cell-renderer-set-fixed-size"></a><h3>gtk_cell_renderer_set_fixed_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_set_fixed_size (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Sets the renderer size to be explicit, independent of the properties set.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-set-fixed-size.parameters"></a><h4>Parameters</h4>
|
||||
@ -923,7 +923,7 @@ gtk_cell_renderer_set_fixed_size (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-cell-renderer-get-visible"></a><h3>gtk_cell_renderer_get_visible ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_cell_renderer_get_visible (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);</pre>
|
||||
<p>Returns the cell renderer’s visibility.</p>
|
||||
<div class="refsect3">
|
||||
@ -943,7 +943,7 @@ gtk_cell_renderer_get_visible (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-get-visible.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cell renderer is visible</p>
|
||||
<p> <code class="literal">TRUE</code> if the cell renderer is visible</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.18</p>
|
||||
</div>
|
||||
@ -952,7 +952,7 @@ gtk_cell_renderer_get_visible (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-cell-renderer-set-visible"></a><h3>gtk_cell_renderer_set_visible ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_set_visible (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> visible</code></em>);</pre>
|
||||
<p>Sets the cell renderer’s visibility.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-set-visible.parameters"></a><h4>Parameters</h4>
|
||||
@ -981,7 +981,7 @@ gtk_cell_renderer_set_visible (<em class="parameter"><code><a class="link" href=
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-cell-renderer-get-sensitive"></a><h3>gtk_cell_renderer_get_sensitive ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_cell_renderer_get_sensitive (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);</pre>
|
||||
<p>Returns the cell renderer’s sensitivity.</p>
|
||||
<div class="refsect3">
|
||||
@ -1001,7 +1001,7 @@ gtk_cell_renderer_get_sensitive (<em class="parameter"><code><a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-get-sensitive.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cell renderer is sensitive</p>
|
||||
<p> <code class="literal">TRUE</code> if the cell renderer is sensitive</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.18</p>
|
||||
</div>
|
||||
@ -1010,7 +1010,7 @@ gtk_cell_renderer_get_sensitive (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-cell-renderer-set-sensitive"></a><h3>gtk_cell_renderer_set_sensitive ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_set_sensitive (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> sensitive</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> sensitive</code></em>);</pre>
|
||||
<p>Sets the cell renderer’s sensitivity.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-set-sensitive.parameters"></a><h4>Parameters</h4>
|
||||
@ -1041,8 +1041,8 @@ gtk_cell_renderer_set_sensitive (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-cell-renderer-get-alignment"></a><h3>gtk_cell_renderer_get_alignment ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_get_alignment (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *xalign</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *yalign</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gfloat</span> *xalign</code></em>,
|
||||
<em class="parameter"><code><span class="type">gfloat</span> *yalign</code></em>);</pre>
|
||||
<p>Fills in <em class="parameter"><code>xalign</code></em>
|
||||
and <em class="parameter"><code>yalign</code></em>
|
||||
with the appropriate values of <em class="parameter"><code>cell</code></em>
|
||||
@ -1063,12 +1063,12 @@ gtk_cell_renderer_get_alignment (<em class="parameter"><code><a class="link" hre
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>xalign</p></td>
|
||||
<td class="parameter_description"><p> location to fill in with the x alignment of the cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to fill in with the x alignment of the cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>yalign</p></td>
|
||||
<td class="parameter_description"><p> location to fill in with the y alignment of the cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to fill in with the y alignment of the cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1081,8 +1081,8 @@ gtk_cell_renderer_get_alignment (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-cell-renderer-set-alignment"></a><h3>gtk_cell_renderer_set_alignment ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_set_alignment (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> yalign</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gfloat</span> xalign</code></em>,
|
||||
<em class="parameter"><code><span class="type">gfloat</span> yalign</code></em>);</pre>
|
||||
<p>Sets the renderer’s alignment within its available space.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-set-alignment.parameters"></a><h4>Parameters</h4>
|
||||
@ -1118,8 +1118,8 @@ gtk_cell_renderer_set_alignment (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-cell-renderer-get-padding"></a><h3>gtk_cell_renderer_get_padding ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_get_padding (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *xpad</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *ypad</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *xpad</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *ypad</code></em>);</pre>
|
||||
<p>Fills in <em class="parameter"><code>xpad</code></em>
|
||||
and <em class="parameter"><code>ypad</code></em>
|
||||
with the appropriate values of <em class="parameter"><code>cell</code></em>
|
||||
@ -1140,12 +1140,12 @@ gtk_cell_renderer_get_padding (<em class="parameter"><code><a class="link" href=
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>xpad</p></td>
|
||||
<td class="parameter_description"><p> location to fill in with the x padding of the cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to fill in with the x padding of the cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>ypad</p></td>
|
||||
<td class="parameter_description"><p> location to fill in with the y padding of the cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to fill in with the y padding of the cell, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1158,8 +1158,8 @@ gtk_cell_renderer_get_padding (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-cell-renderer-set-padding"></a><h3>gtk_cell_renderer_set_padding ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_set_padding (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xpad</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ypad</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> xpad</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> ypad</code></em>);</pre>
|
||||
<p>Sets the renderer’s padding.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-set-padding.parameters"></a><h4>Parameters</h4>
|
||||
@ -1211,12 +1211,12 @@ the given <a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>cell</p></td>
|
||||
<td class="parameter_description"><p> a <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>widget</p></td>
|
||||
<td class="parameter_description"><p> a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1237,7 +1237,7 @@ the given <a class="link" href="GtkCellRenderer.html#GtkCellRendererState" title
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-cell-renderer-is-activatable"></a><h3>gtk_cell_renderer_is_activatable ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_cell_renderer_is_activatable (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);</pre>
|
||||
<p>Checks whether the cell renderer can do something when activated.</p>
|
||||
<div class="refsect3">
|
||||
@ -1257,7 +1257,7 @@ gtk_cell_renderer_is_activatable (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-cell-renderer-is-activatable.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cell renderer can do anything when activated</p>
|
||||
<p> <code class="literal">TRUE</code> if the cell renderer can do anything when activated</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -1268,8 +1268,8 @@ gtk_cell_renderer_is_activatable (<em class="parameter"><code><a class="link" hr
|
||||
gtk_cell_renderer_get_preferred_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *minimum_size</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *natural_size</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *minimum_size</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *natural_size</code></em>);</pre>
|
||||
<p>Retreives a renderer’s natural size when rendered to <em class="parameter"><code>widget</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -1293,12 +1293,12 @@ gtk_cell_renderer_get_preferred_height
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>minimum_size</p></td>
|
||||
<td class="parameter_description"><p> location to store the minimum size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to store the minimum size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>natural_size</p></td>
|
||||
<td class="parameter_description"><p> location to store the natural size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to store the natural size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1313,9 +1313,9 @@ gtk_cell_renderer_get_preferred_height
|
||||
gtk_cell_renderer_get_preferred_height_for_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *minimum_height</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *natural_height</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *minimum_height</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *natural_height</code></em>);</pre>
|
||||
<p>Retreives a cell renderers’s minimum and natural height if it were rendered to
|
||||
<em class="parameter"><code>widget</code></em>
|
||||
with the specified <em class="parameter"><code>width</code></em>
|
||||
@ -1346,12 +1346,12 @@ gtk_cell_renderer_get_preferred_height_for_width
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>minimum_height</p></td>
|
||||
<td class="parameter_description"><p> location for storing the minimum size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location for storing the minimum size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>natural_height</p></td>
|
||||
<td class="parameter_description"><p> location for storing the preferred size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location for storing the preferred size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1390,12 +1390,12 @@ into account the widget’s preference for height-for-width management.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>minimum_size</p></td>
|
||||
<td class="parameter_description"><p> location for storing the minimum size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location for storing the minimum size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>natural_size</p></td>
|
||||
<td class="parameter_description"><p> location for storing the natural size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location for storing the natural size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1409,8 +1409,8 @@ into account the widget’s preference for height-for-width management.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_cell_renderer_get_preferred_width (<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *minimum_size</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *natural_size</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *minimum_size</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *natural_size</code></em>);</pre>
|
||||
<p>Retreives a renderer’s natural size when rendered to <em class="parameter"><code>widget</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -1434,12 +1434,12 @@ gtk_cell_renderer_get_preferred_width (<em class="parameter"><code><a class="lin
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>minimum_size</p></td>
|
||||
<td class="parameter_description"><p> location to store the minimum size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to store the minimum size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>natural_size</p></td>
|
||||
<td class="parameter_description"><p> location to store the natural size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location to store the natural size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1454,9 +1454,9 @@ gtk_cell_renderer_get_preferred_width (<em class="parameter"><code><a class="lin
|
||||
gtk_cell_renderer_get_preferred_width_for_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *minimum_width</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *natural_width</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *minimum_width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *natural_width</code></em>);</pre>
|
||||
<p>Retreives a cell renderers’s minimum and natural width if it were rendered to
|
||||
<em class="parameter"><code>widget</code></em>
|
||||
with the specified <em class="parameter"><code>height</code></em>
|
||||
@ -1487,12 +1487,12 @@ gtk_cell_renderer_get_preferred_width_for_height
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>minimum_width</p></td>
|
||||
<td class="parameter_description"><p> location for storing the minimum size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location for storing the minimum size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>natural_width</p></td>
|
||||
<td class="parameter_description"><p> location for storing the preferred size, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>location for storing the preferred size, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1788,7 +1788,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<a name="GtkCellRenderer.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--cell-background"></a><h3>The <code class="literal">“cell-background”</code> property</h3>
|
||||
<pre class="programlisting"> “cell-background” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “cell-background” <span class="type">gchar</span> *</pre>
|
||||
<p>Cell background color as a string.</p>
|
||||
<p>Flags: Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -1807,15 +1807,15 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--cell-background-rgba"></a><h3>The <code class="literal">“cell-background-rgba”</code> property</h3>
|
||||
<pre class="programlisting"> “cell-background-rgba” <a href="../gdk4/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *</pre>
|
||||
<p>Cell background as a <a href="../gdk4/gdk4-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a></p>
|
||||
<pre class="programlisting"> “cell-background-rgba” <span class="type">GdkRGBA</span> *</pre>
|
||||
<p>Cell background as a <span class="type">GdkRGBA</span></p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--cell-background-set"></a><h3>The <code class="literal">“cell-background-set”</code> property</h3>
|
||||
<pre class="programlisting"> “cell-background-set” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “cell-background-set” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the cell background color is set.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1823,7 +1823,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--editing"></a><h3>The <code class="literal">“editing”</code> property</h3>
|
||||
<pre class="programlisting"> “editing” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “editing” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the cell renderer is currently in editing mode.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1831,7 +1831,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--height"></a><h3>The <code class="literal">“height”</code> property</h3>
|
||||
<pre class="programlisting"> “height” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “height” <span class="type">gint</span></pre>
|
||||
<p>The fixed height.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
@ -1840,7 +1840,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--is-expanded"></a><h3>The <code class="literal">“is-expanded”</code> property</h3>
|
||||
<pre class="programlisting"> “is-expanded” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “is-expanded” <span class="type">gboolean</span></pre>
|
||||
<p>Row is an expander row, and is expanded.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1848,7 +1848,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--is-expander"></a><h3>The <code class="literal">“is-expander”</code> property</h3>
|
||||
<pre class="programlisting"> “is-expander” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “is-expander” <span class="type">gboolean</span></pre>
|
||||
<p>Row has children.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1864,7 +1864,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--sensitive"></a><h3>The <code class="literal">“sensitive”</code> property</h3>
|
||||
<pre class="programlisting"> “sensitive” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “sensitive” <span class="type">gboolean</span></pre>
|
||||
<p>Display the cell sensitive.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -1872,7 +1872,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--visible"></a><h3>The <code class="literal">“visible”</code> property</h3>
|
||||
<pre class="programlisting"> “visible” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “visible” <span class="type">gboolean</span></pre>
|
||||
<p>Display the cell.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -1880,7 +1880,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--width"></a><h3>The <code class="literal">“width”</code> property</h3>
|
||||
<pre class="programlisting"> “width” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “width” <span class="type">gint</span></pre>
|
||||
<p>The fixed width.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
@ -1889,7 +1889,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--xalign"></a><h3>The <code class="literal">“xalign”</code> property</h3>
|
||||
<pre class="programlisting"> “xalign” <a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre>
|
||||
<pre class="programlisting"> “xalign” <span class="type">gfloat</span></pre>
|
||||
<p>The x-align.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,1]</p>
|
||||
@ -1898,7 +1898,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--xpad"></a><h3>The <code class="literal">“xpad”</code> property</h3>
|
||||
<pre class="programlisting"> “xpad” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<pre class="programlisting"> “xpad” <span class="type">guint</span></pre>
|
||||
<p>The xpad.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1906,7 +1906,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--yalign"></a><h3>The <code class="literal">“yalign”</code> property</h3>
|
||||
<pre class="programlisting"> “yalign” <a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre>
|
||||
<pre class="programlisting"> “yalign” <span class="type">gfloat</span></pre>
|
||||
<p>The y-align.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,1]</p>
|
||||
@ -1915,7 +1915,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkCellRenderer--ypad"></a><h3>The <code class="literal">“ypad”</code> property</h3>
|
||||
<pre class="programlisting"> “ypad” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<pre class="programlisting"> “ypad” <span class="type">guint</span></pre>
|
||||
<p>The ypad.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1927,7 +1927,7 @@ inside <em class="parameter"><code>cell_area</code></em>
|
||||
<a name="GtkCellRenderer-editing-canceled"></a><h3>The <code class="literal">“editing-canceled”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal gets emitted when the user cancels the process of editing a
|
||||
cell. For example, an editable cell renderer could be written to cancel
|
||||
editing when the user presses Escape. </p>
|
||||
@ -1954,7 +1954,7 @@ editing when the user presses Escape. </p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
<p>Flags: Run First</p>
|
||||
<p class="since">Since: 2.4</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1963,8 +1963,8 @@ editing when the user presses Escape. </p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *renderer,
|
||||
<a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a> *editable,
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gchar</span> *path,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>This signal gets emitted when a cell starts to be edited.
|
||||
The intended use of this signal is to do special setup
|
||||
on <em class="parameter"><code>editable</code></em>
|
||||
@ -1995,22 +1995,22 @@ before doing any specific setup, as in the following example:</p>
|
||||
14
|
||||
15
|
||||
16</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
|
||||
<span class="function">text_editing_started</span> <span class="gtkdoc opt">(</span>GtkCellRenderer <span class="gtkdoc opt">*</span>cell<span class="gtkdoc opt">,</span>
|
||||
GtkCellEditable <span class="gtkdoc opt">*</span>editable<span class="gtkdoc opt">,</span>
|
||||
<span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span>path<span class="gtkdoc opt">,</span>
|
||||
gpointer data<span class="gtkdoc opt">)</span>
|
||||
<span class="gtkdoc opt">{</span>
|
||||
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function">GTK_IS_ENTRY</span> <span class="gtkdoc opt">(</span>editable<span class="gtkdoc opt">))</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
||||
<span class="function">text_editing_started</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkCellRenderer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cell</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">GtkCellEditable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">editable</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">path</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_IS_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">editable</span><span class="symbol">))</span>
|
||||
|
||||
<span class="gtkdoc opt">{</span>
|
||||
GtkEntry <span class="gtkdoc opt">*</span>entry <span class="gtkdoc opt">=</span> <span class="function">GTK_ENTRY</span> <span class="gtkdoc opt">(</span>editable<span class="gtkdoc opt">);</span>
|
||||
<span class="normal"> </span><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="usertype">GtkEntry</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">entry </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">editable</span><span class="symbol">);</span>
|
||||
|
||||
<span class="gtkdoc slc">// ... create a GtkEntryCompletion</span>
|
||||
<span class="normal"> </span><span class="comment">// ... create a GtkEntryCompletion</span>
|
||||
|
||||
<span class="function"><a href="GtkEntry.html#gtk-entry-set-completion">gtk_entry_set_completion</a></span> <span class="gtkdoc opt">(</span>entry<span class="gtkdoc opt">,</span> completion<span class="gtkdoc opt">);</span>
|
||||
<span class="gtkdoc opt">}</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<span class="normal"> </span><span class="function"><a href="GtkEntry.html#gtk-entry-set-completion">gtk_entry_set_completion</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> completion</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -2049,7 +2049,7 @@ before doing any specific setup, as in the following example:</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
<p>Flags: Run First</p>
|
||||
<p class="since">Since: 2.6</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -2059,6 +2059,6 @@ before doing any specific setup, as in the following example:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user