/usr/share/gtk-doc/html/libgwydgets/GwyStatusbar.html is in libgwyddion20-doc 2.34-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Gwyddion Widgets Library Reference Manual: GwyStatusbar</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="GeneralWidgets.html" title="General Widgets">
<link rel="prev" href="GwySciText.html" title="GwySciText">
<link rel="next" href="GwyShader.html" title="GwyShader">
<meta name="generator" content="GTK-Doc V1.19 (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="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#GwyStatusbar.description" class="shortcut">Description</a>
|
<a href="#GwyStatusbar.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GwyStatusbar.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</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="GeneralWidgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GwySciText.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GwyShader.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GwyStatusbar"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GwyStatusbar.top_of_page"></a>GwyStatusbar</span></h2>
<p>GwyStatusbar — Statusbar with Pango markup support</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GwyStatusbar.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libgwydgets/gwydgets.h>
struct <a class="link" href="GwyStatusbar.html#GwyStatusbar-struct" title="struct GwyStatusbar">GwyStatusbar</a>;
struct <a class="link" href="GwyStatusbar.html#GwyStatusbarClass" title="struct GwyStatusbarClass">GwyStatusbarClass</a>;
<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GwyStatusbar.html#gwy-statusbar-new" title="gwy_statusbar_new ()">gwy_statusbar_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="GwyStatusbar.html#gwy-statusbar-set-markup" title="gwy_statusbar_set_markup ()">gwy_statusbar_set_markup</a> (<em class="parameter"><code><a class="link" href="GwyStatusbar.html" title="GwyStatusbar"><span class="type">GwyStatusbar</span></a> *statusbar</code></em>,
<em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GwyStatusbar.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkObject.html">GtkObject</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html">GtkWidget</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkContainer.html">GtkContainer</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkBox.html">GtkBox</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkHBox.html">GtkHBox</a>
+----<a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusbar.html">GtkStatusbar</a>
+----GwyStatusbar
</pre>
</div>
<div class="refsect1">
<a name="GwyStatusbar.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GwyStatusbar implements
AtkImplementorIface, <a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkBuildable.html">GtkBuildable</a> and <a href="http://developer.gnome.org/doc/API/2.0/gtk/gtk3-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
</div>
<div class="refsect1">
<a name="GwyStatusbar.description"></a><h2>Description</h2>
<p>
This widget is almost identical to <a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> except that it
interprets Pango markup in its messages.
</p>
<p>
It also provides a simple context-free message method
<a class="link" href="GwyStatusbar.html#gwy-statusbar-set-markup" title="gwy_statusbar_set_markup ()"><code class="function">gwy_statusbar_set_markup()</code></a> for status bars that do not need all the
complexity of <a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> stacks.
</p>
</div>
<div class="refsect1">
<a name="GwyStatusbar.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyStatusbar-struct"></a><h3>struct GwyStatusbar</h3>
<pre class="programlisting">struct GwyStatusbar;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyStatusbarClass"></a><h3>struct GwyStatusbarClass</h3>
<pre class="programlisting">struct GwyStatusbarClass {
GtkStatusbarClass parent_class;
void (*reserved1)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-statusbar-new"></a><h3>gwy_statusbar_new ()</h3>
<pre class="programlisting"><a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gwy_statusbar_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new Gwyddion statusbar.
</p>
<p>
Gwyddion statusbar differs from <a href="http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusbar.html"><span class="type">GtkStatusbar</span></a> only in one thing: the
messages can contain Pango markup.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The newly created statusbar, as a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-statusbar-set-markup"></a><h3>gwy_statusbar_set_markup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gwy_statusbar_set_markup (<em class="parameter"><code><a class="link" href="GwyStatusbar.html" title="GwyStatusbar"><span class="type">GwyStatusbar</span></a> *statusbar</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);</pre>
<p>
Sets the text to display in a status bar.
</p>
<p>
This method is intended for simple status bars that do not have stacks and
do not need contexts. It does not mix with <code class="function">gtk_status_bar_push()</code>. You can
use either this simple interface or the full stacks-and-contexts API with
<a class="link" href="GwyStatusbar.html" title="GwyStatusbar"><span class="type">GwyStatusbar</span></a>, but not both in the same status bar.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>statusbar</code></em> :</span></p></td>
<td>A statusbar.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>markup</code></em> :</span></p></td>
<td>Text message to display in the statusbar. It can contain Pango
markup.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|