Hui API doc

Max Okumoto <[email protected]>
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
I felt left out looking at all the new documentation so I have written
up a little documentation for the parts that I am working on recently.
But I don't know where it would fit in...

Can someone look it over and tell me where it put it?


				Max Okumoto

Hui Programming API

        Intro
        -------
        The graphical user interface for libh is the Hui subsystem.
        Currently there are two graphics implementations, text based
        (Turbo Vision) and X window (Qt).  The scripting language
        is tcl.

        Programming Model
        -------
        The programming model is a container and element system.
        Graphical elements and other containers are created by their
        parent containers.  The resulting hierarchy is a tree like
        structure with containers as internal nodes and elements
        as leaves.

        The root of the tree is the Hui object.  From this object
        you can create a menu bar, windows and dialogs.

        The two containers, windows and dialogs, have many of the
        same features but dialogs can return result strings, and
        are modal.  In windows and dialogs you can create the
        following objects:
                o button
                o input line
                o label
                o list box
                o progress indicator
                o text edit

        [I have to examine the code more for this section.]
        But it looks like there can only be one menu bar.  This bar
        is associated with the first window created which requests
        a menu bar.

        Element Placement.
        -------
        The placement of elements and containers are absolute
        coordinates relieve to their container. [There is no automatic
        placement in the containers as far as I can tell]



To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-libh" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.