Article 24
I pulled down the sources from Mozilla and grabbed the code I wrote for a Gtk+ dialog back in 1999 while I was at Netscape. Here is a screen shot of what the dialog looks like:Looking more closely at...
View ArticleArticle 23
This weekend's project goal was to design and implement an architecture to support file pickers (i.e., Open and Save As... dialogs).Unlike the widgets implemented to date, file pickers are not...
View ArticleArticle 22
This weekend I tackled the issue of supporting the enabling and disabling of controls (e.g., menu items, buttons, text fields) from user code, once again, starting my work on Cocoa, and migrating it...
View ArticleArticle 21
In Cocoa, an NSMenu object can be set to allow clients to enable or disable menu items, or to have Cocoa itself enable or disable menu items based on whether or not the control that has focus (known in...
View ArticleArticle 20
This week, I continued work towards supporting DOM interfaces from JavaScript, adding support for getting and setting the value of controls (at this point, the only content-based controls I support are...
View ArticleArticle 19
Those of you who are experienced JavaScript programmers, and who have read my last couple of posts, might be wondering why I have not implemented properties for setting and getting the value of a...
View ArticleArticle 18
After a couple of weeks of laboring with issues related to the JavaScript engine, I have implemented support for "document.openDialog" and "document.close" functions. The document.openDialog() function...
View ArticleArticle 17
What's next, now that I have the spent the last 8 months writing the following, from scratch: -- XML UI language-- a set of simple widgets (buttons, text fields, static and editable, box widgets,...
View ArticleArticle 16
After playing around most of the weekend with the concept, here is what I plan to do for scrolledwindow widgets:-- scrolled window widgets are a mix of a container and control; much like the window...
View ArticleArticle 15
After some time implementing and debugging scrolled window support under Cocoa, I now have a solution. In the end, what I needed was two widgets. One which represented the actual scrolled window, and...
View ArticleArticle 14
Here is a screen shot of the Gtk+/Linux port of the scrolledwindow and scrolledview widgets. The work took maybe 3 hours to complete. The Windows .NET port is next up.
View ArticleArticle 13
The port to Windows .NET of the scrolledwindow and scrolledview widgets took more effort than I had originally thought that it would (the patch file for the changes was well over 1000 lines when...
View ArticleArticle 12
I have a basic implementation of scrolled lists up under Cocoa (based on NSTableView) that support the following: adding, appending, and removing strings to the list, querying selection count, and...
View ArticleArticle 11
After a few hours of work this weekend, scrolled lists are working now under Gtk+ and .NET, ported from Cocoa.I originally thought that this would be it; finishing scrolled lists, it would be time to...
View ArticleArticle 10
Let's look at the class, RadioGroupManager, that provides the functionality necessary to ensure that only one radio button in a group is selected:#if !defined(__RADIOGROUPMANAGER_H__)#define...
View ArticleArticle 9
The following JavaScript code is attached via onclick handlers to two buttons. The first button runs thru all the checkbuttons in the UI and changes their state; the other enables each radiobutton in...
View ArticleArticle 8
Here's the Gtk+ screenshot. As it turns out, I needed to make use of RadioGroupManager, but in a different way. In Gtk+, the first radio button in the group is created with a NULL group, and subsequent...
View ArticleArticle 7
And, finally, a few hours later, .NET checkboxes and radiobuttons. Suprisingly, .NET took a similar approach to Cocoa, coupling UI with management of radio groups by requiring developers to wrap radio...
View ArticleArticle 6
I just submitted a request to host trixul on sourceforge under the project name "trixul". The source will be submitted under a BSD open source license.
View ArticleArticle 5
Trixul is now in the source forge CVS repository. You can get information about how to pull it by going to http://sourceforge.net/projects/trixul and clicking on the CVS link. You can also browse the...
View Article
More Pages to Explore .....