Permalink
Browse files

Added object in nib, also fixed accidental strand of code left in app…

… delegate that was causing the program to hang indefinately.
  • Loading branch information...
1 parent 914e4f8 commit 3fda3069cfa1d57adc83c3a3198323a6e745fa39 @lethain committed Aug 22, 2008
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -6,7 +6,15 @@
# Copyright (c) 2008 Will Larson. All rights reserved.
#
+import objc
from Foundation import *
class MWController(NSObject):
- pass
+ tableView = objc.IBOutlet()
+ textField = objc.IBOutlet()
+ _results = []
+
+ @objc.IBAction
+ def search_(self,sender):
+ search_value = self.textField.stringValue()
+ NSLog(u"Search: %s" % search_value)
@@ -50,6 +50,7 @@
080E96DDFE201D6D7F000001 /* Classes */ = {
isa = PBXGroup;
children = (
+ BEE9BD040E5F404A00CBCEC3 /* MWController.py */,
7790198E0C07548A00326F66 /* MetaWindowAppDelegate.py */,
);
name = Classes;
@@ -97,7 +98,6 @@
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
children = (
- BEE9BD040E5F404A00CBCEC3 /* MWController.py */,
32CA4F630368D1EE00C91783 /* MetaWindow_Prefix.pch */,
29B97316FDCFA39411CA2CEA /* main.m */,
77631A3E0C0748CF005415CB /* main.py */,
Oops, something went wrong.

0 comments on commit 3fda306

Please sign in to comment.