gui

What is a good regular expression tester for OS X?

I'm looking for a GUI based RegExp tester in the vein of rubular.com, or this javacript expression tester here, for OS X, to help me when writing regular expressions. It would be really handy for it to work in more than one language (i.e. Python, Javascript, or Ruby). Other than using MacVim's own find as you type tool, or a commandlin...

switching between console mode and graphical mode

Hello. I just wanted to know if there is some way to switch between console mode and graphical mode. I am using java on swing. I'd like to know if I can type something in the shell to go to a console mode, then type something to go back to the desktop. Or if I can press some key at boot time, or something. The idea is to make my server...

Dimming screen around dialog

A popular feature in many applications - dimming a screen around a modal dialog. I need to implement this feature on Windows Mobile, C++. The main wnd is fullscreen, but contains many subwindows. How can everything be dimmed around specific rectangle(bounding required modal window) ? ...

How to hide checkbox from listview

I need to hide checkboxes only from specified rows. Is this possible and how? ...

How do I add to a specific column in Listview item?

I create a listview and the number of columns are determined at runtime. I have been reading texts on the web all over about listview( and I still am) but I wish to know how to add items to a specific column in listview I thought something like: m_listview.Items.Add("1850").SubItems.Add("yes"); would work assuming the "1850" which is ...

Linux library that handles both GUI/textual mode user interfaces

Hello, I am looking for some Linux library/programming language that can be used on a variety of Linux platforms and can operate in both textual and GUI mode interfaces. For example YCP (the Yast programming language) will display in GUI if in Gnome/KDE environment and run in text/ncurses mode when display is not available. The problem ...

Blackberry - Setting LabelField background color

I want to place several LabelFields with right-aligned text on a MainScreen with an alice blue background. Unfortunately I can't seem to figure out how to make that happen. The best I can do is set my backround to Color.ALICEBLUE on a MainScreen and place LabelFields on the screen (also with a alice blue background). public void ...

ContentPane and JProgressBar not visible

I have created a JDialog extension that has one component, a JProgressBar, inside the content pane. The JProgressBar is public because I want the value to be set by the owner class. When I create a new Dialog, the content pane doesn't appear at all, resulting in whatever is behind it being displayed instead of the progress bar: Since I'...

Best way to create a network GUI for a router?

I have a router which shows its neighbor routers on the CLI. I am thinking of using this info and creating a GUI out of it which would display a network with nodes and links between them. And some info alongside the node to display IP/hostname etc. My first goal is to get this running. Once I have this, I want to be able to add a node t...

Rich GUI application in Delphi

Hi ! I would like to create an application with rich UI elements and no VCL in Delphi (except a TForm). Each components (buttons, list, etc...) needs to support full per pixel alpha and be easily created without any codes. It should be skinnable and able to give result similar to adobe air application. I've tried with GR32 (Graphics32...

Asynchronous methods in RubyCocoa

I understand that it isn't possible/sensible to use threads in RubyCocoa. However it is possible to use asynchronous Cocoa methods to avoid blocking user interface events. I've successfully used a method on NSURLConnection to send an HTTP request and receive the response without blocking the user interface. But I'm wondering what other ...

vim + iterm: how to use mouse for everything EXCEPT selection?

Ok, have a very specific setup question. I'm using Mac OS X, iTerm, and vim. I really like using my mouse for clicking tabs in normal mode, scrolling in normal mode etc. (e.g. I already have the mouse working within iTerm/vim). However, I dislike using visual mode for selecting. I just want to use OS X selection not vim's visual select...

why message box is always hidden behind main dialog and cannot be shown on the top

I am using MFC to write a GUI application. I chose dialog-based application, and put picture control, edit box and buttons on it. When the picture control is mapped to the class derived from CWnd using DDX_Control, all the message boxes (including default system message box pop up when you enter invalid input in the edit box) are hidden...

How do I color LabelField text within a ListField when the parent manager has the focus?

I have an overridden LabelField that allows me to change the font color based on whether an item in my ListField should be subdued or now. Making the LabelField color subdued works great. But, when the row (that contains my LabelField) is highlighted in the ListField, I would like the label field color to be different or inverted. Her...

In GTK, is there an easy way to scale all widgets by an arbitrary amount?

I want my widget to look exactly like it does now, except to be smaller. It includes buttons, labels, text, images, etc. Is there any way to just say "scale this to be half the size", and have GTK do all the image processing, widget resizing, etc., necessary? If not, what's the easiest way to accomplish this? ...

Scale an image in GTK

In GTK, how can I scale an image? Right now I load images with PIL and scale them beforehand, but is there a way to do it with GTK? ...

How can I change the font size in GTK?

Is there an easy way to change the font size of text elements in GTK? Right now the best I can do is do set_markup on a label, with something silly like: lbl.set_markup("<span font_desc='Tahoma 5.4'>%s</span>" % text) This 1) requires me to set the font , 2) seems like a lot of overhead (having to parse the markup), and 3) would make ...

iPhone Dev - UIView frame and loadView

I'm learning to develop for iPhone (programmatically, I don't like IB). I only use IB for the frames of things, so I design in IB but only use it to check each control's frame. Something I've gotten very confused about is the frame of a UIView. First of all, if you do not implement loadView in a view controller, it automatically creates ...

How to get Transparent Background in VI Editor?

I am using gvim in Windows and novice to it. I want to have a transparent background for my VI (in Windows) , like console which creates a transparent command prompt. ...

Porting project to my laptop results in a blank screen

So I'm making something in openGL using SDL. I'm about to take a long flight, and I can't seem to get the project to work on my laptop. I've used SDL on my laptop before, so I'm left thinking it is openGL's fault. The laptop is on win xp pro, and has an intel 945 graphics "card." I've tried updating the drivers, but to no avail. The imag...