>       I remember when I first started using FLTK, this begin()/end()
>       thing was mentioned right up front in the docs I was reading.

    I've scanned the first two pages of my old FLTK 1.0 docs
    and highlighted the paragraph in question:
    http://seriss.com/people/erco/fltk/fltk-old-docs-page-1.png

    This looks similar to the current "Writing Your First FLTK Program"
    section, which is where I think everyone would start:

        FLTK1: http://fltk.org/documentation.php/doc-1.1/basics.html#3_1
        FLTK2: http://fltk.org/doc-2.0/html/example1.html

    begin()/end() are well described in the FLTK 2.x docs, starting with
    the bold section "Creating the Widgets" which talks about begin(),
    and "Begin/End of Groups and Windows" talks about end().

    However in the current 1.x docs, it seems like the description
    of begin()/end() might be missing and should probably be restored.

    If the discussion is about the philosophy of begin()/end(),
    that's a different thing which is kinda intrinsic to fltk's
    design, and it can be liked or hated, apparently. This was
    gone over earlier in this thread (which started 4 months ago)

    Whenever I design an FLTK program, I'm always thinking about
    the begin()/end() stuff, because that defines the widget hierarchy.

    As soon as I do an Fl_Window I'm thinking of the implied begin()
    in fltk1, and what little I've done with FLTK2, I know the begin()
    must be explicitly specified to use the begin/end stuff, otherwise
    you'd have to use add() to define the hierarchy, which I personally
    like to avoid, and rarely use.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to