How to create a simple GUI in C++; without Qt, Gtk, or Mondo? [duplicate]How to create very very simple GUI application for Ubuntu?How to make Eclipse CDT's Linux GCC toolchain resolve C++ standard library headers?window creation issue Python Gtk via QuicklyWhy am I getting compile time errors in this C++ program?QT4/5 Creator cannot find -lGLHow install GTK+ 3 for PythonHow do I use the GTK+ development libraries in Ubuntu?Unable to test Ubuntu Touch applications on ubuntu-emulator (ubuntu-sdk)Deploy QML app to ubuntu phoneBuild error in Ubuntu phone appUbuntu-SDK-IDE: QXcbConnection: Could not connect to display

How do I repair my stair bannister?

Organic chemistry Iodoform Reaction

How to deal with or prevent idle in the test team?

What (else) happened July 1st 1858 in London?

Is there any significance to the Valyrian Stone vault door of Qarth?

Stereotypical names

Greatest common substring

Can a controlled ghast be a leader of a pack of ghouls?

Adding empty element to declared container without declaring type of element

When is separating the total wavefunction into a space part and a spin part possible?

My boss asked me to take a one-day class, then signs it up as a day off

Can I Retrieve Email Addresses from BCC?

Why isn't KTEX's runway designation 10/28 instead of 9/27?

Is it possible to build a CPA Secure encryption scheme which remains secure even when the encryption of secret key is given?

How to prevent YouTube from showing already watched videos?

Is there enough fresh water in the world to eradicate the drinking water crisis?

Can I rely on these GitHub repository files?

How can I raise concerns with a new DM about XP splitting?

Why is delta-v is the most useful quantity for planning space travel?

Java - What do constructor type arguments mean when placed *before* the type?

Why are all the doors on Ferenginar (the Ferengi home world) far shorter than the average Ferengi?

Installing PowerShell on 32-bit Kali OS fails

The One-Electron Universe postulate is true - what simple change can I make to change the whole universe?

What would you call a finite collection of unordered objects that are not necessarily distinct?



How to create a simple GUI in C++; without Qt, Gtk, or Mondo? [duplicate]


How to create very very simple GUI application for Ubuntu?How to make Eclipse CDT's Linux GCC toolchain resolve C++ standard library headers?window creation issue Python Gtk via QuicklyWhy am I getting compile time errors in this C++ program?QT4/5 Creator cannot find -lGLHow install GTK+ 3 for PythonHow do I use the GTK+ development libraries in Ubuntu?Unable to test Ubuntu Touch applications on ubuntu-emulator (ubuntu-sdk)Deploy QML app to ubuntu phoneBuild error in Ubuntu phone appUbuntu-SDK-IDE: QXcbConnection: Could not connect to display













-1
















This question already has an answer here:



  • How to create very very simple GUI application for Ubuntu?

    1 answer



newbie here using Ubuntu 18.04 LTS



I am coming from the easy Windows world, I am trying to write an Windows Forms dialog application. When writing code I see that we have a choice between Mondo, Qt, Gtk and Tkintker. However, I am also looking for the understanding of how does Linux applications like FireFox show a GUI? I mean I am sure that these applications used something that was here before Mondo, Qt and Gtk appeared, right?



Does anyone know of a simple github project written in C++, hopefully simple means 5 lines of code as it doesn't take much to say Hello World.



I tried installing ubuntu-sdk-ide that was previously mentioned about in a 5 year old post, however, after installing I tried to start it but it just shows "QtCreator, The container backend returns an unknown error status. This is a bug and should never happen, please contact the developers."



note: ubuntu-sdk is here and says it's safe for 14.04. and the current is 18.04, thus any duplicate posts will point to the broken 14.04, and it doesn't say what real applications like FireFox uses.
https://docs.ubuntu.com/phone/en/platform/sdk/installing-the-sdk










share|improve this question















marked as duplicate by waltinator, Parto, ubfan1, Kevin Bowen, karel 1 hour ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • That's the post with 14.04 and is broken for 18.04, and it uses Qt which I am not looking for, what came before Qt?

    – user3554851
    2 hours ago











  • Is this what you are looking for? This is a simple Hello world GUI in GTK+: developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

    – mth1417un
    2 hours ago











  • Is there something that does not use Mondo, Qt, Gtk or Tkintker?

    – user3554851
    2 hours ago











  • Short answer, no. GUI is made with specific toolkits. Qt, Gtk, and Tkinter are most common ones. You can look into WebKit, there's options to write GUI using HTML

    – Sergiy Kolodyazhnyy
    2 hours ago















-1
















This question already has an answer here:



  • How to create very very simple GUI application for Ubuntu?

    1 answer



newbie here using Ubuntu 18.04 LTS



I am coming from the easy Windows world, I am trying to write an Windows Forms dialog application. When writing code I see that we have a choice between Mondo, Qt, Gtk and Tkintker. However, I am also looking for the understanding of how does Linux applications like FireFox show a GUI? I mean I am sure that these applications used something that was here before Mondo, Qt and Gtk appeared, right?



Does anyone know of a simple github project written in C++, hopefully simple means 5 lines of code as it doesn't take much to say Hello World.



I tried installing ubuntu-sdk-ide that was previously mentioned about in a 5 year old post, however, after installing I tried to start it but it just shows "QtCreator, The container backend returns an unknown error status. This is a bug and should never happen, please contact the developers."



note: ubuntu-sdk is here and says it's safe for 14.04. and the current is 18.04, thus any duplicate posts will point to the broken 14.04, and it doesn't say what real applications like FireFox uses.
https://docs.ubuntu.com/phone/en/platform/sdk/installing-the-sdk










share|improve this question















marked as duplicate by waltinator, Parto, ubfan1, Kevin Bowen, karel 1 hour ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • That's the post with 14.04 and is broken for 18.04, and it uses Qt which I am not looking for, what came before Qt?

    – user3554851
    2 hours ago











  • Is this what you are looking for? This is a simple Hello world GUI in GTK+: developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

    – mth1417un
    2 hours ago











  • Is there something that does not use Mondo, Qt, Gtk or Tkintker?

    – user3554851
    2 hours ago











  • Short answer, no. GUI is made with specific toolkits. Qt, Gtk, and Tkinter are most common ones. You can look into WebKit, there's options to write GUI using HTML

    – Sergiy Kolodyazhnyy
    2 hours ago













-1












-1








-1









This question already has an answer here:



  • How to create very very simple GUI application for Ubuntu?

    1 answer



newbie here using Ubuntu 18.04 LTS



I am coming from the easy Windows world, I am trying to write an Windows Forms dialog application. When writing code I see that we have a choice between Mondo, Qt, Gtk and Tkintker. However, I am also looking for the understanding of how does Linux applications like FireFox show a GUI? I mean I am sure that these applications used something that was here before Mondo, Qt and Gtk appeared, right?



Does anyone know of a simple github project written in C++, hopefully simple means 5 lines of code as it doesn't take much to say Hello World.



I tried installing ubuntu-sdk-ide that was previously mentioned about in a 5 year old post, however, after installing I tried to start it but it just shows "QtCreator, The container backend returns an unknown error status. This is a bug and should never happen, please contact the developers."



note: ubuntu-sdk is here and says it's safe for 14.04. and the current is 18.04, thus any duplicate posts will point to the broken 14.04, and it doesn't say what real applications like FireFox uses.
https://docs.ubuntu.com/phone/en/platform/sdk/installing-the-sdk










share|improve this question

















This question already has an answer here:



  • How to create very very simple GUI application for Ubuntu?

    1 answer



newbie here using Ubuntu 18.04 LTS



I am coming from the easy Windows world, I am trying to write an Windows Forms dialog application. When writing code I see that we have a choice between Mondo, Qt, Gtk and Tkintker. However, I am also looking for the understanding of how does Linux applications like FireFox show a GUI? I mean I am sure that these applications used something that was here before Mondo, Qt and Gtk appeared, right?



Does anyone know of a simple github project written in C++, hopefully simple means 5 lines of code as it doesn't take much to say Hello World.



I tried installing ubuntu-sdk-ide that was previously mentioned about in a 5 year old post, however, after installing I tried to start it but it just shows "QtCreator, The container backend returns an unknown error status. This is a bug and should never happen, please contact the developers."



note: ubuntu-sdk is here and says it's safe for 14.04. and the current is 18.04, thus any duplicate posts will point to the broken 14.04, and it doesn't say what real applications like FireFox uses.
https://docs.ubuntu.com/phone/en/platform/sdk/installing-the-sdk





This question already has an answer here:



  • How to create very very simple GUI application for Ubuntu?

    1 answer







application-development c++ ubuntu-sdk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago







user3554851

















asked 7 hours ago









user3554851user3554851

12




12




marked as duplicate by waltinator, Parto, ubfan1, Kevin Bowen, karel 1 hour ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by waltinator, Parto, ubfan1, Kevin Bowen, karel 1 hour ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • That's the post with 14.04 and is broken for 18.04, and it uses Qt which I am not looking for, what came before Qt?

    – user3554851
    2 hours ago











  • Is this what you are looking for? This is a simple Hello world GUI in GTK+: developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

    – mth1417un
    2 hours ago











  • Is there something that does not use Mondo, Qt, Gtk or Tkintker?

    – user3554851
    2 hours ago











  • Short answer, no. GUI is made with specific toolkits. Qt, Gtk, and Tkinter are most common ones. You can look into WebKit, there's options to write GUI using HTML

    – Sergiy Kolodyazhnyy
    2 hours ago

















  • That's the post with 14.04 and is broken for 18.04, and it uses Qt which I am not looking for, what came before Qt?

    – user3554851
    2 hours ago











  • Is this what you are looking for? This is a simple Hello world GUI in GTK+: developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

    – mth1417un
    2 hours ago











  • Is there something that does not use Mondo, Qt, Gtk or Tkintker?

    – user3554851
    2 hours ago











  • Short answer, no. GUI is made with specific toolkits. Qt, Gtk, and Tkinter are most common ones. You can look into WebKit, there's options to write GUI using HTML

    – Sergiy Kolodyazhnyy
    2 hours ago
















That's the post with 14.04 and is broken for 18.04, and it uses Qt which I am not looking for, what came before Qt?

– user3554851
2 hours ago





That's the post with 14.04 and is broken for 18.04, and it uses Qt which I am not looking for, what came before Qt?

– user3554851
2 hours ago













Is this what you are looking for? This is a simple Hello world GUI in GTK+: developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

– mth1417un
2 hours ago





Is this what you are looking for? This is a simple Hello world GUI in GTK+: developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

– mth1417un
2 hours ago













Is there something that does not use Mondo, Qt, Gtk or Tkintker?

– user3554851
2 hours ago





Is there something that does not use Mondo, Qt, Gtk or Tkintker?

– user3554851
2 hours ago













Short answer, no. GUI is made with specific toolkits. Qt, Gtk, and Tkinter are most common ones. You can look into WebKit, there's options to write GUI using HTML

– Sergiy Kolodyazhnyy
2 hours ago





Short answer, no. GUI is made with specific toolkits. Qt, Gtk, and Tkinter are most common ones. You can look into WebKit, there's options to write GUI using HTML

– Sergiy Kolodyazhnyy
2 hours ago










1 Answer
1






active

oldest

votes


















0














  1. Most applications are built on GUI toolkits such as Gtk and Qt. Much of the early, heavy development of these toolkits was driven by such applications.

  2. Many of these toolkits are now more than two decades old, so they predate most applications in use today.

  3. The toolkits themselves (or at least their implementations in X11) are all built on top of Xlib. You can attempt to follow an Xlib tutorial such as https://tronche.com/gui/x/xlib-tutorial/ but there is a good chance that you will hit something that does not work. Xlib development is extremely finicky. At the very least, you will come to appreciate how much of an abstraction that toolkits such as Gtk and Qt provide. Coming from the Windows world, these toolkits are much more akin to Win32 GUI development than Xlib development is.

Those are the facts, I will conclude with speculation since the OP seems particularly interested in Firefox: I believe that Firefox is actually built directly in X11, or more specifically uses its own internal GUI toolkit. While it descends from Netscape Navigator (which predates the general use of Gtk and Qt), Navigator appeared to use Motif (a much older Toolkit, itself built on top of a library called X-Toolkit), and one of the major changes from Navigator -> Firefox (or Phoenix as it was called early on) was the loss of that interface. This occurred when modern toolkits such as Gtk and Qt were proliferating and I suspect that rather than pick a side, the Firefox developers rolled their own.






share|improve this answer








New contributor




drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    1. Most applications are built on GUI toolkits such as Gtk and Qt. Much of the early, heavy development of these toolkits was driven by such applications.

    2. Many of these toolkits are now more than two decades old, so they predate most applications in use today.

    3. The toolkits themselves (or at least their implementations in X11) are all built on top of Xlib. You can attempt to follow an Xlib tutorial such as https://tronche.com/gui/x/xlib-tutorial/ but there is a good chance that you will hit something that does not work. Xlib development is extremely finicky. At the very least, you will come to appreciate how much of an abstraction that toolkits such as Gtk and Qt provide. Coming from the Windows world, these toolkits are much more akin to Win32 GUI development than Xlib development is.

    Those are the facts, I will conclude with speculation since the OP seems particularly interested in Firefox: I believe that Firefox is actually built directly in X11, or more specifically uses its own internal GUI toolkit. While it descends from Netscape Navigator (which predates the general use of Gtk and Qt), Navigator appeared to use Motif (a much older Toolkit, itself built on top of a library called X-Toolkit), and one of the major changes from Navigator -> Firefox (or Phoenix as it was called early on) was the loss of that interface. This occurred when modern toolkits such as Gtk and Qt were proliferating and I suspect that rather than pick a side, the Firefox developers rolled their own.






    share|improve this answer








    New contributor




    drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      1. Most applications are built on GUI toolkits such as Gtk and Qt. Much of the early, heavy development of these toolkits was driven by such applications.

      2. Many of these toolkits are now more than two decades old, so they predate most applications in use today.

      3. The toolkits themselves (or at least their implementations in X11) are all built on top of Xlib. You can attempt to follow an Xlib tutorial such as https://tronche.com/gui/x/xlib-tutorial/ but there is a good chance that you will hit something that does not work. Xlib development is extremely finicky. At the very least, you will come to appreciate how much of an abstraction that toolkits such as Gtk and Qt provide. Coming from the Windows world, these toolkits are much more akin to Win32 GUI development than Xlib development is.

      Those are the facts, I will conclude with speculation since the OP seems particularly interested in Firefox: I believe that Firefox is actually built directly in X11, or more specifically uses its own internal GUI toolkit. While it descends from Netscape Navigator (which predates the general use of Gtk and Qt), Navigator appeared to use Motif (a much older Toolkit, itself built on top of a library called X-Toolkit), and one of the major changes from Navigator -> Firefox (or Phoenix as it was called early on) was the loss of that interface. This occurred when modern toolkits such as Gtk and Qt were proliferating and I suspect that rather than pick a side, the Firefox developers rolled their own.






      share|improve this answer








      New contributor




      drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        1. Most applications are built on GUI toolkits such as Gtk and Qt. Much of the early, heavy development of these toolkits was driven by such applications.

        2. Many of these toolkits are now more than two decades old, so they predate most applications in use today.

        3. The toolkits themselves (or at least their implementations in X11) are all built on top of Xlib. You can attempt to follow an Xlib tutorial such as https://tronche.com/gui/x/xlib-tutorial/ but there is a good chance that you will hit something that does not work. Xlib development is extremely finicky. At the very least, you will come to appreciate how much of an abstraction that toolkits such as Gtk and Qt provide. Coming from the Windows world, these toolkits are much more akin to Win32 GUI development than Xlib development is.

        Those are the facts, I will conclude with speculation since the OP seems particularly interested in Firefox: I believe that Firefox is actually built directly in X11, or more specifically uses its own internal GUI toolkit. While it descends from Netscape Navigator (which predates the general use of Gtk and Qt), Navigator appeared to use Motif (a much older Toolkit, itself built on top of a library called X-Toolkit), and one of the major changes from Navigator -> Firefox (or Phoenix as it was called early on) was the loss of that interface. This occurred when modern toolkits such as Gtk and Qt were proliferating and I suspect that rather than pick a side, the Firefox developers rolled their own.






        share|improve this answer








        New contributor




        drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        1. Most applications are built on GUI toolkits such as Gtk and Qt. Much of the early, heavy development of these toolkits was driven by such applications.

        2. Many of these toolkits are now more than two decades old, so they predate most applications in use today.

        3. The toolkits themselves (or at least their implementations in X11) are all built on top of Xlib. You can attempt to follow an Xlib tutorial such as https://tronche.com/gui/x/xlib-tutorial/ but there is a good chance that you will hit something that does not work. Xlib development is extremely finicky. At the very least, you will come to appreciate how much of an abstraction that toolkits such as Gtk and Qt provide. Coming from the Windows world, these toolkits are much more akin to Win32 GUI development than Xlib development is.

        Those are the facts, I will conclude with speculation since the OP seems particularly interested in Firefox: I believe that Firefox is actually built directly in X11, or more specifically uses its own internal GUI toolkit. While it descends from Netscape Navigator (which predates the general use of Gtk and Qt), Navigator appeared to use Motif (a much older Toolkit, itself built on top of a library called X-Toolkit), and one of the major changes from Navigator -> Firefox (or Phoenix as it was called early on) was the loss of that interface. This occurred when modern toolkits such as Gtk and Qt were proliferating and I suspect that rather than pick a side, the Firefox developers rolled their own.







        share|improve this answer








        New contributor




        drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 1 hour ago









        drzowdrzow

        1




        1




        New contributor




        drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        drzow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.













            Popular posts from this blog

            Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

            fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

            Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch