gtk3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk3/extconf.rb +3 -2
- data/ext/gtk3/rbgtk-color-button.c +7 -1
- data/ext/gtk3/rbgtk-dialog.c +26 -6
- data/ext/gtk3/rbgtk-image.c +1 -0
- data/ext/gtk3/rbgtk-selection-data.c +4 -5
- data/ext/gtk3/rbgtk-stack-switcher.c +41 -0
- data/ext/gtk3/rbgtk-window.c +8 -0
- data/ext/gtk3/rbgtk.c +158 -0
- data/ext/gtk3/rbgtk3.h +33 -0
- data/ext/gtk3/rbgtk3conversions.h +60 -1
- data/ext/gtk3/rbgtk3private.h +1 -1
- data/lib/2.0/gtk3.so +0 -0
- data/lib/gtk3.rb +1 -0
- data/sample/gtk-demo/cairo-arc-negative.rb +1 -1
- data/sample/gtk-demo/cairo-arc.rb +1 -1
- data/sample/gtk-demo/cairo-clip-image.rb +6 -6
- data/sample/gtk-demo/cairo-clip-rectangle.rb +2 -2
- data/sample/gtk-demo/cairo-curve-rectangle.rb +2 -2
- data/sample/gtk-demo/cairo-curve-to.rb +2 -2
- data/sample/gtk-demo/cairo-dash.rb +1 -1
- data/sample/gtk-demo/cairo-fill-and-stroke.rb +1 -1
- data/sample/gtk-demo/cairo-fill-and-stroke2.rb +2 -2
- data/sample/gtk-demo/cairo-gradient.rb +1 -1
- data/sample/gtk-demo/cairo-image-pattern.rb +5 -5
- data/sample/gtk-demo/cairo-image.rb +4 -4
- data/sample/gtk-demo/cairo-line-cap.rb +8 -8
- data/sample/gtk-demo/cairo-line-join.rb +3 -3
- data/sample/gtk-demo/cairo-long-lines.rb +3 -3
- data/sample/gtk-demo/cairo-pattern-fill.rb +11 -11
- data/sample/gtk-demo/cairo-self-intersect.rb +2 -2
- data/sample/gtk-demo/cairo-text-align-center.rb +4 -4
- data/sample/gtk-demo/cairo-text-extents.rb +5 -5
- data/sample/gtk-demo/cairo-text.rb +3 -3
- data/sample/gtk-demo/common.rb +0 -1
- data/sample/gtk-demo/dialog.rb +23 -23
- data/sample/gtk-demo/drawingarea.rb +5 -1
- data/sample/gtk-demo/editable_cells.rb +28 -28
- data/sample/gtk-demo/entry_completion.rb +3 -3
- data/sample/gtk-demo/images.rb +75 -75
- data/sample/gtk-demo/item_factory.rb +40 -40
- data/sample/gtk-demo/list_store.rb +13 -13
- data/sample/gtk-demo/menus.rb +34 -34
- data/sample/gtk-demo/panes.rb +28 -28
- data/sample/gtk-demo/rotated_text.rb +41 -53
- data/sample/gtk-demo/sizegroup.rb +17 -17
- data/sample/gtk-demo/spinner.rb +1 -1
- data/sample/gtk-demo/textview.rb +137 -137
- data/sample/gtk-demo/theming.ui +319 -0
- data/sample/gtk-demo/theming_style_classes.rb +48 -0
- data/sample/gtk-demo/tree_store.rb +127 -127
- data/sample/misc/assistant.rb +6 -66
- data/sample/misc/bindings.rb +22 -32
- data/sample/misc/button.rb +8 -5
- data/sample/misc/buttonbox.rb +2 -2
- data/sample/misc/checkbutton.rb +4 -1
- data/sample/misc/colorselection.rb +7 -10
- data/sample/misc/combo_check.rb +34 -26
- data/sample/misc/combobox.rb +10 -11
- data/sample/misc/cursor.rb +3 -1
- data/sample/misc/dialog.rb +12 -12
- data/sample/misc/dialog2.rb +13 -16
- data/sample/misc/drawing.rb +40 -21
- data/sample/misc/statusicon.rb +28 -45
- data/sample/misc/threads.rb +16 -18
- data/sample/misc/tree_progress.rb +10 -12
- data/test/run-test.rb +17 -9
- data/test/test_gtk_search_bar.rb +1 -1
- data/test/test_gtk_stack_switcher.rb +30 -0
- metadata +26 -24
- data/lib/1.9/gtk3.so +0 -0
- data/lib/2.1/gtk3.so +0 -0
data/test/run-test.rb
CHANGED
@@ -21,21 +21,29 @@ ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
|
21
21
|
|
22
22
|
glib_base = File.join(ruby_gnome2_base, "glib2")
|
23
23
|
atk_base = File.join(ruby_gnome2_base, "atk")
|
24
|
+
cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
|
24
25
|
pango_base = File.join(ruby_gnome2_base, "pango")
|
25
26
|
gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
|
27
|
+
gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
|
26
28
|
gdk3_base = File.join(ruby_gnome2_base, "gdk3")
|
27
29
|
gtk3_base = File.join(ruby_gnome2_base, "gtk3")
|
28
30
|
|
29
|
-
[
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
31
|
+
[
|
32
|
+
[glib_base, "glib2"],
|
33
|
+
[atk_base, "atk"],
|
34
|
+
[cairo_gobject_base, "cairo-gobject"],
|
35
|
+
[pango_base, "pango"],
|
36
|
+
[gdk_pixbuf_base, "gdk_pixbuf2"],
|
37
|
+
[gobject_introspection_base, "gobject-introspection"],
|
38
|
+
[gdk3_base, "gdk3"],
|
39
|
+
[gtk3_base, "gtk3"]
|
40
|
+
].each do |target, module_name|
|
41
|
+
if File.exist?(File.join(target, "Makefile"))
|
42
|
+
if system("which make > /dev/null")
|
43
|
+
`make -C #{target.dump} > /dev/null` or exit(false)
|
44
|
+
end
|
45
|
+
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
37
46
|
end
|
38
|
-
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
39
47
|
$LOAD_PATH.unshift(File.join(target, "lib"))
|
40
48
|
end
|
41
49
|
|
data/test/test_gtk_search_bar.rb
CHANGED
@@ -42,7 +42,7 @@ class TestGtkSearchBar < Test::Unit::TestCase
|
|
42
42
|
def test_handle_event
|
43
43
|
window = Gtk::Window.new
|
44
44
|
key_press_event = Gdk::EventKey.new(:key_press)
|
45
|
-
key_press_event.keyval = Gdk::Keyval::
|
45
|
+
key_press_event.keyval = Gdk::Keyval::KEY_a
|
46
46
|
entry = Gtk::SearchEntry.new
|
47
47
|
@search_bar.add(entry)
|
48
48
|
@search_bar.connect_entry(entry)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Copyright (C) 2014 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestGtkStackSwitcher < Test::Unit::TestCase
|
18
|
+
include GtkTestUtils
|
19
|
+
|
20
|
+
def setup
|
21
|
+
only_gtk_version(3, 10, 0)
|
22
|
+
@stack_switcher = Gtk::StackSwitcher.new
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_stack_switcher_accessors
|
26
|
+
stack = Gtk::Stack.new
|
27
|
+
@stack_switcher.stack = stack
|
28
|
+
assert_equal(stack, @stack_switcher.stack)
|
29
|
+
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtk3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,84 +16,84 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.2.
|
19
|
+
version: 2.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.2.
|
26
|
+
version: 2.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gio2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.2.
|
33
|
+
version: 2.2.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.2.
|
40
|
+
version: 2.2.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: atk
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.2.
|
47
|
+
version: 2.2.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.2.
|
54
|
+
version: 2.2.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pango
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.2.
|
61
|
+
version: 2.2.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.2.
|
68
|
+
version: 2.2.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: gdk_pixbuf2
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.2.
|
75
|
+
version: 2.2.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.2.
|
82
|
+
version: 2.2.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: gdk3
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.2.
|
89
|
+
version: 2.2.1
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 2.2.
|
96
|
+
version: 2.2.1
|
97
97
|
description: Ruby/GTK3 is a Ruby binding of GTK+-3.x.
|
98
98
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
99
99
|
executables: []
|
@@ -101,10 +101,6 @@ extensions: []
|
|
101
101
|
extra_rdoc_files: []
|
102
102
|
files:
|
103
103
|
- Rakefile
|
104
|
-
- extconf.rb
|
105
|
-
- lib/gtk3.rb
|
106
|
-
- lib/gtk3/base.rb
|
107
|
-
- lib/gtk3/deprecated.rb
|
108
104
|
- ext/gtk3/conversions.c
|
109
105
|
- ext/gtk3/depend
|
110
106
|
- ext/gtk3/extconf.rb
|
@@ -269,6 +265,7 @@ files:
|
|
269
265
|
- ext/gtk3/rbgtk-socket.c
|
270
266
|
- ext/gtk3/rbgtk-spin-button.c
|
271
267
|
- ext/gtk3/rbgtk-spinner.c
|
268
|
+
- ext/gtk3/rbgtk-stack-switcher.c
|
272
269
|
- ext/gtk3/rbgtk-stack.c
|
273
270
|
- ext/gtk3/rbgtk-status-bar.c
|
274
271
|
- ext/gtk3/rbgtk-status-icon.c
|
@@ -327,6 +324,11 @@ files:
|
|
327
324
|
- ext/gtk3/rbgtk3private.h
|
328
325
|
- ext/gtk3/rbgtk3util.c
|
329
326
|
- ext/gtk3/rbgtk3util.h
|
327
|
+
- extconf.rb
|
328
|
+
- lib/2.0/gtk3.so
|
329
|
+
- lib/gtk3.rb
|
330
|
+
- lib/gtk3/base.rb
|
331
|
+
- lib/gtk3/deprecated.rb
|
330
332
|
- sample/gtk-demo/README
|
331
333
|
- sample/gtk-demo/alphatest.png
|
332
334
|
- sample/gtk-demo/apple-red.png
|
@@ -399,6 +401,8 @@ files:
|
|
399
401
|
- sample/gtk-demo/spinner.rb
|
400
402
|
- sample/gtk-demo/stock_browser.rb
|
401
403
|
- sample/gtk-demo/textview.rb
|
404
|
+
- sample/gtk-demo/theming.ui
|
405
|
+
- sample/gtk-demo/theming_style_classes.rb
|
402
406
|
- sample/gtk-demo/tree_store.rb
|
403
407
|
- sample/misc/aboutdialog.rb
|
404
408
|
- sample/misc/aboutdialog2.rb
|
@@ -540,15 +544,13 @@ files:
|
|
540
544
|
- test/test_gtk_search_bar.rb
|
541
545
|
- test/test_gtk_search_entry.rb
|
542
546
|
- test/test_gtk_stack.rb
|
547
|
+
- test/test_gtk_stack_switcher.rb
|
543
548
|
- test/test_gtk_style_context.rb
|
544
549
|
- test/test_gtk_style_properties.rb
|
545
550
|
- test/test_gtk_tree_path.rb
|
546
551
|
- test/test_gtk_tree_selection.rb
|
547
552
|
- test/test_gtk_unix_print.rb
|
548
553
|
- test/test_gtk_widget.rb
|
549
|
-
- lib/1.9/gtk3.so
|
550
|
-
- lib/2.0/gtk3.so
|
551
|
-
- lib/2.1/gtk3.so
|
552
554
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
553
555
|
licenses:
|
554
556
|
- LGPLv2.1 or later
|
@@ -559,17 +561,17 @@ require_paths:
|
|
559
561
|
- lib
|
560
562
|
required_ruby_version: !ruby/object:Gem::Requirement
|
561
563
|
requirements:
|
562
|
-
- -
|
564
|
+
- - ">="
|
563
565
|
- !ruby/object:Gem::Version
|
564
566
|
version: 1.9.3
|
565
567
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
566
568
|
requirements:
|
567
|
-
- -
|
569
|
+
- - ">="
|
568
570
|
- !ruby/object:Gem::Version
|
569
571
|
version: '0'
|
570
572
|
requirements: []
|
571
573
|
rubyforge_project:
|
572
|
-
rubygems_version: 2.
|
574
|
+
rubygems_version: 2.2.2
|
573
575
|
signing_key:
|
574
576
|
specification_version: 4
|
575
577
|
summary: Ruby/GTK3 is a Ruby binding of GTK+-3.x.
|
data/lib/1.9/gtk3.so
DELETED
Binary file
|
data/lib/2.1/gtk3.so
DELETED
Binary file
|