wx_sugar 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -322,7 +322,7 @@ end
322
322
  # remaining
323
323
  WxSugar.define_keyword_ctors('Gauge') do
324
324
  wx_ctor_params :range, :pos, :size, :style => Wx::GA_HORIZONTAL
325
- wx_ctor_params :validator, :name
325
+ wx_ctor_params :validator, :name => 'gauge'
326
326
  end
327
327
 
328
328
  # wxGenericDirCtrl A control for displaying a directory tree
@@ -433,3 +433,11 @@ WxSugar.define_keyword_ctors('HtmlWindow') do
433
433
  wx_ctor_params :pos, :size, :style => Wx::HW_DEFAULT_STYLE
434
434
  wx_ctor_params :name => 'htmlWindow'
435
435
  end
436
+
437
+ # wxHyperTextCtrl - display a clickable URL
438
+ WxSugar.define_keyword_ctors('HyperlinkCtrl') do
439
+ wx_ctor_params :label => ''
440
+ wx_ctor_params :url => ''
441
+ wx_ctor_params :pos, :size, :style => 0
442
+ wx_ctor_params :name => 'hyperlink'
443
+ end
@@ -1,3 +1,3 @@
1
1
  module WxSugar
2
- VERSION = '0.1.15'
2
+ VERSION = '0.1.16'
3
3
  end
@@ -29,7 +29,7 @@ class Wx::TreeCtrl
29
29
  raise ArgumentError, "Invalid number of block parameters"
30
30
  end
31
31
 
32
- if has_children(start_item)
32
+ if item_has_children(start_item)
33
33
  child, cookie = get_first_child(start_item)
34
34
  while child.nonzero?
35
35
  traverse(child, &block)
metadata CHANGED
@@ -3,11 +3,11 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: wx_sugar
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.15
7
- date: 2007-04-03 00:00:00 +01:00
6
+ version: 0.1.16
7
+ date: 2007-08-24 00:00:00 +01:00
8
8
  summary: Syntax extensions for WxRuby.
9
9
  require_paths:
10
- - lib
10
+ - lib
11
11
  email: alex@pressure.to
12
12
  homepage: http://www.pressure.to/qda/
13
13
  rubyforge_project: weft-qda
@@ -18,47 +18,53 @@ bindir: bin
18
18
  has_rdoc: true
19
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
20
20
  requirements:
21
- -
22
- - ">="
23
- - !ruby/object:Gem::Version
24
- version: 1.8.1
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.8.1
25
24
  version:
26
25
  platform: ruby
27
26
  signing_key:
28
27
  cert_chain:
29
28
  post_install_message:
30
29
  authors:
31
- - Alex Fenton
30
+ - Alex Fenton
32
31
  files:
33
- - lib/wx_sugar
34
- - lib/wx_sugar.rb
35
- - lib/wx_sugar/accessors.rb
36
- - lib/wx_sugar/all.rb
37
- - lib/wx_sugar/class_definitions.rb
38
- - lib/wx_sugar/delayed_constructors.rb
39
- - lib/wx_sugar/enumerable_controls.rb
40
- - lib/wx_sugar/event_connector.rb
41
- - lib/wx_sugar/itemdata.rb
42
- - lib/wx_sugar/keyword_classes.rb
43
- - lib/wx_sugar/keyword_constructors.rb
44
- - lib/wx_sugar/layout.rb
45
- - lib/wx_sugar/menu.rb
46
- - lib/wx_sugar/version.rb
47
- - lib/wx_sugar/wx_classes
48
- - lib/wx_sugar/wx_classes.rb
49
- - lib/wx_sugar/wx_classes/colour.rb
50
- - lib/wx_sugar/wx_classes/control_with_items.rb
51
- - lib/wx_sugar/wx_classes/listctrl.rb
52
- - lib/wx_sugar/wx_classes/position.rb
53
- - lib/wx_sugar/wx_classes/size.rb
54
- - lib/wx_sugar/wx_classes/treectrl.rb
55
- - lib/wx_sugar/wx_classes/window.rb
56
- - samples/sugar-sample.rb
57
- - LICENCE
32
+ - lib/wx_sugar
33
+ - lib/wx_sugar.rb
34
+ - lib/wx_sugar/wx_classes
35
+ - lib/wx_sugar/layout.rb
36
+ - lib/wx_sugar/delayed_constructors.rb
37
+ - lib/wx_sugar/class_definitions.rb
38
+ - lib/wx_sugar/keyword_classes.rb
39
+ - lib/wx_sugar/enumerable_controls.rb
40
+ - lib/wx_sugar/menu.rb
41
+ - lib/wx_sugar/accessors.rb
42
+ - lib/wx_sugar/all.rb
43
+ - lib/wx_sugar/itemdata.rb
44
+ - lib/wx_sugar/event_connector.rb
45
+ - lib/wx_sugar/wx_classes.rb
46
+ - lib/wx_sugar/keyword_constructors.rb
47
+ - lib/wx_sugar/version.rb
48
+ - lib/wx_sugar/wx_classes/listctrl.rb
49
+ - lib/wx_sugar/wx_classes/colour.rb
50
+ - lib/wx_sugar/wx_classes/position.rb
51
+ - lib/wx_sugar/wx_classes/treectrl.rb
52
+ - lib/wx_sugar/wx_classes/window.rb
53
+ - lib/wx_sugar/wx_classes/size.rb
54
+ - lib/wx_sugar/wx_classes/control_with_items.rb
55
+ - samples/sugar-sample.rb
56
+ - LICENCE
58
57
  test_files: []
58
+
59
59
  rdoc_options: []
60
+
60
61
  extra_rdoc_files: []
62
+
61
63
  executables: []
64
+
62
65
  extensions: []
66
+
63
67
  requirements: []
64
- dependencies: []
68
+
69
+ dependencies: []
70
+