• GUI within gforth applications

    From goblinrieur@gmail.com@21:1/5 to All on Wed Oct 18 05:51:11 2023
    hello

    Where to find a tutorial for gforth application GUI creation ?

    I started from https://gforth.org/manual/MINOS2.html but it doesn't feet teh need.

    Please do not propose me another forth interpretor this is not currently the question :)

    Please do not push to minos -> even 0.7.9 examples are not usable as far as they are not correctly written to be a tutorial to learn from.

    I tryied te use also http://irdvo.nl/FFL/GTKserver.html but author mentionned on his GITHUB page -> he will never more work on it and it is already obsolete & partially not warking with bugs far example clasing any application crashes GTK because a GTK
    instruction used is no more existing.

    So I would get another solution a real one for linux (x86) that have a tutorial more ar less for dummies about GUI's

    Can you provide a link to such a documentation ? using either TK/GTK/minos GUI interpretors

    thanks


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From minforth@21:1/5 to gobli...@gmail.com on Wed Oct 18 06:48:30 2023
    gobli...@gmail.com schrieb am Mittwoch, 18. Oktober 2023 um 14:51:15 UTC+2:
    hello

    Where to find a tutorial for gforth application GUI creation ?

    My 5 cents on this:
    GTK is huge and often used within C programs: https://docs.gtk.org/gtk4/getting_started.html
    Create your GUI and call gforth from your C program,
    e.g. on button events, as described in the gforth manual.
    IOW separate the GUI from application scripting in Forth.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From none) (albert@21:1/5 to minforth@arcor.de on Wed Oct 18 16:20:48 2023
    In article <5dd0fa49-4892-417c-b85c-0df5e486985en@googlegroups.com>,
    minforth <minforth@arcor.de> wrote:
    gobli...@gmail.com schrieb am Mittwoch, 18. Oktober 2023 um 14:51:15 UTC+2:
    hello

    Where to find a tutorial for gforth application GUI creation ?

    My 5 cents on this:
    GTK is huge and often used within C programs: >https://docs.gtk.org/gtk4/getting_started.html
    Create your GUI and call gforth from your C program,
    e.g. on button events, as described in the gforth manual.
    IOW separate the GUI from application scripting in Forth.

    Creating the GUI is much preferred from within Forth.
    I made a organ pipe design program in C#, with a keyboard
    spanning several octaves. This was a huge hassle, because
    all graphic elements have to created separately (white
    and black keys.).

    Groetjes Albert
    --
    Don't praise the day before the evening. One swallow doesn't make spring.
    You must not say "hey" before you have crossed the bridge. Don't sell the
    hide of the bear until you shot it. Better one bird in the hand than ten in
    the air. First gain is a cat spinning. - the Wise from Antrim -

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From none) (albert@21:1/5 to gobli...@gmail.com on Wed Oct 18 16:17:23 2023
    In article <e0bfef62-2e09-478d-a9e4-0a9555dcdfb1n@googlegroups.com>, gobli...@gmail.com <goblinrieur@gmail.com> wrote:
    hello

    Where to find a tutorial for gforth application GUI creation ?

    I started from https://gforth.org/manual/MINOS2.html but it doesn't feet
    teh need.

    Please do not propose me another forth interpretor this is not currently
    the question :)

    Please do not push to minos -> even 0.7.9 examples are not usable as far
    as they are not correctly written to be a tutorial to learn from.

    I tryied te use also http://irdvo.nl/FFL/GTKserver.html but author
    mentionned on his GITHUB page -> he will never more work on it and it is >already obsolete & partially not warking with bugs far example clasing
    any application crashes GTK because a GTK instruction used is no more >existing.

    So I would get another solution a real one for linux (x86) that have a >tutorial more ar less for dummies about GUI's

    Can you provide a link to such a documentation ? using either
    TK/GTK/minos GUI interpretors

    I want to follow up on that. It is easy to download gforth on an
    android system. Is their any example of a program using that
    gforth, preferably using android facilities.


    thanks

    --
    Don't praise the day before the evening. One swallow doesn't make spring.
    You must not say "hey" before you have crossed the bridge. Don't sell the
    hide of the bear until you shot it. Better one bird in the hand than ten in
    the air. First gain is a cat spinning. - the Wise from Antrim -

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From goblinrieur@gmail.com@21:1/5 to All on Wed Oct 18 09:30:10 2023
    Le mercredi 18 octobre 2023 à 15:48:33 UTC+2, minforth a écrit :
    gobli...@gmail.com schrieb am Mittwoch, 18. Oktober 2023 um 14:51:15 UTC+2:
    hello

    Where to find a tutorial for gforth application GUI creation ?
    My 5 cents on this:
    GTK is huge and often used within C programs: https://docs.gtk.org/gtk4/getting_started.html
    Create your GUI and call gforth from your C program,
    e.g. on button events, as described in the gforth manual.
    IOW separate the GUI from application scripting in Forth.

    This is exactly what I want to avoid having to learn C or C++ during months or years just to drive GUI for GFORTH .....to be true

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From goblinrieur@gmail.com@21:1/5 to All on Wed Oct 18 09:31:05 2023
    Le mercredi 18 octobre 2023 à 16:17:27 UTC+2, none albert a écrit :
    In article <e0bfef62-2e09-478d...@googlegroups.com>,
    gobli...@gmail.com <gobli...@gmail.com> wrote:
    hello

    Where to find a tutorial for gforth application GUI creation ?

    I started from https://gforth.org/manual/MINOS2.html but it doesn't feet >teh need.

    Please do not propose me another forth interpretor this is not currently >the question :)

    Please do not push to minos -> even 0.7.9 examples are not usable as far >as they are not correctly written to be a tutorial to learn from.

    I tryied te use also http://irdvo.nl/FFL/GTKserver.html but author >mentionned on his GITHUB page -> he will never more work on it and it is >already obsolete & partially not warking with bugs far example clasing
    any application crashes GTK because a GTK instruction used is no more >existing.

    So I would get another solution a real one for linux (x86) that have a >tutorial more ar less for dummies about GUI's

    Can you provide a link to such a documentation ? using either
    TK/GTK/minos GUI interpretors
    I want to follow up on that. It is easy to download gforth on an
    android system. Is their any example of a program using that
    gforth, preferably using android facilities.


    thanks

    --
    Don't praise the day before the evening. One swallow doesn't make spring. You must not say "hey" before you have crossed the bridge. Don't sell the hide of the bear until you shot it. Better one bird in the hand than ten in the air. First gain is a cat spinning. - the Wise from Antrim -

    and so what I didn t say I want to use android here :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jos Ven@21:1/5 to All on Thu Oct 19 02:57:09 2023
    Op woensdag 18 oktober 2023 om 14:51:15 UTC+2 schreef gobli...com:
    hello

    Where to find a tutorial for gforth application GUI creation ?

    I started from https://gforth.org/manual/MINOS2.html but it doesn't feet teh need.

    Please do not propose me another forth interpretor this is not currently the question :)

    Please do not push to minos -> even 0.7.9 examples are not usable as far as they are not correctly written to be a tutorial to learn from.

    I tryied te use also http://irdvo.nl/FFL/GTKserver.html but author mentionned on his GITHUB page -> he will never more work on it and it is already obsolete & partially not warking with bugs far example clasing any application crashes GTK because a GTK
    instruction used is no more existing.

    So I would get another solution a real one for linux (x86) that have a tutorial more ar less for dummies about GUI's

    Can you provide a link to such a documentation ? using either TK/GTK/minos GUI interpretors

    thanks

    I use html as a gui under CForth, Gforth and Win32Forth.
    It does not need if..then or case statements to decide
    what button has been pushed.
    For Gforth and Win32Forth see_demo1.f at: https://github.com/Jos-Ven/A-smart-home-in-Forth/blob/main
    for a simple example.
    Jos

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)