/usr/share/doc/s3d/ch03.html is in s3d-doc 0.2.2-10.
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 | <?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Chapter 3. libs3dw - The S3D Widget Library</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><meta name="keywords" content="s3d, API, handbook, guide" /><link rel="home" href="index.html" title="S3D - a 3D Desktop Environment" /><link rel="up" href="index.html" title="S3D - a 3D Desktop Environment" /><link rel="prev" href="ch02s05.html" title="Additional Notes" /><link rel="next" href="ch03s02.html" title="function reference" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. libs3dw - The S3D Widget Library</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s05.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr></table><hr /></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="libs3dw"></a>Chapter 3. libs3dw - The S3D Widget Library</h1></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="sect1"><a href="ch03.html#using_3dw">Using the <span class="application">s3d</span> widget library</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch03.html#gettingstarted_s3dw">Getting started</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch03s02.html">function reference</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch03s02.html#s3dw_button_new">s3dw_button_new</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_label_new">s3dw_label_new</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_input_new">s3dw_input_new</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_new">s3dw_textbox_new</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_input_gettext">s3dw_input_gettext</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_input_change_text">s3dw_input_change_text</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_label_change_text">s3dw_label_change_text</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_surface_new">s3dw_surface_new</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_getroot">s3dw_getroot</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_moveit">s3dw_moveit</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_delete">s3dw_delete</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_show">s3dw_show</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_focus">s3dw_focus</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_scrollup">s3dw_textbox_scrollup</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_scrolldown">s3dw_textbox_scrolldown</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_scrollleft">s3dw_textbox_scrollleft</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_scrollright">s3dw_textbox_scrollright</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_scrollto">s3dw_textbox_scrollto</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_textbox_change_text">s3dw_textbox_change_text</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_handle_click">s3dw_handle_click</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_handle_key">s3dw_handle_key</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_object_info">s3dw_object_info</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#s3dw_ani_mate">s3dw_ani_mate</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch03s03.html">Data types</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_style">struct _s3dw_style</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_widget">struct _s3dw_widget</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_button">struct _s3dw_button</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_label">struct _s3dw_label</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_scrollbar">struct _s3dw_scrollbar</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_textbox">struct _s3dw_textbox</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_input">struct _s3dw_input</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#struct_s3dw_surface">struct _s3dw_surface</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_widget">typedef s3dw_widget</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_button">typedef s3dw_button</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_label">typedef s3dw_label</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_textbox">typedef s3dw_textbox</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_scrollbar">typedef s3dw_scrollbar</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_input">typedef s3dw_input</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_surface">typedef s3dw_surface</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_style">typedef s3dw_style</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#s3dw_callback">typedef s3dw_callback</a></span></dt></dl></dd></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="using_3dw"></a>Using the <span class="application">s3d</span> widget library</h2></div></div></div><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a id="gettingstarted_s3dw"></a>Getting started</h3></div></div></div><p>
Assuming you have already read about the low level <a class="link" href="ch02.html" title="Chapter 2. libs3d - The S3D API">libs3d s3d api</a>, the s3d widget library is
build on top of it and should be (hopefully) easy to use as any other widget library.
Just include
</p><pre class="programlisting">
#include <s3dw.h>
</pre><p>
and link with -ls3dw -ls3d, and everything should be fine. :)
</p><pre class="screen">
<code class="prompt">bash$</code> <span class="command"><strong> gcc <em class="replaceable"><code>program</code></em>.c -ls3dw -ls3d -o <em class="replaceable"><code>program</code></em> </strong></span>
</pre><p>
</p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s05.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Additional Notes </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> function reference</td></tr></table></div></body></html>
|