Debian Codegraph @

examples/readme.md

raw
1
2 Copyright (c) 2023 by The XFree86 Project, Inc.
3
4 Permission is hereby granted, free of charge, to any person obtaining a
5 copy of this software and associated documentation files (the "Software"),
6 to deal in the Software without restriction, including without limitation
7 the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 and/or sell copies of the Software, and to permit persons to whom the
9 Software is furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
19 OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 SOFTWARE.
21
22 The examples are intended to test the diffent xaw widgets.
23 Every program should provide an example for one widget and if possible
24 also support functions. Everyone is invited to add more.
25 The progras make use of label and/or command widget so there is no
26 extra program to show it use. All programs support the standard libXt
27 command line options.
28
29 list
30 select one or none from the list
31
32 menu
33 press the menubutton and see the menu
34
35 pane
36 see the use of a pane widget
37
38 repeater
39 the repeater widget, press the button and keep it pressed
40
41 scrollbar
42 see the scrollbar moving relativ and absolut
43
44 strip
45 a dynamic widget showing a simple graphic
46
47 toggle
48 select, unselect one of many buttons
49
50 viewport
51 shrink the window, select any of the buttons
52
53 xawhisto
54 use the scollbar to show a value
55
56 simple
57 use the simple widget to show the xlogo, needs libXmu