gui

HTML as a cross-platform GUI ?

Context : This is for a software develop internally and used only by company's employees. Employees have windows, linux or Mac operating systems for the moment. Next, they may want to have a light version on their handheld devices. Pro : cross platform Con : may be not cross browser Pro : GUI code should be smaller. Con : but data ...

How to set input focus to an application which is not in foreground in Windows?

I want my application to capture input focus, whenever the mouse hovers over it. How do I do it in Windows? Basically I dont want users to explicitly click on the application, or the taskbar icon before entering any text, when the application is not in foreground. I tried the SetForegroundWindow API in the mouse hover notification, but...

Quit an Excel Macro externally (from a GUI, not from the macro)

I'm have a program (GUI) that interfaces with excel to execute macros. We're using Microsoft.Office.Interop.Excel to call/run the macros and this works great. What I can't figure out is a good way to cancel the macros from the GUI. One idea we had was to use the excel.application variable that runs the macros to write a "stop" value to...

Android Activity.setContentView(), smooth transition?

I'm developing my first Android game and I'm having a bit of difficulty making the UI as smooth as I would like. I've spent a couple of hours googling around with no luck, I'm probably just searching for the wrong thing. I have two different XML layout resources where each layout contains just one SurfaceView subclass. When I call activ...

Python 2.7: Themed "common dialog" tkinter interfaces via Ttk?

Python 2.7 (32-bit) Windows: We're experimenting with Python 2.7's support for themed Tkinter (ttk) for simple GUI's and have come away very impressed!! The one area where the new theme support seems to have come up short is how OS specific common dialogs are wrapped. Corrected: In other words, the MessageBox and ColorChooser common dia...

Creating and returning a value from a custom dialog box in pyqt?

I've been building a small application in pyQT and I've run into a problem. I'd like to create a modal dialog box that appears on launching the application and collects some input from the user (probably a set of checkboxes that will be populated at runtime). I'm unsure of the best way to accomplish this. Should I subclass QDialog (and i...

add gtk.TreeView columns to a size group

I want to stack two treeviews on each other and have the columns be aligned. I figured the way to do this would be to use a gtk.SizeGroup somehow. However, gtk.TreeViewColumn is not a widget... how can I do this? ...

[Silverlight] Defining Textbox-behaviour in XAML without Codebehind

Hello everyone, what I want to achieve is a pretty common thing, but I want to use the Silverlight advantage to keep the UI-Behaviour in XAML. I want a Textbox which has an 'empty' state like this: [ Name ] (Name in gray font), and when the Textbox receives Focus, the Fontcolor is supposed to change to black and the Textbox is suppose...

Make a GUI Interface

Hi I have made a game and I have used OpenGL for its graphics.the OS is ubuntu 10.04. The only thing left is to make a user interface so as to directly receive the requisite inputs from the user rather than from the terminal. Can sm1 please tell me any good links to go to !!!!or any software that can ease my work ! thnx. ...

Test for Low bandwidth Networks

Hi I have made a game and I have used OpenGL for its graphics.the OS is ubuntu 10.04. The game is multiplayer.For its testing I am unable to find any tool/software for low bandwidth and high latency.I mean I want to find the appropriate network conditions so as to run my game ! Can sm1 please tell me any good links to go to !!!!or any s...

Amount to show on a bill form

My company is currently setting up an online billing portal for our customers. I was curious as this question went back and forth a bit between developers and testers: When showing the input form for the amount a customer wishes to pay, do you set the default to be the max amount owed by the customer? Taking a look around at sites when I...

Quick and simple programming language

Is there someone that can suggest me a programming language that allows you to write quickly GUI programs (on windows platform)? P.S. I am interested on only languages that do not rely on virtual machines and then have a compiler that produces executable code directly on the machine ...

Proper way to pass GUI values to backgroundworker?

I am working with a fairly complex GUI and am trying to pass a lot of data from the GUI to a backgroudWorker. The problem I am running into is accessing some of the GUI values from the background worker. For example, if I try to get ComboBox.Text I get a InvalidOperationException due to cross-threading. However, if I say do TextBox.Text,...

what is a graphics context (In Java) ?

I have seen the term several times, what does it mean? ...

Is there Python web application framework for creating desktop-like GUI end-to-end applications?

I mean that the user interface and the server logic are like one thing, and no html/js is used. There is an excellent C++ web toolkit, which does exactly this: http://www.webtoolkit.eu/wt Is there python equivalent/alternative? Note: pyjamas does not count - it's great, but client side only. Thanks! ...

create a GUi using window native API.

hello, i am trying to create a GUI only use native windows api. i create projects in vs 2008 using win32 console project and win32 window project, and i used the sample code from Microsoft as below #include <windows.h> // Global variable HINSTANCE hinst; // Function prototypes. int WINAPI WinMain(HINSTANCE, HINSTANCE,...

Drag and Drop UI in flash

What is the best GUI widget kit to implement a drag and drop interface in Flash. I hope to have a list from where block like items are dragged and their arangement on a continuum is serialized. Similiar to how one would compose a song or a video out of blocks. ...

graphical gui editor which incorporate database tables with python

(from your own experience) Is there a graphical UI editor / designer tool, commercial or free, which is able do design forms, and supports database-bound tables, before writing any line of code? PyQt Designer can't work with Databases, AFAIK (do you know how?) Dabo is the only thing so far that more or less works, but is quite heavy o...

Logging strategy for GUI program

I'm thinking it may be beneficial to sprinkle some debug logging throughout my app (a painting-type program), and to have this info written to a file. My current debugging strategy is to hook up a custom exception listener (sys.excepthook) and to allow the user to e-mail me a copy of the stack trace that caused the crash. This has been ...

Vertically add elements to a scrollview: diffs between Java and iPhone SDK?

Folks, coming from the Java/Swing world, I am sometimes puzzled by the UI programming on the iPhone. I've spent the last hours with Googling for information but it seems that I asked the wrong questions by thinking too much in Java. Could you please point me to resources to get more familiar with the GUI concepts to be able to achive th...