public
Description: a tiny graphical app kit for ruby
Homepage: http://code.whytheluckystiff.net/shoes
Clone URL: git://github.com/why/shoes.git
 * shoes/http/nsurl.m: stub out the http header method for now.
 * samples/simple-form.rb: widen the window, add some names.
why (author)
Fri Jul 25 11:12:26 -0700 2008
commit  70c2f91603cdd6b3323de35f36527753cb4505ca
tree    e77e0eb2d280a8024cd2a9e7c89de15ba710ffe4
parent  999c47ecd4612e77761f5f627406b97f2495de87
...
1
 
2
3
4
...
9
10
11
12
 
13
14
15
...
 
1
2
3
4
...
9
10
11
 
12
13
14
15
0
@@ -1,4 +1,4 @@
0
-Shoes.app :width => 320, :height => 350 do
0
+Shoes.app :width => 320, :height => 420 do
0
   background "../static/menu-gray.png"
0
   background "../static/menu-top.png", :height => 50
0
   background "../static/menu-left.png", :top => 50, :width => 55
0
@@ -9,7 +9,7 @@ Shoes.app :width => 320, :height => 350 do
0
   stack :margin => 40 do
0
     stack :margin => 10 do
0
       para "Name"
0
- @name = list_box :items => ["Yes, please!", "NO. No thankyou."]
0
+ @name = list_box :items => ["Phyllis", "Ronald", "Wyatt"]
0
     end
0
     stack :margin => 10 do
0
       para "Address"
...
174
175
176
 
 
 
 
 
 
...
174
175
176
177
178
179
180
181
182
0
@@ -174,3 +174,9 @@ shoes_http_error(SHOES_DOWNLOAD_ERROR code)
0
   char *errorString = [[code localizedDescription] UTF8String];
0
   return rb_str_new2(errorString);
0
 }
0
+
0
+SHOES_DOWNLOAD_HEADERS
0
+shoes_http_headers(VALUE hsh)
0
+{
0
+ return NULL;
0
+}
...
94
95
96
97
...
94
95
96
 
0
@@ -94,4 +94,3 @@ VALUE shoes_dialog_open(VALUE);
0
 VALUE shoes_dialog_save(VALUE);
0
 VALUE shoes_dialog_open_folder(VALUE);
0
 VALUE shoes_dialog_save_folder(VALUE);
0
-void shoes_native_move_file(char *, char *);
...
1095
1096
1097
1098
1099
1100
1101
1102
1103
...
1095
1096
1097
 
 
 
 
 
 
0
@@ -1095,9 +1095,3 @@ shoes_dialog_save_folder(VALUE self)
0
   return shoes_dialog_chooser(self, "Save folder...", GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER,
0
     GTK_STOCK_SAVE);
0
 }
0
-
0
-void
0
-shoes_native_move_file(char *src, char *dest)
0
-{
0
- rename(src, dest);
0
-}
...
1546
1547
1548
1549
1550
1551
1552
1553
1554
...
1546
1547
1548
 
 
 
 
 
 
0
@@ -1546,9 +1546,3 @@ shoes_dialog_save_folder(VALUE self)
0
 {
0
   return shoes_dialog_chooser2(self, "Save folder...", BIF_RETURNONLYFSDIRS);
0
 }
0
-
0
-void
0
-shoes_native_move_file(char *src, char *dest)
0
-{
0
- MoveFile(src, dest);
0
-}

Comments

    No one has commented yet.