OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [itk/] [examples/] [README] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 EXAMPLES
3
------------------------------------------------------------------------
4
 This directory contains some simple code examples for mega-widgets
5
 built using [incr Tk]:
6
 
7
   TextDisplay ........ derived from itk::Widget
8
                        Acts as a read-only display of text.
9
                        Has a text widget and an automatic scrollbar.
10
 
11
   Info ............... derived from itk::Toplevel
12
                        Base class for notice windows with an "info"
13
                        icon and a "Dismiss" button.
14
 
15
   MessageInfo ........ derived from class Info
16
                        Adds a label and a "-message" option for
17
                        displaying pop-up messages.
18
 
19
   TextInfo ........... derived from class Info
20
                        Adds a TextDisplay and display/append
21
                        methods for adding text to the display
22
 
23
 
24
 To see these in action, run the "viewfile" demo program.  For this
25
 simple demo to work properly, it must be executed in this directory.
26
 
27
 The "viewfile" program has an entry widget which prompts for a file
28
 name.  Type a file name into the entry and press return.  If the file
29
 is found, a TextInfo widget will appear displaying its contents.
30
 Otherwise, a MessageInfo widget will appear with an error message.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.