Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkSourceUndoManager: GtkSourceView 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
<link rel="up" href="ch09.html" title="Other">
<link rel="prev" href="GtkSourceTag.html" title="GtkSourceTag">
<link rel="next" href="gtksourceview-3.0-GtkSourceUtils.html" title="GtkSourceUtils">
<meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GtkSourceUndoManager.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GtkSourceUndoManager.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
                  <a href="#GtkSourceUndoManager.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#GtkSourceUndoManager.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch09.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GtkSourceTag.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gtksourceview-3.0-GtkSourceUtils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkSourceUndoManager"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkSourceUndoManager.top_of_page"></a>GtkSourceUndoManager</span></h2>
<p>GtkSourceUndoManager — Undo manager interface for GtkSourceView</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkSourceUndoManager.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-undo" title="gtk_source_undo_manager_can_undo ()">gtk_source_undo_manager_can_undo</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-redo" title="gtk_source_undo_manager_can_redo ()">gtk_source_undo_manager_can_redo</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-undo" title="gtk_source_undo_manager_undo ()">gtk_source_undo_manager_undo</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-redo" title="gtk_source_undo_manager_redo ()">gtk_source_undo_manager_redo</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-begin-not-undoable-action" title="gtk_source_undo_manager_begin_not_undoable_action ()">gtk_source_undo_manager_begin_not_undoable_action</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-end-not-undoable-action" title="gtk_source_undo_manager_end_not_undoable_action ()">gtk_source_undo_manager_end_not_undoable_action</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-undo-changed" title="gtk_source_undo_manager_can_undo_changed ()">gtk_source_undo_manager_can_undo_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-redo-changed" title="gtk_source_undo_manager_can_redo_changed ()">gtk_source_undo_manager_can_redo_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkSourceUndoManager.html#GtkSourceUndoManager-can-redo-changed" title="The “can-redo-changed” signal">can-redo-changed</a></td>
<td class="signal_flags">Action</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkSourceUndoManager.html#GtkSourceUndoManager-can-undo-changed" title="The “can-undo-changed” signal">can-undo-changed</a></td>
<td class="signal_flags">Action</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GtkSourceUndoManager.html#GtkSourceUndoManager-struct" title="GtkSourceUndoManager">GtkSourceUndoManager</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/opt/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
    <span class="lineart">╰──</span> GtkSourceUndoManager
</pre>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.prerequisites"></a><h2>Prerequisites</h2>
<p>
GtkSourceUndoManager requires
 GObject.</p>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.description"></a><h2>Description</h2>
<p>For most uses it isn't needed to use <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>. <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
already provides an API and a default implementation for the undo/redo.</p>
<p>For specific needs, the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> interface can be implemented to
provide custom undo management. Use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()"><code class="function">gtk_source_buffer_set_undo_manager()</code></a> to
install a custom undo manager for a particular <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p>
<p>Use <a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-undo-changed" title="gtk_source_undo_manager_can_undo_changed ()"><code class="function">gtk_source_undo_manager_can_undo_changed()</code></a> and
<a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-redo-changed" title="gtk_source_undo_manager_can_redo_changed ()"><code class="function">gtk_source_undo_manager_can_redo_changed()</code></a> when respectively the undo state
or redo state of the undo stack has changed.</p>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-source-undo-manager-can-undo"></a><h3>gtk_source_undo_manager_can_undo ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_source_undo_manager_can_undo (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Get whether there are undo operations available.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-can-undo.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-source-undo-manager-can-undo.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if there are undo operations available, <code class="literal">FALSE</code> otherwise</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-can-redo"></a><h3>gtk_source_undo_manager_can_redo ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_source_undo_manager_can_redo (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Get whether there are redo operations available.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-can-redo.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-source-undo-manager-can-redo.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if there are redo operations available, <code class="literal">FALSE</code> otherwise</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-undo"></a><h3>gtk_source_undo_manager_undo ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_undo_manager_undo (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Perform a single undo. Calling this function when there are no undo operations
available is an error. Use <a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-undo" title="gtk_source_undo_manager_can_undo ()"><code class="function">gtk_source_undo_manager_can_undo()</code></a> to find out
if there are undo operations available.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-undo.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-redo"></a><h3>gtk_source_undo_manager_redo ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_undo_manager_redo (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Perform a single redo. Calling this function when there are no redo operations
available is an error. Use <a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-can-redo" title="gtk_source_undo_manager_can_redo ()"><code class="function">gtk_source_undo_manager_can_redo()</code></a> to find out
if there are redo operations available.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-redo.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-begin-not-undoable-action"></a><h3>gtk_source_undo_manager_begin_not_undoable_action ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_undo_manager_begin_not_undoable_action
                               (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Begin a not undoable action on the buffer. All changes between this call
and the call to <a class="link" href="GtkSourceUndoManager.html#gtk-source-undo-manager-end-not-undoable-action" title="gtk_source_undo_manager_end_not_undoable_action ()"><code class="function">gtk_source_undo_manager_end_not_undoable_action()</code></a> cannot
be undone. This function should be re-entrant.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-begin-not-undoable-action.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-end-not-undoable-action"></a><h3>gtk_source_undo_manager_end_not_undoable_action ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_undo_manager_end_not_undoable_action
                               (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Ends a not undoable action on the buffer.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-end-not-undoable-action.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-can-undo-changed"></a><h3>gtk_source_undo_manager_can_undo_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_undo_manager_can_undo_changed
                               (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Emits the <a class="link" href="GtkSourceUndoManager.html#GtkSourceUndoManager-can-undo-changed" title="The “can-undo-changed” signal"><span class="type">“can-undo-changed”</span></a> signal.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-can-undo-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-undo-manager-can-redo-changed"></a><h3>gtk_source_undo_manager_can_redo_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_undo_manager_can_redo_changed
                               (<em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
<p>Emits the <a class="link" href="GtkSourceUndoManager.html#GtkSourceUndoManager-can-redo-changed" title="The “can-redo-changed” signal"><span class="type">“can-redo-changed”</span></a> signal.</p>
<div class="refsect3">
<a name="gtk-source-undo-manager-can-redo-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkSourceUndoManager-struct"></a><h3>GtkSourceUndoManager</h3>
<pre class="programlisting">typedef struct _GtkSourceUndoManager GtkSourceUndoManager;</pre>
</div>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GtkSourceUndoManager-can-redo-changed"></a><h3>The <code class="literal">“can-redo-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager,
               <span class="type">gpointer</span>              user_data)</pre>
<p>Emitted when the ability to redo has changed.</p>
<div class="refsect3">
<a name="GtkSourceUndoManager-can-redo-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Action</p>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GtkSourceUndoManager-can-undo-changed"></a><h3>The <code class="literal">“can-undo-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager,
               <span class="type">gpointer</span>              user_data)</pre>
<p>Emitted when the ability to undo has changed.</p>
<div class="refsect3">
<a name="GtkSourceUndoManager-can-undo-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>manager</p></td>
<td class="parameter_description"><p>The <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Action</p>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
</div>
<div class="refsect1">
<a name="GtkSourceUndoManager.see-also"></a><h2>See Also</h2>
<p><span class="type">GtkTextBuffer</span>, <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28.1</div>
</body>
</html>