CPComboBox in Cappuccino - cappuccino

It seems like there is no ComboBox component in Cappuccino framework.
I see that there are many widgets in Cappuccino that are not used very often (like Predicate Editor), but ComboBox is missing. Is it abandoned on purpose?
Is it possible to transform CPPopUpButton into Combobox somehow?

A CPComboBox actually does exist. It's just not in the latest stable release yet…
Here's a link to the class: https://github.com/cappuccino/cappuccino/blob/master/AppKit/CPComboBox.j
We're working hard on getting the next major release out the door, please be patient or if you'd like to try out the latest release candidate you can here:
https://groups.google.com/d/topic/objectivej/svifpqxvjfA/discussion

Related

Oracle Forms Round Corners Button

I am inserting a push button in oracle form builder but I want to customize its corners in round shape just like below mentioned image.
Any help willl be highly appreciated!
I've never done that (didn't have to & I'm quite happy with buttons as they are), but - it seems that you'll have to use PJC (Pluggable Java Components) and Java Beans. These are terms you should be searching for; one resource is A non rectangular button's PJC; see if it helps.
As mentioned, you would need to create a Plugable Java Component (PJC) if you want round ended buttons. The demos that Oracle used to provide included an example of such a PJC, however they are no longer available. So some Google searching might be needed if you want to find them.
The good news is that there are plans to introduce this functionality as a feature in a future release. If added to the product, you would no longer need to use a PJC. Unfortunately, the release date of that version cannot be shared at this time. For the latest information about Oracle Forms, refer to:
https://www.oracle.com/application-development/technologies/forms/forms.html

Lost feature - how do I get an overview of the strings contained in a xib in XCode 4?

the Internationalization Guide mentions a sweet feature - by choosing "Tools > Strings" you should be able to view and edit all the strings contained in a xib file in a nice table. It's available for Interface Builder 3.0 and newer, the guide says.
Since XCode4 however there is no Interface Builder and no "Tools > Strings" menu anymore. I've looked pretty much everywhere, but I can't seem to find that feature.
Can you guys tell me where they've hidden this jewel? Or did they maybe drop it?
thanks,
Toastor
Edit:
The whole guide I mentioned seems to be a bit outdated. Any suggestions for more up-to-date guides or tutorials (covering internationalization using XCode4) would be very welcome!
Edit 2:
Never mind about the guide. I found a short and sweet guide at Ray Wenderlich's. Still curious about the string summary, though.
That feature does not exist in the current version of Xcode 4.0. Using ibtool is the best alternative.
you could use ibtool:
man ibtool

Generating a keypress event in wxWidgets programatically

I'm looking for a way to programatically generate keypress events in a C++ wxWidgets app, for testing a control that I had written.
Are there ways to do this?
Thanks a lot for the help!
Sahas
You should first build a wxKeyEvent object, fill it with the necessary key information, and then call the ProcessEvent method of the target control.
There is/will be wxUIActionSimulator in wx 2.9 soon (it's currently present in basic form in the trunk and in an improved one in one of svn branches which will be merged soon). You should be able to take the relevant files and use them with wx 2.8 too if you need but I haven't tested this.

How to preview Dojo/Dijit themes?

I bought the O'Reilly Dojo book by Matthew Russell. It says "in your toolkit checkout, you can find a theme tester at dijit/themes/themeTester.html.
I downloaded 1.3.2 from here: http://dojotoolkit.com/downloads
and cannot find such a file. I would like to see each of the three themes in action.
How can I do that?
Thanks,
Neal Walters
themeTester isn't in the release (minified) version. You need to download the *-src ones. For example this one: http://download.dojotoolkit.org/release-1.3.2/dojo-release-1.3.2-src.tar.gz. These are available off of the 'More downloads' link on the downloads page.
Besides what Wahnfireden said, you can also check out Dojocampus docs. It has examples embedded where you can dynamically change the theme applied to individual widgets (as well as change the version of dojo that is used). For example, dijit.form.Button has a bunch of examples to look at.
Dijit Theme Tester
Another great place to test out Dijit and DojoX widgets is to look at their tests. Dijit tests are here, and DojoX tests are within each individual folder here.
Note that these links are to the nightly build, not 1.3.2, so there may be small differences. I'd suggest using the Dojo nightly though, personally.

A good place to find frameworks with Interface Builder plug-ins…

Someone on here recently recommended BWToolkit, and it really impressed me, so I started googling for more IB plug-ins. I've found a couple on random blogs, but haven't been able to find any kind of repository/aggregator for them. Anyone know where I can find more of these?
Thanks.
I just created a page on CocoaDev to list them [edit: question originally just said “Interface Builder plug-ins”, did not mention Cocoa frameworks], with the two I know of listed.
Well that's a good start. I guess that wiki page is the de-facto repository, for now. Seems like there's not much out there.
You are not looking for Interface Builder plug-ins. You think you are, but you aren't. BWToolkit, the example you use in your question, is not an Inteface Builder plug-in. Brandon bills it as an Interface Builder plug-in but it is actually a framework and a plug-in. The framework contains the actual controls. The plug-in contains the integration with Interface Builder.
So really, what you are looking for are frameworks that contain or provide Interface Builder plug-ins. I have changed your question to reflect that, so it is more likely to be found by people using Google to search for similar things in the future.
I know what I am looking for. Not all frameworks contain IB plugins. I am looking for a specific subset of frameworks, those which contain IB plugins. An IB-plugin without a framework is useless, therefore the framework part is assumed. I am NOT looking for regular old frameworks, so stop trying to change my question to that. Your additions only seem to be confusing people.
I have reported your post, hopefully moderators will be able to stop your obnoxious behavior.
"Without a framework, what would you have to plug in to IB?"
Your words, not mine. Anyways, I'm done arguing this with you. Just remember that I can roll back for every time that you edit.
It's clear you have a lot of experience in this field, but instead of offering answers you decided to nitpick where there are no nits to pick.
Additionally, you have not "changed the question to refelct that," you have changed the question to a completely different question. I would have though that after four rollbacks you would relaize that you're doing more harm than good. Just stop, okay?
Of course, Chris Hanson is absolutely correct when he says that an Interface Builder plugin is useless without an accompanying framework. Interface Builder merely provides a graphical way to manage objects in a framework; without the framework itself, Interface Builder has nothing to manage.
However, I do think that there is a completely valid sort of Interface Builder plugin that wouldn't necessitate the installation of an accompanying framework, and that would be one that provides Interface Builder integration features for objects in Cocoa/Cocoa Touch which would otherwise appear as just generic objects.
For those of you who come to this page Google, please recognise the difference between Interface Builder plugins and frameworks: even the examples mentioned above work on frameworks (they could be Foundation, AppKit, UIKIt, etc.)

Resources