GUI Library preferred by Standard programmers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frederick Gotham

    GUI Library preferred by Standard programmers


    For those of you who strive to write fully portable, Standard-compliant code:
    What's the best library for writing GUI applications?

    I've heard good things about wxWidgets. Would it be the preferred choice?

    --

    Frederick Gotham
  • Roland Pibinger

    #2
    Re: GUI Library preferred by Standard programmers

    On Sat, 08 Jul 2006 16:36:47 GMT, Frederick Gotham
    <fgothamNO@SPAM .comwrote:
    >For those of you who strive to write fully portable, Standard-compliant code:
    What's the best library for writing GUI applications?
    HTML? We live in 2006!

    Comment

    • Duane Hebert

      #3
      Re: GUI Library preferred by Standard programmers


      "Frederick Gotham" <fgothamNO@SPAM .comwrote in message
      news:zaRrg.1125 5$j7.315412@new s.indigo.ie...
      >
      For those of you who strive to write fully portable, Standard-compliant
      code:
      What's the best library for writing GUI applications?
      >
      I've heard good things about wxWidgets. Would it be the preferred choice?
      Qt. Last time I looked at wxWidgets (2+ years) it seemed to use
      a lot of old style constructs - macros and such. Qt keeps that
      to a minimum.


      Comment

      • rami

        #4
        Re: GUI Library preferred by Standard programmers


        Roland Pibinger wrote:
        On Sat, 08 Jul 2006 16:36:47 GMT, Frederick Gotham
        <fgothamNO@SPAM .comwrote:
        For those of you who strive to write fully portable, Standard-compliant code:
        What's the best library for writing GUI applications?
        >
        HTML? We live in 2006!
        so you asking him to write a cgi program in c++ and provide an
        installation with embedded webserver :D.. excellent..

        :))

        Comment

        • Phlip

          #5
          Re: GUI Library preferred by Standard programmers

          Duane Hebert wrote:
          Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of
          old style constructs - macros and such. Qt keeps that to a minimum.
          By adding 2 new keywords, signals & slots.

          Oh, and they are dynamically typed, where the rest of C++ (including
          careful macro usage) is statically typed.

          Pick your poison.

          --
          Phlip

          Comment

          • Duane Hebert

            #6
            Re: GUI Library preferred by Standard programmers


            "Phlip" <phlip2005@gEEE mail.comwrote in message
            news:pan.2006.0 7.08.23.53.01.3 5485@gEEEmail.c om...
            Duane Hebert wrote:
            >
            >Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of
            >old style constructs - macros and such. Qt keeps that to a minimum.
            >
            By adding 2 new keywords, signals & slots.
            >
            Oh, and they are dynamically typed, where the rest of C++ (including
            careful macro usage) is statically typed.
            QDialog doh(this);
            doh.exec();
            Pick your poison.
            Sure.


            Comment

            • Roland Pibinger

              #7
              Re: GUI Library preferred by Standard programmers

              On Sat, 8 Jul 2006 14:36:32 -0400, "Duane Hebert" <spoo@flarn2.co m>
              wrote:
              >"Frederick Gotham" <fgothamNO@SPAM .comwrote in message
              >news:zaRrg.112 55$j7.315412@ne ws.indigo.ie...
              >For those of you who strive to write fully portable, Standard-compliant
              >code:
              > What's the best library for writing GUI applications?
              >I've heard good things about wxWidgets. Would it be the preferred choice?
              >
              >Qt. Last time I looked at wxWidgets (2+ years) it seemed to use
              >a lot of old style constructs - macros and such.
              If I had time for an experiment I would try wxLua
              (http://wxlua.sourceforge.net/). C++ is not a good choice for GUI
              programming. Lua (http://www.lua.org/) brings the flexibility of a
              scripting language to C++. The combination of Lua and Wx seems
              promising although wxLua currently is in "Developmen t Status : 4 -
              Beta".

              Best wishes,
              Roland Pibinger

              Comment

              • Roland Pibinger

                #8
                Re: GUI Library preferred by Standard programmers

                On Sat, 08 Jul 2006 23:53:15 GMT, Phlip <phlip2005@gEEE mail.com>
                wrote:
                >Duane Hebert wrote:
                >Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot of
                >old style constructs - macros and such. Qt keeps that to a minimum.
                >
                >By adding 2 new keywords, signals & slots.
                .... and foreach. So, Qt-C++ isn't C++ any more, just lile C++/CLI.
                >Oh, and they are dynamically typed, where the rest of C++ (including
                >careful macro usage) is statically typed.
                You mean, the 'rest of C++' does not support polymorphic programming?

                Comment

                • Duane Hebert

                  #9
                  Re: GUI Library preferred by Standard programmers


                  "Roland Pibinger" <rpbg123@yahoo. comwrote in message
                  news:44b11514.2 646466@news.uta net.at...
                  On Sat, 08 Jul 2006 23:53:15 GMT, Phlip <phlip2005@gEEE mail.com>
                  wrote:
                  >>Duane Hebert wrote:
                  >>Qt. Last time I looked at wxWidgets (2+ years) it seemed to use a lot
                  >>of
                  >>old style constructs - macros and such. Qt keeps that to a minimum.
                  >>
                  >>By adding 2 new keywords, signals & slots.
                  >
                  ... and foreach. So, Qt-C++ isn't C++ any more, just lile C++/CLI.
                  Qt has some extensions but unlike some other gui libs,
                  you don't need to use them.
                  >>Oh, and they are dynamically typed, where the rest of C++ (including
                  >>careful macro usage) is statically typed.
                  >
                  You mean, the 'rest of C++' does not support polymorphic programming?
                  Yeah, I didn't get that either. I would prefer that to
                  extensive use of macros.


                  Comment

                  • Phlip

                    #10
                    Re: GUI Library preferred by Standard programmers

                    Roland Pibinger wrote:
                    >>Oh, and they are dynamically typed, where the rest of C++ (including
                    >>careful macro usage) is statically typed.
                    >
                    You mean, the 'rest of C++' does not support polymorphic programming?
                    Static typing means earlying binding to the base type of a set of
                    polymorphic types. All types in the set must relate by inheritance (to
                    provide the vtable or equivalent).

                    GUIs work best with dynamic typing (and block closures, which Qt doesn't
                    provide).

                    Qt provides dynamic typing when the 'signal' keyword does not specify which
                    base type must satisfy a corresponding 'slot'. Any type with a matching slot
                    will qualify.

                    That's not a bad thing, but it is indeed one more inconsistency between raw
                    C++ and Qt-C++.

                    Macros, by contrast, and despite their other flaws, can enforce a modest
                    amount of early typing.

                    --
                    Phlip
                    http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!


                    Comment

                    • Phlip

                      #11
                      Re: GUI Library preferred by Standard programmers

                      Roland Pibinger wrote:
                      If I had time for an experiment I would try wxLua
                      (http://wxlua.sourceforge.net/). C++ is not a good choice for GUI
                      programming. Lua (http://www.lua.org/) brings the flexibility of a
                      scripting language to C++.
                      Lua (like wxPython and the apocryphal wyRuby) provides dynamic typing and -
                      generally - block closures. GUIs need them.

                      --
                      Phlip
                      http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!


                      Comment

                      • Dmytro

                        #12
                        Re: GUI Library preferred by Standard programmers

                        Frederick Gotham написав:
                        For those of you who strive to write fully portable, Standard-compliant code:
                        What's the best library for writing GUI applications?
                        >
                        I've heard good things about wxWidgets. Would it be the preferred choice?
                        What do you think about FOX?



                        Comment

                        • Gernot Frisch

                          #13
                          Re: GUI Library preferred by Standard programmers

                          For those of you who strive to write fully portable,
                          Standard-compliant code:
                          What's the best library for writing GUI applications?
                          >
                          I've heard good things about wxWidgets. Would it be the preferred
                          choice?

                          I wonder if there's any of the x-platform webbrosers, that provide a
                          slim and clean way of making a C++ program with a HTML/JavaScript GUI
                          frontend...




                          Comment

                          • Kang Cui

                            #14
                            Re: GUI Library preferred by Standard programmers

                            Frederick Gotham wrote:
                            For those of you who strive to write fully portable, Standard-compliant code:
                            What's the best library for writing GUI applications?
                            >
                            I've heard good things about wxWidgets. Would it be the preferred choice?
                            >
                            --
                            >
                            Frederick Gotham
                            I think SmartWin++ is maybe another choice,I found it at
                            www.sourceforge.net,and have tried for some time.The framework is
                            designed in modern c++ style,and support std c++.I hope anyone who
                            experienced the framework could tell me about his opinion.

                            Comment

                            • Diego Martins

                              #15
                              Re: GUI Library preferred by Standard programmers

                              Phlip wrote:
                              Roland Pibinger wrote:
                              >
                              If I had time for an experiment I would try wxLua
                              (http://wxlua.sourceforge.net/). C++ is not a good choice for GUI
                              programming. Lua (http://www.lua.org/) brings the flexibility of a
                              scripting language to C++.
                              >
                              Lua (like wxPython and the apocryphal wyRuby) provides dynamic typing and -
                              generally - block closures. GUIs need them.
                              >
                              --
                              Phlip
                              http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
                              can we embed Lua in C or C++?

                              Comment

                              Working...