widgets

wxWidgets compiling with an error

I am trying to compile and create wxWidget apps but when its just about done I have a virtual memory runout and there is an error in the wxWidgets code I have tried it several times with 2.8.10 AND 2.8.11, no luck, I am using codeblocks 10.5 and mingw I think version 5.02 but I am not positive whenever I start a wxwidgets app in codebloc...

How to programmatically set the split position of BorderLayout in GXT?

I have a border layout set on a widget using Ext-GWT. Is there a way where I can set the 'split' position automatically? Reason being, if the user resizes a control on a page (not necessarily the parent of the one the split widget is in), I'd like to set the split value to a certain percentage value (like 30%). How can this be done? ...

jQuery: object array for widgets

hi, i'm having some simple gui environment with a button widget (=jquery plugin) there's a gui object which holds all widgets like: myGui["button1"] = button1; myGui["button2"] = button2; what i want to do is defining a widget array like: myGui["button"][0] = button1; myGui["button"][1] = button2; but i'm getting an error: myGui["...

Widgets disappear after tkMessageBox in Tkinter.

Every time I use this code in my applications: tkMessageBox.showinfo("Test", "Info goes here!") a message box pops up (like it is supposed to), but after I click OK, the box disappears along with most of the other widgets on the window. How do I prevent the other widgets from disappearing? Here Is My Code: from Tkinter import * im...

OSX Dashboard widget command line access problem

I'm trying to access command line from a simple Dashboard Widget on Snow Leopard. My intention is to fill the contents of the widget from a command-line script I call. This should be possible. I'm calling the script every time the widget is shown using it's onshow callback: if (window.widget) { widget.onshow = onshow; } functi...

Is it possible to make an Android Layout, without just widgets?

Just something I have been thinking about. It is possible to create an android layout with just a TextView widget and no Layout code (e.g: inearLayout, ScrollLayout), but if I try to add anything else to the XML file all sorts of errors start popping up. Is it possible to create a Layout with just widgets? Also, if it is, how? ...

Python3 and terminal widgets

Hi, I'm looking for a terminal UI library having widgets (like buttons, checkbox, ...), and compatible with python3. I tried : pycdk (pyrex does not work with python3, and porting it is a mess) urwid (does not work with python3, it has a port but not working well with new curses interface). Does anyone know such a library ? Thanks...