widgets

Stacking GTK+ widgets

Is there a way to put GTK+ widgets in a stack? I.e. put a button over label so that button covers a part of label. ...

"CFBundleVersion must be a string" from OS X dashboard.

While developing my dashboard widget, I looked at the console (system logs) and found that an error message: 2009-03-06 22:08:35.244 Widget Installer[3874] CFBundleVersion must be a string The property is marked as type string in Info.plist. I've tried changing it from a 1.2 number to a series of letters (can't be mistaken for number...

How to avoid name clashes in javascript widgets

I have a javascript widget (a piece of embedded JS and HTML code) that's embedded on other sites. What should I do to make sure it's variable names don't clash with the hosting page variables? I'd like this widget to be "inlined" meaning on the same page as the hosting page, not in an iframe, what's the best way to avoid name clashes wi...

Why QWidget::paintEvent doesn't get called?

I have a simple hierarchy of widgets: GraphWidget -> MotionWidget -> NodeWidget. I am new to Qt, so I am not quite sure about how some insides work yet. Basically, GraphWidget creates a single MotionWidget M and sets M's parent to itself. M then goes away and creates a bunch of NodeWidgets. However, NodeWidgets never get painted nor does...

How do JavaScript tidbits insert remote widgets onto a page?

Let's say I have a web service that allows users to insert a piece of JavaScript onto their page which, when loaded, will grab a widget from my server and insert it into their page. How might I go about doing that, and what techniques should I use? document.write? ...

Widgets in JAVA

What is Widget in java? ...

QT GUI internals - widget painting?

I've been using QT for a while now and I've been wondering about something regarding the way the GUI is painted in Windows. Is it really painting all the buttons, edit boxes, combo-boxes, check-boxes, tabs etc' on its own using QPainter or is it somehow using the native widgets? The fact that it can do custom styling and skinning sugg...

A wxPython timeline widget

Hello! I am looking for a certain wxPython widget to use in my program. I hope that something like this exists and that you might know where to find. I will try to describe the functionality I'm looking for: Imagine something like the widget that Audacity uses to display an audio track. It's a horizontal timeline, with a ruler. It is p...

wxPython: Making a fixed-height panel

I have a wx.Frame, in which I have a vertical BoxSizer with two items, a TextCtrl and a custom widget. I want the custom widget to have a fixed pixel height, while the TextCtrl will expand normally to fill the window. What should I do? ...

HTML Rich Textbox

I'm writing a web-app using Python and Pylons. I need a textbox that is rich (ie, provides the ability to bold/underline/add bullets..etc...). Does anyone know a library or widget I can use? It doesn't have to be Python/Pylons specific, as it can be a Javascript implementation as well. Thanks! ...

How should I track widget renders?

I created a widget that users of my site will embed on their web sites. I want to track the amount of times a widget renders as well as the referring URL. The widget was written in flex and my back end is Rails. One obvious way to do this would be to have my widget make a service call to the back end to register a hit. However, when ...

Can a text widget show overflow with the "..." in the middle of the text instead of the end?

I have a JComboBox which contains an MRU list combo-box and a for a directory tree panel. Together, the two form the left hand panel of my GUI (the MRU is above the tree panel) which is a JSplitPane, so the left panel is resizeable. It has a problem in that the directory text is always longer than the required width to see that directo...

HTML/JavaScript UI widgets GUI builder

I've heard and used some of the libraries like Ext JS, qooXdoo, jQuery UI, dijit. I know there are unofficial attempts to create GUI builders but they are not really great. Any chance there is a HTML/JavaScript UI widget library with a decent GUI builder? ...

Django form field using SelectDateWidget

I've installed the latest SVN branch from Django which includes the new forms. I'm trying to use the SelectDateWidget from django.forms.extras.widgets but the field is showing up as a normal DateInput widget. Here is the forms.py from my application: from django import forms from jacob_forms.models import Client class ClientForm(forms...

How can I make my entire flex widget have rounded corners?

I am creating a Flex widget and would like to make the corners rounded. In other words, I don't want some component inside the widget rounded, I want the actual widget to be rounded. I have seen this done in many places so it cannot be too hard, but all of the solutions I find on the internet do not work. People say to set the corn...

wxPython: A foldable panel widget

I have my main program window, and I would like to make a foldable panel. What I mean is, a panel which is aligned to one of the sides of the window, with a fold/unfold button. It's important that when the panel gets folded/unfolded, the other widgets change their size accordingly to take advantage of the space they have. How do I do th...

Ensure javascript badge / widget html is not changed

One of my clients wants to distribute a javascript widget that people can put on their websites. However he wants to ensure that the backlink is left intact (for SEO purposes and part of the price of using the widget). So the javascript he's going to distribute might look like this: <script id="my-script" src="http://example.com/widget-...

how to retrieve data from google appengine database using widgets.

by widget i mean they are mobile widgets ...

Change/adapt date widget on admin interface

Hi! I'm configuring the admin site for my new app, and I found a little problem with my setup. I have a 'birth date' field on my database editable via the admin site, but, the date widget isn't very handy for that, because it makes that, if I have to enter i.e. 01-04-1956 in the widget, i would have to page through a lot of years. Also...

AJAX in the control panel of a WordPress widget

I'm trying to figure out the best way to implement an AJAX-y slider on the control panel of a WordPress widget. Because the sidebar admin itself is AJAX, I want to make sure that my solution doesn't conflict with what's already in place. The goal of the slider is to default to basic options but allow the user to opt-in to advanced option...