3 ms·
> I would argue that if your "graphical user interface" doesn't involve any actual graphics It does GUI, according to most common understandings of the term. F
by lelanthran 4y ago
> I would argue that if your "graphical user interface" doesn't involve any actual graphics
It does GUI, according to most common understandings of the term. From https://en.wikipedia.org/wiki/Graphical_user_interface https://en.wikipedia.org/wiki/Graphical_user_interface:
> The GUI (/ˌdʒiːjuːˈaɪ/ JEE-yoo-EYE[1][Note 1] or /ˈɡuːi/[2] GOO-ee), graphical user interface, is a form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator such as primary notation, instead of text-based UIs, typed command labels or text navigation.
Unless you want to argue that being capable of rendering images isn't "graphical".
> Zenity can't do any actual graphics, just text you can point at with a mouse.
It does scrollbars, progress sliders (also animated if you want), buttons, images, lines, boxes, maybe more stuff.
None of those are plain text.
TBH, I'm confused by your complaint - you wanted an easy way to produce simple GUI applications. Hardly anyone would consider a paint program a simple application, nor do most people consider a file open dialog as a text interface.
- kragen 4y ago> TBH, I'm confused by your complaint - you wanted an easy way to produce simple GUI applications. In this thread, that was porcoda, not me, but it is also true that "an easy way to produce simple GUI applications" is a good summary of why I wrote Yeso in the first place. > Hardly anyone would consider a paint program a simple application Seriously? It's 19 fucking lines of C. Including the fucking curly braces. What would you consider a simple application?
- lelanthran 4y ago> Seriously? It's 19 fucking lines of C. Including the fucking curly braces. What would you consider a simple application? We don't consider programs to be simple or complex based on the number of lines of code used to write them, otherwise the linux kernel is even simpler than your paint program because a single-line grub script calls it. Hell, I can make an even simpler program than your 19 line paint program, by writing a shell script that calls open-office in 1 line. You still think number of lines of the calling program matters to determine complexity? Simplicity (or complexity) is, for most, determined by what functions are available to the user. A program that does 20 different things is more complex than a program that does a single thing, even if those 20 different things are actually done by a library.
- kragen 4y agoYour implicit claim seems to be that Yeso is a paint program being called by a 19-line C wrapper. Despite its name, this is not the case. The paint-program logic is all in μpaint.c. μpaint has very few functions available to the user: draw a black pixel, draw a white pixel, and that's it. Such a simple paint program should not require dozens of lines of code, much less hundreds. (Even 19 is pushing it.) But with X-Windows or Win32 it does. Yeso is just a minimal GUI library that removes the accidental complexity inflicted by X-Windows, which is what porcoda was wishing for, allowing simple GUIs to be written simply. It doesn't really help with complex GUIs because it doesn't have widgets.