gui

Embedding non-edit widgets in a DataGridView

Is there any way to embed a widget in a data-bound DataGridViewCell when it is not in editing mode? For example, we are wanting to display an existing calendar widget in a cell. That cell contains a comma separated list of dates. We want to show the calendar instead of the text. We could create a custom cell and override the Draw m...

UI Performance with custom border.

I am creating a user control in C# and I am adding my own border and background. Currently the background is 16 small images that I change depending on the status of the object. Performance wise, would I be better off using GDI+ instead of the images? ...

looking for Java GUI components / ideas for syntax highlighting

I'm not committed to any particular GUI tookit or anything - just needs to be Java based. I want to do simple syntax highlighting ( XML and XQuery ) inside editable text areas. My only candidate so far is Swing's JTextPane, as it supports seems to support the styling of text, but I have no idea how to implement it in this context. If a...

Good examples of UK postcode lookup flow

I'm looking for a good, well designed flow of a UK postcode lookup process as part of registration for an eCommerce account. We're redesigning ours and want to see what is out there and how I can make it as friendly as possible. --Update-- Basically our current design was a manual entry form (worked pretty well) which a less than expe...

The best Tail GUI

What is the one single best GUI program for tailing log files you've come across? ...

How to have a Label inherite a Composite's GC in SWT

I'm writing an app and our designer's want to user gradient's for some of the backgrounds on a few of our composite's. I wrote the following code: composite.addListener (SWT.Paint, new Listener () { public void handleEvent (Event e) { GC gc = e.gc; Rectangle rect = composite.getClientArea (); Color color1 = new Color (displa...

GUI Design: How do you do it?

Do you draw your windows before constructing them? What do you use? I've tried the Pencil plugin for FF. I've tried MS Visio. I've tried paper & pencil. I've tried Designer Vista. etc. etc. etc. I'm currently leaning toward paper & pencil, but what about you; what's your preference? ...

Get Bound Event Handler in Tkinter

After a bind a method to an event of a Tkinter element is there a way to get the method back? >>> root = Tkinter.Tk() >>> frame = Tkinter.Frame(root, width=100, height=100) >>> frame.bind('<Button-1>', lambda e: pprint('Click')) # function needed >>> frame.pack() >>> bound_event_method = frame.??? ...

Is there something like Python's getattr() in C#?

Is there something like Python's getattr() in C#? I would like to create a window by reading a list which contains the names of controls to put on the window. ...

Dynamic radio button creation

In wxPython, if I create a list of radio buttons and place the list initially, is it possible to change the contents in that list later? For example, I have a panel that uses a boxSizer to place the widgets initially. One of those widgets is a list of radio buttons (I have also tried a normal radiobox). I would like to dynamically chang...

Which GUI Library is the best in Java?

Which GUI Library is the best in Java? I'm very confused. Swing is very slow and very ugly. Can you guys tell me about a good GUI library that I can use in Java? ...

JFrame.setDefaultLookAndFeelDecorated(true);

when i use setDefaultLookAndFeelDecorated(true) method in Java why is the Frame appear FullScreen when i maximize the Frame ? and how can i disaple the FullScreen mode in this method ? ...

Should I use Qt Jambi in Java ?

Is it a good idea for me to use Qt Jambi in Java as a toolkit? i see that Qt Jambi is hard to learn it , and Swing is more easy than Qt Jambi . but i think that Qt Jambi is more powerfull . ...

Whats the best way to create interactive application prototypes?

The question should be interpreted from a general point of view and not targeted solely at web apps or desktop apps. I have been looking around to find a simple and easy way of creating interactive prototypes for web applications. I'd like to use a technique that allows simple UI creation and especially UI recreation and modification in...

ActionScript3 User Interface Components?

After using AS2 for several years, I'm getting started with writing applications in AS3 (Flash9/Flash10). I've come to the point where I need some full sets of GUI components, and I need to decide which set I'm going to use. Back in the AS2 days, the built in components included with flash were pretty crappy - bloated filesize, slow, bug...

Programmatically Lighten a Color

Motivation I'd like to find a way to take an arbitrary color and lighten it a few shades, so that I can programatically create a nice gradient from the one color to a lighter version. The gradient will be used as a background in a UI. Possibility 1 Obviously I can just split out the RGB values and increase them individually by a certa...

High-level languages for out-of-the-box GUI desktop application programming

After I discontinued programming in C++ while entering into web authoring I was spoilt by PHP's high level constructs like hash tables or its dynamic, weak typing. I remembered the angst of C/C++ pointers and the maze of low-level Win32 API handles and message loops and that prevented me from utilizing environments like Code::Blocks for ...

Refresh Oldschool GUI Design

I'm building Desktop Software for over 10 years now, mostly it's simple Data-Input Software. My problem is, it's always looking the same: A Treeview on the Left and a lot of Text/Data Fields to the right, depending on the type of data currently is worked on. Are there any fresh ideas how such software nowadays should look like? For furt...

How to centre a Window in Java?

What's the easiest way to centre a java.awt.Window, such as a JFrame or a JDialog? ...

Something like Explorer's icon grid view in a Python GUI

I am making a Python gui project that needs to duplicate the look of a Windows gui environment (ie Explorer). I have my own custom icons to draw but they should be selectable by the same methods as usual; click, ctrl-click, drag box etc. Are any of the gui toolkits going to help with this or will I have to implement it all myself. If ...