In computing a graphical user interface (GUI, sometimes pronounced gooey) is a type of user interface that allows users to interact with electronic devices with images rather than text commands. GUIs can be used in computers, hand-held devices such as MP3 players, portable media players or gaming ...

learn more… | top users | synonyms

0
votes
1answer
19 views

Java swing - fading in a component by alpha setBackground, correct synchronization

I am making my first GUI, for a project of mine. I made the first page, login for it. Now I have a login button which should let the controller know when it's clicked and pass the username and ...
2
votes
0answers
34 views

In GTK/Linux, what's the correct way to get the DPI scale factor?

Context: Writing a drawing program that's supposed to be cross-platform. So I have multiple frontends responsible for providing a backend class access to a Cairo context, basic event handling, and ...
0
votes
1answer
90 views

GUI code implementation for specific Window/Form class

Terminology Element/Form Element -> Fields such as text list, combo_boxes, push buttons, etc. Problem I have a program that is basically a fat client that interfaces into a system that keeps track ...
0
votes
1answer
65 views

Where and how to reference composite MVP components?

I am learning about the MVP (Model-View-Presenter) Passive View flavour of MVC. I intend to expose events from view interfaces rather than using the observer pattern to remove explicit coupling with ...
0
votes
0answers
23 views

Proper program design for submitting a form

I have been stuck wondering what the best solution to the problem below: I am developing a form like GUI with quite a few places for input. Currently, I am storing each UI element in an ArrayList ...
1
vote
3answers
179 views

How to manage focus for a small set of simple widgets

I'm developing a set of simple widgets for a small (128x128) display. For example I'd like to have a main screen with an overlay menu which I can use to toggle visibilty of main screen elements. Each ...
2
votes
4answers
291 views

Is it possible to have a single code base for a desktop GUI and a web application?

The required user interface is fairly simple; basically, two tables that "interact with each other", e.g. certain rows in one table get highlighted when a row in the other is clicked, plus maybe a ...
1
vote
2answers
96 views

The destination of cout messages in a GUI program

I've been building some classes and functions in a static library which has the familiar printing of text messages to stdout: cout << "Hello World!" << endl; I've been developing this ...
0
votes
1answer
107 views

Are sequence designs appropriate for GUI button design?

Specifically, I have numerous buttons that will be changing color based on state information from operator input and input from various subcomponents and sensors. I would like to use UML or some ...
2
votes
2answers
82 views

MVC design pattern. Overloading controller responsibilities

I'm developing a desktop application with a GUI. To do so, I'm using the MVC design pattern for the GUI part. For now the application consists of a single window (view) with one controller ...
0
votes
2answers
87 views

Is it good style to store view data inside the model?

I'm using a variant of the MVC pattern. In my GUI code, often the need arises to synchronize "view data" (e.g., selected item) between different views. For example, let's imagine a vector drawing ...
0
votes
1answer
93 views

Application behavior in different screen sizes

My company is developing a .NET application that needs to work with 17 inch and 24 inch monitors using the same resolution on both. My question is whether I should expect any different behavior or ...
1
vote
1answer
124 views

Which to implement first: GUI or backend? [closed]

So, I can code both, but which should I use a base for development? In terms of TDD, should minimal aspects in the GUI be used as the seed from which to grow towards backend logic? or should the ...
0
votes
2answers
111 views

Is there a way to not use the Observer pattern when creating GUI systems?

In Java, the Swing library implements the Observer/Subscriber-Publisher design pattern to design the way the program responds to events on the GUI (button clicks, etc). The programmer registers ...
0
votes
3answers
167 views

Automated GUI tests take too long because of doing same steps before the “main test action” can proceed

We are developing a desktop application and I am responsible for GUI testing. Currently we have around 500 tests which take 8 hours to complete. The tests are testing almost every button/menu/field ...
2
votes
1answer
118 views

UI design for changing multiple records at once

I have a desktop application where the user has tabular views on some data records. Now we got the requirement to let the user select multiple of these records at the same time and let the him edit ...
-1
votes
2answers
551 views

C#/C++ GUI development without drag and drop? [closed]

I'm currently programming Java, I have played around with C++ before, but I have never touched GUI as I feel "cheat-like" when using its drag and drop system. I feel good and enjoy programming my own ...
3
votes
2answers
562 views

Thread safe GUI programming

I have been programming Java with swing for a couple of years now, and always accepted that GUI interactions had to happen on the Event Dispatch Thread. I recently started to use GTK+ for C ...
62
votes
9answers
10k views

Why is it hard to make a Java program 'appear native'?

Most Java applications don't look the same as C/C++ applications. Swing might have been designed on purpose to have a distincitve look, but based on what I've read, SWT for example tried to 'look ...
3
votes
5answers
1k views

Web technologies on GUI apps

I developed many GUI applications for the Windows platform during my early professional career, and saw several GUI frameworks come, have whole magazines devoted to them, and then fade away. MFC is ...
0
votes
1answer
310 views

Console Application vs GUI? [closed]

I'm trying to develop a minimal MP3 player with some cool but light features. It is so simple that it doesn't matter if it is console application or not. Since my purpose is to consume the sources as ...
15
votes
4answers
10k views

How to avoid big and clumsy UITableViewController on iOS?

I have a problem when implementing the MVC-pattern on iOS. I have searched the Internet but seems not to find any nice solution to this problem. Many UITableViewController implementations seems to ...
1
vote
2answers
199 views

Using a web framework as python GUI

If I built some useful piece of python code to e.g. scrape a website or to calculate something big, at some point I might want to add a GUI to my project. For this I could use Tk, Qt, Pygame or any ...
-1
votes
2answers
163 views

Programming beginner: Options for small program interfaces? [closed]

I have been a Rails developer for a year now, and I really want to start diving in to Ruby and pure programming without using a framework. However I am having trouble conceptualizing little programs I ...
4
votes
2answers
180 views

C# gadgets overloading the form (can't see the woods for the trees) [closed]

I have the task of taking over a C# program that is very badly written, however I am new to C#. The form has many objects including labels, buttons, panels, etc, which overlap each other. The form is ...
-2
votes
1answer
147 views

Python scripts link to GUI using an IDE [closed]

I am studying python. Now I can write python scripts(codes) to some extent. I am interested in making GUI to those written programs.I like to do it using an IDE rather than using PyGTK or Tkinter. Can ...
0
votes
3answers
4k views

Browser-based GUI for a python application [closed]

I want to create a web/browser-based GUI for a command-line python application. The goal is to make use of HTML/JS technologies to create this GUI. As the application itself, it needs to run on Linux ...
1
vote
0answers
165 views

Which are the best ways to organize view hierarchies in GUI interfaces?

I'm currently trying to figure out the best techniques for organizing GUI view hierarchies, that is dividing a window into several panels which are in turn divided into other components. I've given a ...
3
votes
1answer
3k views

Why use classes when programming a tkinter gui in python

I program primarily in python and have programmed a couple of GUI's with Tkinter, every tutorial I have ever seen has recommended defining and using a class for the GUI, but my GUI runs flawlessly ...
8
votes
2answers
626 views

Is it crazy to develop a TUI today? [duplicate]

I'm starting to develop a new program. It's basically a database interface, run a few queries, show the data in a nice way and be able to easy input new data (like this website). Thinking about which ...
-1
votes
2answers
3k views

Want to create a simple gui app using C++ but dont know what to use [closed]

I have learned C++ to an intermediate point and now I'd like to create something beyond a console program. I would like to create a simple program that grabs info from specific text files and displays ...
18
votes
6answers
2k views

Where can I find inspiration for a good user interface? [closed]

I've got a mental block as far as desigining the main screen interface for a desktop application that I'm currently upgrading. When I first developed this program the screen resolution was 640 X 480. ...
2
votes
3answers
599 views

GUI: Setting options in two different places and having them stay in sync?

Programming in Windows with Visual Studio 2010 C++ and MFC. My question is about how best to store, update, and pass around program settings or options. I have a simple main GUI window/frame/dialog. ...
0
votes
2answers
541 views

Why to have an application with GUI on linux when command line is available?

If the question appears to be off topic then please migrate to some other suitable domain on stackexchange. Q.why to have GUI along with CLI, when you already have command line interface? I'm ...
6
votes
1answer
1k views

Ruby Shoes for non-trivial apps [closed]

I've been taking a look at Ruby Shoes for GUI development with Ruby. So far, it's been a pretty good experience for making simple apps. However, I am quite worried about being able to write large ...
3
votes
4answers
18k views

What popular program is used to develop GUI in C++? [closed]

I'm asking this question because my creativity can only go so far with console programs in C++. I need to know what program/software the majority of c++ software developers out there use develop GUI ...
4
votes
1answer
189 views

Is there any theory or science for building complex visualization GUI's?

Most "Canvas" widgets in common GUI toolkits offer low level operations like drawing basic shapes of different colors/line-width/etc, or displaying sprites and images. Some seem to have slightly more ...
0
votes
1answer
168 views

How does GDI/+ work and can it be replaced with my own code?

On wikipedia it says that GDI is an API and core operating system component responsible for representing graphical objects and transmitting them to output devices. I'm not finding much on what GDI+ ...
6
votes
4answers
868 views

What are some standard design methods to add GUI to a command line app? [closed]

I have an embedded linux c application that runs with a simple CLI. I am now tasked with creating a GUI that accomplishes the same functionality as the command line program. I am not an accomplished ...
1
vote
0answers
569 views

Is the Glade GUI designer a good option for a beginner?

I am a student of Computer Science and I already have basic programming experience in Python 2.x, 3.x, C++, and HTML. I never made a program with a GUI. I have just programmed games, scripts/plugins, ...
1
vote
0answers
159 views

How to render graphical interface automatically (behind the scenes)

I am trying to write a program that shows images of a Java application's GUI automatically (ie, without someone building, running, and then taking screenshots of the interface). I know WindowBuilder ...
32
votes
4answers
1k views

What's the right way to work with a graphic designer?

Recently, we worked with a graphic designer (arranged by the client) to provide the skin for a Django+Bootstrap application we had built. The designer provided a series of static images of the new ...
11
votes
6answers
1k views

How does a CLI-oriented programmer's workflow differ from a GUI-oriented one?

I've heard a lot about the advantages of doing less programming work in GUI apps and using more command-line tools (especially with regard to getting things done more efficiently). However, since I ...
1
vote
1answer
167 views

What should the relation between parent and child GUI components be?

This seems to happen every time I create any sort of GUI. I have trouble figuring out how child classes should communicate to their siblings. It's a general problem, but it's probably easier to use a ...
2
votes
1answer
173 views

Are GUIs ever programmed in DirectX for higher performance?

I've been researching GDI a little and on some websites I'm lead to believe it can hardly draw a few boxes, while on others it can easily be used in an interactive charting application. So I'm ...
0
votes
3answers
711 views

Which language and GUI toolkit would you use for a prototype program? [closed]

Suppose, I have an idea and I have to put it into code quickly. And then I am presenting it to someone who is not so computer savvy. Which language should I use for quick and dirty coding? And which ...
2
votes
5answers
367 views

Other than XML, what are some examples of “coding” a GUI design?

I've been trying to think outside of the box as to how desktop GUIs can be designed in code(not a graphical designer!). I've come across basically three ways this is done: XML Raw code (create a ...
2
votes
1answer
209 views

How to create in Python Tkinter a widget that would act like a choice tree?

I would like to know if there is such widget in tk (or in any different standard Python 3 module), or how to create it: Of course it doesn't have to look like this, but it should offer same ...
1
vote
1answer
560 views

Modern REPL for Haskell - is anybody working on it? [closed]

It's time Haskell had a modern REPL like Mathematica's (or better). Make each calculation run in a separate thread, so user has control over each computation box's resources (ability to pause, play, ...
3
votes
3answers
379 views

Dynamically change of UI on value changes in list box

I have a list box with several elements, let it be web servers (tomcat, iis etc). For each list box value, UI must have different views. For example, if we choose IIS, user name and password fields ...