gui

GUI Programming APIs

Alright, this is a rather odd question that doesn't have one true answer: What is the * Best || Easiest to Use || Most Powerful || Cleanest * GUI API or library (tk, SWING, Qt, etc.) you have had the privilege to use? I've had conversations with friends about how annoying XYZ API was to deal with and how someone could build a bette...

Gtk SSH client for Linux?

I realise purists would say "use the command-line" but this is the age of Ubuntu and since I spend most of my time behind a proxy server I find it easier to configure and use PuTTY on Windows than configure ssh with connect.c I also realise PuTTY is available on Linux but it seems to use some weird GUI widget set that is rather nasty t...

Writing A "Conway's Game of Life" Program

Alright, so I've always wanted to write myself a nice little Game of Life program where you could play with the rules and adjust the number of cells and such; I've just never really had the time to mess around to do this (until recently). I understand the basic algorithm and such (if you don't, go to the Game of Life Wikipedia page to c...

What are MVP and MVC and what is the difference?

When looking beyond the RAD (drag-drop and configure) way of building User Interfaces that many tools encourage you are likely to come across 2 design patterns called Model-View-Controller and Model-View-Presenter. My question has two parts to it: What issues do these patterns address? How are they similar? How are they different?...

Looking for a MVC Sample for WinForms

Can you point me to a good real-world WinForms MVC application/framework? I understand the Model part - that's your data, and I know the forms are the views, but what's the controller? Especially if I want to use data binding....

An executable Python app

Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux. The problem being I have no idea where to start or how to write a GUI with it, can anybody shed some light on this and point me in the right direction pl...

Capturing TAB key in text box

Here on Stack Overflow, I would like to be able to use the tab key within the WMD editor text box to tab over 4 spaces. The way it is now, the tab key jumps my cursor down to the Tags. Vote for this feature at UserVoice: http://stackoverflow.uservoice.com/pages/general/suggestions/15889 Is there some JavaScript that will capture the TA...

Best method for creating a "tree-view preferences dialog" type of interface in C#?

I'm writing an application that is basically just a preferences dialog much like the tree-view preferences dialog that Visual Studio itself uses. The function of the application is simply a pass-through for data from a serial device to a file. It performs many, many transformations on the data before writing it to the file, so the GUI fo...

Prototyping a GUI with a customer

When prototyping initial GUI functionality with a customer is it better to use a pen/paper drawing or to mock something up using a tool and show them that ? The argument against a tool generated design being that the customer can sometimes focus on the low-level specifics of the mock-up rather than taking a higher level functional view ...

C# and Arrow Keys

I am new to C# and am doing some work in an existing application. I have a DirectX viewport that has components in it that I want to be able to position using arrow keys. Currently I am overriding ProcessCmdKey and catching arrow input and send an OnKeyPress event. This works, but I want to be able to use modifiers(ALT + CTRL + SHIFT). ...

How to make a button appear as if it is pressed?

Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button look "pressed"? Imagine this button is an on/off switch. ToolStripButton has the Checked property, but the regular Button does not....

User Interfaces - Colors and Layout

Although I'm specifically interested in web application information, I would also be somewhat curious about desktop application development as well. This question is driven by my work on my personal website as well as my job, where I have developed a few features, but left it to others to integrate into the look and feel of the site. Ar...

Cross Platform, Language Agnostic GUI Markup Language?

I learned Swing back in the day but now I've moved to Python and want to make some apps with GUIs. I haven't had the time to learn a new GUI API so I've been using Jython, but I would prefer to use CPython. It would be great if I can have one simple markup that allows me to switch GUI libraries. It would be even better if I can use the...

What are you using for Web UI/layout design?

What are folks out there using for web/ui design? For the most part we use PowerPoint at my company. The UI folks will mock up a screen in PowerPoint and we (the development group) will take it from there. So, for a side gig of mine I decided to do some mock ups to show the client prior to dev and I'm quickly feeling that PowerPoint i...

Icons: How does a developer with no design skill make his/her application icons look pretty?

I probably spend far too much time trying to make my visual interfaces look good, and while I'm pretty adept at finding the right match between usability and style one area I am hopeless at is making nice looking icons. How do you people overcome this (I'm sure common) problem? I'm thinking of things like images on buttons and perhaps ...

How do I make a GUI?

I've made many different seperate parts of a GUI system for the Nintendo DS, like buttons and textboxes and select boxes, but I need a way of containing these classes in one Gui class, so that I can draw everything to the screen all at once, and check all the buttons at once to check if any are being pressed. My question is what is the b...

Best way to wrap rsync progress in a gui?

I use rsync to synchronize files to Windows clients in a server agnostic way. What methods are available to send the progress of rsync to the parent process for display in a gui progress bar? I imagine two or three choices exist. (1) Watch STDOUT (2) Watch rsync.exe log file, similar to unix tail (3) Watch rsync console output in memory...

What is the best MySQL Client Application for Windows

Are there any MySQL Client applications for Windows that get even close to what the Enterprise Manager / Server Management Studio is for Microsoft SQL? I have two requirements and one "nice to have" feature: Editing table structure should not be a pain in the a** -> I don't want to click an "add another column" button, then edit the c...

Do you name controls on forms using the same convention as a private variable?

For some reason I never see this done. Is there a reason why not? For instance I like _blah for private variables, and at least in Windows Forms controls are by default private member variables, but I can't remember ever seeing them named that way. In the case that I am creating/storing control objects in local variables within a memb...

Performance critical GUI application (windows,linux)

All, I've been tasked with updating a series of applications which are performance critical VB.NET apps that essentially just monitor and return networking statistics. I've only got three requirements: convert it to C#, make it fast, and make it stable One caveat is that we "may" migrate from a .NET platform to linux "soon" I will be ...