bindings

Webdriver python bindings

Hello, I can't make python bindings for webdriver workable. Here is tutorial for installing. easy_install webdriver Won't find webdriver package so I have to install it manually from sources. I've downloaded source from trunk, set WEBDRIVER and PYTHONPATH variables and installed webdriver: ~$ cd ~ ~$ svn checkout http://selen...

Laggy interface with NSSearchField hooked up to an NSArrayController via bindings

So I've got an NSSearchField hooked up directly to an NSArrayController via bindings, attached to the filterPredicate, so that without any code, the user can just type in the NSSearchField and filter the list of objects in the NSArrayController presented to him in the interface (an NSCollectionView, to be specific). The NSSearchField is...

Looking for a chart of Wpf Bindings

I'm probably typical in being bewildered by the many syntaxes of Wpf binding. Does anyone know of a chart that lays out all the possibilities. Across one axis is all the variations of binding syntaxes (Static, Dynamic, Self, ...), the other axis are all the variations of scoping and type. The intersection of the axis show an example. Su...

How to add data from an NSTextField to a Core Data Attribute without having to press Return or Tab after editing the TextField?

I use a sheet with 3 NSTextFields and a Cancel- and OK-Button to edit the attributes of a Core Data Entity. The text entered in the NSTextFields is only updated in the Core Data Entity if i press Tab or Return after writing in the NSTextField or if i focus another NSTextField with the mouse. If i just enter text in an NSTextField and pre...

Calling a Lua script from C: errors

I'm new at Lua and writing bindings in general. At the moment I'm just trying to compile the first example found here (with the functions updated to Lua 5.1). #include <stdio.h> #include "lua.h" #include "lualib.h" #include "lauxlib.h" /* the Lua interpreter */ lua_State* L; int main ( int argc, char *argv[] ) { /* initialize Lua...

bindings between rails and mysql hosed after restoring to a new iMac

Had to restore from time machine/capsule to a new iMac after my MBP died. Everything but rails (2.3.5) connection to mysql is working. My old socket connection in my database.yml was /opt/local/var/run/mysql5/mysqld.sock To add to the fun, I seem to have multiple installs of mysql. How do I reconnect mysql to rails? How do I locate ...

C#: LINQ to SQL Tutorial on youtube.com - Bindings Issue

I don't know if anyone has watched the "Visual Studio 2008, Linq to SQL, C#, and WPF" 21 part tutorial on youtube.com, but I was going through the tutorial and got to the part that I added a datagrid to my WPF. I have SQL Express where I had manually created a database with tables. In the program we created a database connection to th...

Generating Java binding to a Qt based library

I'm writing a Qt based (QtCore) C++ library and would like to have access to it from Java and Python. Python is not a problem because of PySide and SIP. But I can't seem to find any information about doing the same with Java. The fact that Java bindings exist for Qt makes me hopefuly that there is a way to create bindings for a custom Qt...

Writing bindings and wrappers

I keep seeing people writing wrappers for, say a module written in X language to use it in Y language. I wanted to know the basics of writing such wrappers. Where does one start from? My question here is more specific for libgnokii, how do I begin to write python bindings for it. ...

Cocoa bindings to display NSDictionary keys in NSTableView

I currently have a NSArrayController whose content property is (programmatically) set to an NSMutableDictionary and my UI has a single NSTableView. The information that the NSMutableDictionary contains is not set via the UI. How would I use Cocoa bindings to display the dictionary keys in NSTableView? I already know how to use the Dat...

NSMenuItem Hidden binding issue

I have an NSMenuItem which I have bound to an NSUserDefaults boolean value in IB like so: When bMenuHidden is true, I would like my NSMenuItem to be hidden, and vice versa. This works as expected under Snow Leopard. However, Leopard struggles in some cases. In particular: my NSMenuItem is visible upon first launching the application, ...

clutter UI library wrapper

I want to use Clutter library but not in C/C++ languages. I want a more high level, maybe dynamic language for easy & speed of development to prototype some UI ideas. Also, if posible, it must have stable & complete api coverage. ...

How to configure bindings in Dashcode from a JSON DataSource to a Popup (design-time)?

Hello, Background: I have an Apple Dashcode v3 project in which there is a "Popup Button" UI element. I have a datasource that references a JSON file. The datasource correctly reads the JSON file at design-time and shows content containing two records, which matches the structure of the JSON file. Example of fields for each record in ...

Sectioned NSTable view with NSArrayController

Hello, I am trying to create a sectioned NSTableView using bindings with an NSArrayController or multiple NSArrayControllers. Basically the data container is an array within an array. Do I bind an NSArrayController to the parent collection and then bind another NSArrayController to a child collection? Is this the right approach? Thank...

NSUserDefaults & bindings.

Hi, How can I synchronize two interface elements and have the value saved at termination? I connected a checkbox' state and a text field's enabled to an NSObjectController. The "content" outlet is connected to the checkbox too. (Not sure why?). It works with the NSObjectController but whenever I bind the value's to an NSUserDefaultsCont...

IB: Where is the Bindings Pane

Hello, Cocoa newbie here... I know this sounds stupid but I can't find the Bindings Pane in Interface Builder. I have the latest xCode( 3.2.3 ) but tried with other versions too, still the same. The Tools menu does not list it and Cmd-4 opens up the Identity inspector. Screenshot What could be the cause? Thanks ...

Change "Controller Key" list for bindings in IB Inspector

Hello. I have next question: I create own Controller ( myController:NSObjectController ) and it has own attributes, for example NSString* title; Now I want to bind this attribute to some text field. Can I made that attribute 'title' display in 'Controller Key' menu of inspector binding window in IB; (There where 'selection', 'canADD'...

How to set and map a Method in the Service file with endpoint elements and binding elements

Hi all, I have created a service file like OSService.svc in that i have two methods like one is FileUpload and FileDownload for e.g :- [WebInvoke(UriTemplate = "/fileupload/{fileName}", Method = "POST")] [OperationContract] void FileUpload(string fileName, Stream fileContents); same as Filedownload also. People you may know these meth...

Where to get latest SVN bindings against Apache 2.2 ?

Auld lang syne, it was possible to download pre-compiled bindings (binaries) of SVN against Apache 2.x on subversion.tigris.org Where now? ...

How do I bind an NSMutableString to the value of an NSTextView?

Ok, so I'm trying to set up a very simple program for myself in Xcode. I have a window (in Interface builder) which contains an NSTextView, and an NSButton. Inside my AppController class, I have declared an NSMutableString as a property. What I want to do is to set an initial value for the string, say @"First Entry\n", then, bind it to ...