gtk3 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gtk3/container.rb +2 -7
  3. data/lib/gtk3/dialog.rb +10 -1
  4. data/lib/gtk3/loader.rb +0 -14
  5. data/lib/gtk3/tree-selection.rb +0 -2
  6. data/lib/gtk3/tree-view-column.rb +34 -8
  7. data/sample/gtk-demo/TODO +19 -20
  8. data/sample/gtk-demo/assistant.rb +0 -2
  9. data/sample/gtk-demo/blendmodes.ui +391 -0
  10. data/sample/gtk-demo/blends.png +0 -0
  11. data/sample/gtk-demo/button_box.rb +16 -19
  12. data/sample/gtk-demo/clipboard.rb +2 -3
  13. data/sample/gtk-demo/cmy.jpg +0 -0
  14. data/sample/gtk-demo/colorsel.rb +1 -2
  15. data/sample/gtk-demo/context_menu_cursor.png +0 -0
  16. data/sample/gtk-demo/css_accordion.css +1 -1
  17. data/sample/gtk-demo/css_blendmodes.css +77 -0
  18. data/sample/gtk-demo/cssview.css +1 -1
  19. data/sample/gtk-demo/data/16x16/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  20. data/sample/gtk-demo/data/16x16/{gtk3-demo.png → gtk4-demo.png} +0 -0
  21. data/sample/gtk-demo/data/22x22/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  22. data/sample/gtk-demo/data/22x22/{gtk3-demo.png → gtk4-demo.png} +0 -0
  23. data/sample/gtk-demo/data/24x24/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  24. data/sample/gtk-demo/data/24x24/{gtk3-demo.png → gtk4-demo.png} +0 -0
  25. data/sample/gtk-demo/data/256x256/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  26. data/sample/gtk-demo/data/256x256/{gtk3-demo.png → gtk4-demo.png} +0 -0
  27. data/sample/gtk-demo/data/32x32/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  28. data/sample/gtk-demo/data/32x32/{gtk3-demo.png → gtk4-demo.png} +0 -0
  29. data/sample/gtk-demo/data/48x48/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  30. data/sample/gtk-demo/data/48x48/{gtk3-demo.png → gtk4-demo.png} +0 -0
  31. data/sample/gtk-demo/data/512x512/{gtk3-demo-symbolic.symbolic.png → gtk4-demo-symbolic.symbolic.png} +0 -0
  32. data/sample/gtk-demo/data/512x512/{gtk3-demo.png → gtk4-demo.png} +0 -0
  33. data/sample/gtk-demo/demo.gresource.xml +15 -2
  34. data/sample/gtk-demo/demo.ui +2 -1
  35. data/sample/gtk-demo/dialog.rb +2 -3
  36. data/sample/gtk-demo/drawingarea.rb +1 -2
  37. data/sample/gtk-demo/ducky.png +0 -0
  38. data/sample/gtk-demo/editable_cells.rb +1 -1
  39. data/sample/gtk-demo/entry_buffer.rb +1 -1
  40. data/sample/gtk-demo/entry_completion.rb +1 -1
  41. data/sample/gtk-demo/filtermodel.ui +15 -6
  42. data/sample/gtk-demo/fishbowl.ui +49 -0
  43. data/sample/gtk-demo/{glarea-fragment.glsl → glarea-gl.fs.glsl} +0 -0
  44. data/sample/gtk-demo/{glarea-vertex.glsl → glarea-gl.vs.glsl} +0 -0
  45. data/sample/gtk-demo/glarea-gles.fs.glsl +7 -0
  46. data/sample/gtk-demo/glarea-gles.vs.glsl +7 -0
  47. data/sample/gtk-demo/glarea.rb +15 -6
  48. data/sample/gtk-demo/hypertext.rb +0 -1
  49. data/sample/gtk-demo/images.rb +151 -168
  50. data/sample/gtk-demo/infobar.rb +5 -3
  51. data/sample/gtk-demo/links.rb +0 -1
  52. data/sample/gtk-demo/list_store.rb +1 -1
  53. data/sample/gtk-demo/listbox.ui +1 -1
  54. data/sample/gtk-demo/main.rb +4 -1
  55. data/sample/gtk-demo/markup.rb +2 -0
  56. data/sample/gtk-demo/menus.rb +0 -2
  57. data/sample/gtk-demo/no_drop_cursor.png +0 -0
  58. data/sample/gtk-demo/{cairo-arc-negative.rb → old_demos/cairo-arc-negative.rb} +0 -0
  59. data/sample/gtk-demo/{cairo-arc.rb → old_demos/cairo-arc.rb} +0 -0
  60. data/sample/gtk-demo/{cairo-clip-image.rb → old_demos/cairo-clip-image.rb} +0 -0
  61. data/sample/gtk-demo/{cairo-clip-rectangle.rb → old_demos/cairo-clip-rectangle.rb} +0 -0
  62. data/sample/gtk-demo/{cairo-clip.rb → old_demos/cairo-clip.rb} +0 -0
  63. data/sample/gtk-demo/{cairo-curve-rectangle.rb → old_demos/cairo-curve-rectangle.rb} +0 -0
  64. data/sample/gtk-demo/{cairo-curve-to.rb → old_demos/cairo-curve-to.rb} +0 -0
  65. data/sample/gtk-demo/{cairo-dash.rb → old_demos/cairo-dash.rb} +0 -0
  66. data/sample/gtk-demo/{cairo-fill-and-stroke.rb → old_demos/cairo-fill-and-stroke.rb} +0 -0
  67. data/sample/gtk-demo/{cairo-fill-and-stroke2.rb → old_demos/cairo-fill-and-stroke2.rb} +0 -0
  68. data/sample/gtk-demo/{cairo-gradient.rb → old_demos/cairo-gradient.rb} +0 -0
  69. data/sample/gtk-demo/{cairo-image-pattern.rb → old_demos/cairo-image-pattern.rb} +0 -0
  70. data/sample/gtk-demo/{cairo-image.rb → old_demos/cairo-image.rb} +0 -0
  71. data/sample/gtk-demo/{cairo-line-cap.rb → old_demos/cairo-line-cap.rb} +0 -0
  72. data/sample/gtk-demo/{cairo-line-join.rb → old_demos/cairo-line-join.rb} +0 -0
  73. data/sample/gtk-demo/{cairo-long-lines.rb → old_demos/cairo-long-lines.rb} +0 -0
  74. data/sample/gtk-demo/{cairo-operator.rb → old_demos/cairo-operator.rb} +0 -0
  75. data/sample/gtk-demo/{cairo-path.rb → old_demos/cairo-path.rb} +0 -0
  76. data/sample/gtk-demo/{cairo-pattern-fill.rb → old_demos/cairo-pattern-fill.rb} +0 -0
  77. data/sample/gtk-demo/{cairo-self-intersect.rb → old_demos/cairo-self-intersect.rb} +0 -0
  78. data/sample/gtk-demo/{cairo-text-align-center.rb → old_demos/cairo-text-align-center.rb} +0 -0
  79. data/sample/gtk-demo/{cairo-text-extents.rb → old_demos/cairo-text-extents.rb} +0 -0
  80. data/sample/gtk-demo/{cairo-text.rb → old_demos/cairo-text.rb} +0 -0
  81. data/sample/gtk-demo/{changedisplay.rb → old_demos/changedisplay.rb} +0 -0
  82. data/sample/gtk-demo/{common.rb → old_demos/common.rb} +0 -0
  83. data/sample/gtk-demo/{item_factory.rb → old_demos/item_factory.rb} +0 -0
  84. data/sample/gtk-demo/{stock_browser.rb → old_demos/stock_browser.rb} +0 -0
  85. data/sample/gtk-demo/old_demos/textview.rb +436 -0
  86. data/sample/gtk-demo/{tree_store.rb → old_demos/tree_store.rb} +0 -0
  87. data/sample/gtk-demo/panes.rb +2 -3
  88. data/sample/gtk-demo/pickers.rb +6 -5
  89. data/sample/gtk-demo/popover.rb +2 -7
  90. data/sample/gtk-demo/popover.ui +1 -0
  91. data/sample/gtk-demo/revealer.rb +4 -2
  92. data/sample/gtk-demo/revealer.ui +0 -1
  93. data/sample/gtk-demo/scale.ui +7 -1
  94. data/sample/gtk-demo/search_entry.rb +1 -2
  95. data/sample/gtk-demo/search_entry2.rb +0 -3
  96. data/sample/gtk-demo/shortcuts-builder.ui +42 -27
  97. data/sample/gtk-demo/sizegroup.rb +15 -14
  98. data/sample/gtk-demo/spinner.rb +1 -1
  99. data/sample/gtk-demo/textview.rb +358 -382
  100. data/sample/gtk-demo/theming.ui +0 -29
  101. data/sample/gtk-demo/theming_style_classes.rb +0 -1
  102. data/sample/gtk-demo/transparent.rb +0 -1
  103. data/test/test-gtk-tree-view-column.rb +44 -1
  104. metadata +71 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 276f1e2ef9d9e91f3c04d827a2ab1a472d8b0788
4
- data.tar.gz: 65e77162cd83602533a1a57854ede3d7a3578101
3
+ metadata.gz: 3f9b3bc95e9f31fa3e293d0b9f196d1953303a37
4
+ data.tar.gz: 7c72b89e794980ee3167a2f9ee2ebfc3890b61dd
5
5
  SHA512:
6
- metadata.gz: 3d4ed22bc6427981361addd4dfb89049c8f420373291d5aaa710c29c13c8d8fbb9803ac8b61fc9c5846de40b656f8770a3e48cd661fd24c9e372e4c6b3aeb058
7
- data.tar.gz: bddf33752de735f70bfc1dcbe8ad1072c7ab527524c94cb3b15611e881128da833ef7f989941b2fcb6553eca7e7494e2919b01b6ea358b2ec60f5a41f76b311e
6
+ metadata.gz: 980b65c79401bab59ce1e2e14382c84e215c1831d666a855e7f333c11fabcf28ed1978168374186e0d89bd437574dd677360848682db468d3543a8120626b0fc
7
+ data.tar.gz: fa698816049524df493a2b248fe91c06d060726ee741748401b2ef739ed1e70c472843c810a3985a6c8d654a98e30f1fdd05a5c715cd9991d6ed8a2940d7c427
@@ -16,8 +16,6 @@
16
16
 
17
17
  module Gtk
18
18
  class Container
19
- include Enumerable
20
-
21
19
  alias_method :add_raw, :add
22
20
  def add(child, properties={})
23
21
  child.freeze_child_notify
@@ -26,15 +24,12 @@ module Gtk
26
24
  properties.each do |key, value|
27
25
  child_set_property(child, key, value)
28
26
  end
27
+ self
29
28
  ensure
30
29
  child.thaw_child_notify
31
30
  end
32
31
  end
33
-
34
- def <<(widget)
35
- add(widget)
36
- self
37
- end
32
+ alias_method :<<, :add
38
33
 
39
34
  alias_method :focus_chain_raw, :focus_chain
40
35
  def focus_chain
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2015 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2015-2016 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -63,6 +63,15 @@ module Gtk
63
63
  add_button_raw(text, response_id)
64
64
  end
65
65
 
66
+ alias_method :get_widget_for_response_raw, :get_widget_for_response
67
+ def get_widget_for_response(response_id)
68
+ case response_id
69
+ when Symbol
70
+ response_id = ResponseType.new(response_id)
71
+ end
72
+ get_widget_for_response_raw(response_id)
73
+ end
74
+
66
75
  if method_defined?(:use_header_bar)
67
76
  alias_method :use_header_bar_raw, :use_header_bar
68
77
  undef_method :use_header_bar
@@ -26,7 +26,6 @@ module Gtk
26
26
  call_init_function(repository, namespace)
27
27
  define_stock_module
28
28
  define_version_module
29
- setup_tree_model(repository, namespace)
30
29
  setup_pending_constants
31
30
  end
32
31
 
@@ -50,19 +49,6 @@ module Gtk
50
49
  @base_module.const_set("Version", @version_module)
51
50
  end
52
51
 
53
- def setup_tree_model(repository, namespace)
54
- repository.each(namespace) do |info|
55
- case info
56
- when GObjectIntrospection::InterfaceInfo
57
- case info.name
58
- when "TreeModel"
59
- info.gtype.to_class.__send__(:include, Enumerable)
60
- return
61
- end
62
- end
63
- end
64
- end
65
-
66
52
  def level_bar_class
67
53
  @level_bar_class ||= @base_module.const_get(:LevelBar)
68
54
  end
@@ -16,8 +16,6 @@
16
16
 
17
17
  module Gtk
18
18
  class TreeSelection
19
- include Enumerable
20
-
21
19
  alias_method :selected_raw, :selected
22
20
  def selected
23
21
  selected_p, model, iter = selected_raw
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014-2015 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2014-2016 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -17,19 +17,45 @@
17
17
  module Gtk
18
18
  class TreeViewColumn
19
19
  alias_method :initialize_raw, :initialize
20
- def initialize(title=nil, cell=nil, attributes={})
21
- initialize_raw
20
+ def initialize(*args)
21
+ if args.size == 1 and args[0].is_a?(Hash)
22
+ options = args[0].dup
23
+ area = options.delete(:area)
24
+ renderer = options.delete(:renderer)
25
+ title = options.delete(:title)
26
+ attributes = options.delete(:attributes)
27
+ unless options.empty?
28
+ names = options.keys.inspect
29
+ available_names = [:area, :renderer, :title, :attributes].inspect
30
+ message =
31
+ "unknown option(s): #{names}: available options: #{available_names}"
32
+ raise ArgumentError, message
33
+ end
34
+ else
35
+ area = nil
36
+ title, renderer, attributes = args
37
+ end
38
+ attributes ||= {}
39
+
40
+ if area
41
+ initialize_new_with_area(area)
42
+ else
43
+ initialize_raw
44
+ end
45
+
22
46
  set_title(title) if title
23
- pack_start(cell, true) if cell
24
- attributes.each_entry do |key, value|
25
- add_attribute(cell, key, value)
47
+ if renderer
48
+ pack_start(renderer, true)
49
+ attributes.each_entry do |key, value|
50
+ add_attribute(renderer, key, value)
51
+ end
26
52
  end
27
53
  end
28
54
 
29
55
  alias_method :add_attribute_raw, :add_attribute
30
- def add_attribute(cell, key, value)
56
+ def add_attribute(renderer, key, value)
31
57
  key = key.to_s if key.is_a?(Symbol)
32
- add_attribute_raw(cell, key, value)
58
+ add_attribute_raw(renderer, key, value)
33
59
  end
34
60
  end
35
61
  end
@@ -1,19 +1,12 @@
1
- # C version (3.19.1) versus Ruby version
2
-
3
1
  # Ruby version : is there already a ruby version of the demo
4
- # Updated 3.19 : if there is a ruby version is it udapted to 3.19
5
- # Changed? 3.20: does this demo has changed with version 3.20
2
+ # Updated 3.22 : if there is a ruby version is it udapted to 3.22
6
3
  #
7
- C version Ruby version Updated 3.20
8
- application.c no no
4
+ C version Ruby version Updated 3.22
9
5
  assistant.c ok ok
10
6
  builder.c ok ok
11
7
  button_box.c ok ok
12
- changedisplay.c ok no
13
8
  clipboard.c ok ok
14
9
  colorsel.c ok ok
15
- combobox.c no no
16
- css_accordion.c ok ok
17
10
  css_basics.c ok ok
18
11
  css_multiplebgs.c ok ok
19
12
  css_pixbufs.c ok ok
@@ -24,19 +17,13 @@ drawingarea.c ok ok
24
17
  editable_cells.c ok ok
25
18
  entry_buffer.c ok ok
26
19
  entry_completion.c ok ok
27
- event_axes.c no no
28
20
  expander.c ok ok
29
21
  filtermodel.c ok ok
30
- flowbox.c no no
31
- font_features.c ok ok
32
- foreigndrawing no no
33
- gestures.c no no
34
22
  glarea.c ok ok
35
23
  headerbar.c ok ok
36
24
  hypertext.c ok ok
37
25
  iconview.c ok ok
38
26
  iconview_edit.c ok ok
39
- images.c ok no
40
27
  infobar.c ok ok
41
28
  links.c ok ok
42
29
  listbox.c ok ok
@@ -44,8 +31,6 @@ list_store.c ok ok
44
31
  markup.c ok ok
45
32
  menus.c ok ok
46
33
  modelbutton.c ok ok
47
- offscreen_window.c no no
48
- offscreen_window2.c no no
49
34
  overlay.c ok ok
50
35
  overlay2.c ok ok
51
36
  panes.c ok ok
@@ -58,7 +43,6 @@ rotated_text.c ok ok
58
43
  scale.c ok ok
59
44
  search_entry.c ok ok
60
45
  search_entry2.c ok ok
61
- shortcuts.c no no
62
46
  sidebar.c ok ok
63
47
  sizegroup.c ok ok
64
48
  spinbutton.c ok ok
@@ -66,10 +50,24 @@ spinner.c ok ok
66
50
  stack.c ok ok
67
51
  textmask.c ok ok
68
52
  textscroll.c ok ok
69
- textview.c ok no
70
53
  theming_style_classes.c ok ok
71
- toolpalette.c no no
72
54
  transparent.c ok ok
55
+ images.c ok ok
56
+ textview.c ok ok
57
+
58
+ Remains :
59
+
60
+ application.c no no
61
+ changedisplay.c ok no
62
+ combobox.c no no
63
+ css_blendmodes.c no no
64
+ event_axes.c no no
65
+ fishbowl.c no no
66
+ flowbox.c no no
67
+ foreigndrawing no no
68
+ gestures.c no no
69
+ shortcuts.c no no
70
+ toolpalette.c no no
73
71
  tree_store.c ok no
74
72
 
75
73
  # Ruby version
@@ -77,3 +75,4 @@ Check all the ruby demos that doesn't correspond to a C version.
77
75
 
78
76
  # Demo that are not to be done
79
77
  pagesetup.c
78
+ font_features.c -> https://github.com/ruby-gnome2/ruby-gnome2/issues/756
@@ -57,7 +57,6 @@ class AssistantDemo
57
57
 
58
58
  def create_page1
59
59
  box = Gtk::Box.new(:horizontal, 12)
60
- box.border_width = 12
61
60
 
62
61
  label = Gtk::Label.new("You must fill out this entry to continue")
63
62
  box.pack_start(label, :expand => true, :fill => true, :padding => 0)
@@ -86,7 +85,6 @@ class AssistantDemo
86
85
 
87
86
  def create_page2
88
87
  box = Gtk::Box.new(:horizontal, 12)
89
- box.border_width = 12
90
88
 
91
89
  checkbutton = Gtk::CheckButton.new(<<-LABEL)
92
90
  This is optional data, you may continue
@@ -0,0 +1,391 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <interface>
3
+ <requires lib="gtk+" version="3.20"/>
4
+ <object class="GtkWindow" id="window">
5
+ <property name="can_focus">False</property>
6
+ <property name="resizable">False</property>
7
+ <property name="title">CSS Blend Modes</property>
8
+ <property name="default_width">400</property>
9
+ <property name="default_height">300</property>
10
+ <child>
11
+ <object class="GtkGrid">
12
+ <property name="visible">True</property>
13
+ <property name="can_focus">False</property>
14
+ <property name="row_spacing">12</property>
15
+ <property name="column_spacing">12</property>
16
+ <child>
17
+ <object class="GtkLabel">
18
+ <property name="visible">True</property>
19
+ <property name="can_focus">False</property>
20
+ <property name="label" translatable="yes">Blend mode:</property>
21
+ <property name="xalign">0</property>
22
+ <style>
23
+ <class name="dim-label"/>
24
+ </style>
25
+ </object>
26
+ <packing>
27
+ <property name="left_attach">0</property>
28
+ <property name="top_attach">0</property>
29
+ </packing>
30
+ </child>
31
+ <child>
32
+ <object class="GtkScrolledWindow" id="scrolledwindow">
33
+ <property name="visible">True</property>
34
+ <property name="can_focus">True</property>
35
+ <property name="vexpand">True</property>
36
+ <property name="shadow_type">in</property>
37
+ <property name="min_content_width">150</property>
38
+ </object>
39
+ <packing>
40
+ <property name="left_attach">0</property>
41
+ <property name="top_attach">1</property>
42
+ </packing>
43
+ </child>
44
+ <child>
45
+ <object class="GtkStackSwitcher">
46
+ <property name="visible">True</property>
47
+ <property name="can_focus">False</property>
48
+ <property name="halign">center</property>
49
+ <property name="hexpand">True</property>
50
+ <property name="stack">stack</property>
51
+ </object>
52
+ <packing>
53
+ <property name="left_attach">1</property>
54
+ <property name="top_attach">0</property>
55
+ </packing>
56
+ </child>
57
+ <child>
58
+ <object class="GtkStack" id="stack">
59
+ <property name="visible">True</property>
60
+ <property name="can_focus">False</property>
61
+ <property name="hexpand">True</property>
62
+ <property name="vexpand">True</property>
63
+ <property name="hhomogeneous">False</property>
64
+ <property name="vhomogeneous">False</property>
65
+ <property name="transition_type">crossfade</property>
66
+ <child>
67
+ <object class="GtkGrid">
68
+ <property name="visible">True</property>
69
+ <property name="can_focus">False</property>
70
+ <property name="halign">center</property>
71
+ <property name="valign">center</property>
72
+ <property name="hexpand">False</property>
73
+ <property name="vexpand">True</property>
74
+ <property name="row_spacing">12</property>
75
+ <property name="column_spacing">12</property>
76
+ <child>
77
+ <object class="GtkLabel">
78
+ <property name="visible">True</property>
79
+ <property name="can_focus">False</property>
80
+ <property name="label" translatable="yes">Duck</property>
81
+ </object>
82
+ <packing>
83
+ <property name="left_attach">0</property>
84
+ <property name="top_attach">0</property>
85
+ </packing>
86
+ </child>
87
+ <child>
88
+ <object class="GtkLabel">
89
+ <property name="visible">True</property>
90
+ <property name="can_focus">False</property>
91
+ <property name="label" translatable="yes">Background</property>
92
+ </object>
93
+ <packing>
94
+ <property name="left_attach">1</property>
95
+ <property name="top_attach">0</property>
96
+ </packing>
97
+ </child>
98
+ <child>
99
+ <object class="GtkImage">
100
+ <property name="visible">True</property>
101
+ <property name="can_focus">False</property>
102
+ <style>
103
+ <class name="duck"/>
104
+ </style>
105
+ </object>
106
+ <packing>
107
+ <property name="left_attach">0</property>
108
+ <property name="top_attach">1</property>
109
+ </packing>
110
+ </child>
111
+ <child>
112
+ <object class="GtkImage">
113
+ <property name="visible">True</property>
114
+ <property name="can_focus">False</property>
115
+ <style>
116
+ <class name="gradient"/>
117
+ </style>
118
+ </object>
119
+ <packing>
120
+ <property name="left_attach">1</property>
121
+ <property name="top_attach">1</property>
122
+ </packing>
123
+ </child>
124
+ <child>
125
+ <object class="GtkLabel">
126
+ <property name="visible">True</property>
127
+ <property name="can_focus">False</property>
128
+ <property name="label" translatable="yes">
129
+ Blended picture</property>
130
+ </object>
131
+ <packing>
132
+ <property name="left_attach">0</property>
133
+ <property name="top_attach">2</property>
134
+ <property name="width">2</property>
135
+ </packing>
136
+ </child>
137
+ <child>
138
+ <object class="GtkImage">
139
+ <property name="visible">True</property>
140
+ <property name="can_focus">False</property>
141
+ <property name="halign">center</property>
142
+ <style>
143
+ <class name="blend0"/>
144
+ </style>
145
+ </object>
146
+ <packing>
147
+ <property name="left_attach">0</property>
148
+ <property name="top_attach">3</property>
149
+ <property name="width">2</property>
150
+ </packing>
151
+ </child>
152
+ </object>
153
+ <packing>
154
+ <property name="name">page0</property>
155
+ <property name="title" translatable="yes">Ducky</property>
156
+ </packing>
157
+ </child>
158
+ <child>
159
+ <object class="GtkGrid">
160
+ <property name="visible">True</property>
161
+ <property name="can_focus">False</property>
162
+ <property name="halign">center</property>
163
+ <property name="valign">center</property>
164
+ <property name="hexpand">False</property>
165
+ <property name="vexpand">True</property>
166
+ <property name="row_spacing">12</property>
167
+ <property name="column_spacing">12</property>
168
+ <child>
169
+ <object class="GtkLabel">
170
+ <property name="visible">True</property>
171
+ <property name="can_focus">False</property>
172
+ <property name="label" translatable="yes">Red</property>
173
+ </object>
174
+ <packing>
175
+ <property name="left_attach">0</property>
176
+ <property name="top_attach">0</property>
177
+ </packing>
178
+ </child>
179
+ <child>
180
+ <object class="GtkLabel">
181
+ <property name="visible">True</property>
182
+ <property name="can_focus">False</property>
183
+ <property name="label" translatable="yes">Blue</property>
184
+ </object>
185
+ <packing>
186
+ <property name="left_attach">1</property>
187
+ <property name="top_attach">0</property>
188
+ </packing>
189
+ </child>
190
+ <child>
191
+ <object class="GtkImage">
192
+ <property name="visible">True</property>
193
+ <property name="can_focus">False</property>
194
+ <style>
195
+ <class name="red"/>
196
+ </style>
197
+ </object>
198
+ <packing>
199
+ <property name="left_attach">0</property>
200
+ <property name="top_attach">1</property>
201
+ </packing>
202
+ </child>
203
+ <child>
204
+ <object class="GtkImage">
205
+ <property name="visible">True</property>
206
+ <property name="can_focus">False</property>
207
+ <style>
208
+ <class name="blue"/>
209
+ </style>
210
+ </object>
211
+ <packing>
212
+ <property name="left_attach">1</property>
213
+ <property name="top_attach">1</property>
214
+ </packing>
215
+ </child>
216
+ <child>
217
+ <object class="GtkLabel">
218
+ <property name="visible">True</property>
219
+ <property name="can_focus">False</property>
220
+ <property name="label" translatable="yes">
221
+ Blended picture</property>
222
+ </object>
223
+ <packing>
224
+ <property name="left_attach">0</property>
225
+ <property name="top_attach">2</property>
226
+ <property name="width">2</property>
227
+ </packing>
228
+ </child>
229
+ <child>
230
+ <object class="GtkImage">
231
+ <property name="visible">True</property>
232
+ <property name="can_focus">False</property>
233
+ <property name="halign">center</property>
234
+ <style>
235
+ <class name="blend1"/>
236
+ </style>
237
+ </object>
238
+ <packing>
239
+ <property name="left_attach">0</property>
240
+ <property name="top_attach">3</property>
241
+ <property name="width">2</property>
242
+ </packing>
243
+ </child>
244
+ </object>
245
+ <packing>
246
+ <property name="name">page1</property>
247
+ <property name="title" translatable="yes">Blends</property>
248
+ </packing>
249
+ </child>
250
+ <child>
251
+ <object class="GtkGrid">
252
+ <property name="visible">True</property>
253
+ <property name="can_focus">False</property>
254
+ <property name="halign">center</property>
255
+ <property name="valign">center</property>
256
+ <property name="hexpand">True</property>
257
+ <property name="vexpand">True</property>
258
+ <property name="row_spacing">6</property>
259
+ <property name="column_spacing">12</property>
260
+ <child>
261
+ <object class="GtkImage">
262
+ <property name="visible">True</property>
263
+ <property name="can_focus">False</property>
264
+ <style>
265
+ <class name="cyan"/>
266
+ </style>
267
+ </object>
268
+ <packing>
269
+ <property name="left_attach">0</property>
270
+ <property name="top_attach">1</property>
271
+ </packing>
272
+ </child>
273
+ <child>
274
+ <object class="GtkImage">
275
+ <property name="visible">True</property>
276
+ <property name="can_focus">False</property>
277
+ <style>
278
+ <class name="magenta"/>
279
+ </style>
280
+ </object>
281
+ <packing>
282
+ <property name="left_attach">1</property>
283
+ <property name="top_attach">1</property>
284
+ </packing>
285
+ </child>
286
+ <child>
287
+ <object class="GtkImage">
288
+ <property name="visible">True</property>
289
+ <property name="can_focus">False</property>
290
+ <style>
291
+ <class name="yellow"/>
292
+ </style>
293
+ </object>
294
+ <packing>
295
+ <property name="left_attach">0</property>
296
+ <property name="top_attach">3</property>
297
+ </packing>
298
+ </child>
299
+ <child>
300
+ <object class="GtkImage">
301
+ <property name="visible">True</property>
302
+ <property name="can_focus">False</property>
303
+ <property name="halign">center</property>
304
+ <style>
305
+ <class name="blend2"/>
306
+ </style>
307
+ </object>
308
+ <packing>
309
+ <property name="left_attach">1</property>
310
+ <property name="top_attach">3</property>
311
+ </packing>
312
+ </child>
313
+ <child>
314
+ <object class="GtkLabel">
315
+ <property name="visible">True</property>
316
+ <property name="can_focus">False</property>
317
+ <property name="label" translatable="yes">Cyan</property>
318
+ <property name="xalign">0</property>
319
+ <style>
320
+ <class name="dim-label"/>
321
+ </style>
322
+ </object>
323
+ <packing>
324
+ <property name="left_attach">0</property>
325
+ <property name="top_attach">0</property>
326
+ </packing>
327
+ </child>
328
+ <child>
329
+ <object class="GtkLabel">
330
+ <property name="visible">True</property>
331
+ <property name="can_focus">False</property>
332
+ <property name="label" translatable="yes">Magenta</property>
333
+ <property name="xalign">0</property>
334
+ <style>
335
+ <class name="dim-label"/>
336
+ </style>
337
+ </object>
338
+ <packing>
339
+ <property name="left_attach">1</property>
340
+ <property name="top_attach">0</property>
341
+ </packing>
342
+ </child>
343
+ <child>
344
+ <object class="GtkLabel">
345
+ <property name="visible">True</property>
346
+ <property name="can_focus">False</property>
347
+ <property name="label" translatable="yes">Yellow</property>
348
+ <property name="xalign">0</property>
349
+ <style>
350
+ <class name="dim-label"/>
351
+ </style>
352
+ </object>
353
+ <packing>
354
+ <property name="left_attach">0</property>
355
+ <property name="top_attach">2</property>
356
+ </packing>
357
+ </child>
358
+ <child>
359
+ <object class="GtkLabel">
360
+ <property name="visible">True</property>
361
+ <property name="can_focus">False</property>
362
+ <property name="label" translatable="yes">Blended picture</property>
363
+ <property name="xalign">0</property>
364
+ <attributes>
365
+ <attribute name="weight" value="bold"/>
366
+ </attributes>
367
+ </object>
368
+ <packing>
369
+ <property name="left_attach">1</property>
370
+ <property name="top_attach">2</property>
371
+ </packing>
372
+ </child>
373
+ </object>
374
+ <packing>
375
+ <property name="name">page2</property>
376
+ <property name="title" translatable="yes">CMYK</property>
377
+ </packing>
378
+ </child>
379
+ </object>
380
+ <packing>
381
+ <property name="left_attach">1</property>
382
+ <property name="top_attach">1</property>
383
+ </packing>
384
+ </child>
385
+ </object>
386
+ </child>
387
+ <child type="titlebar">
388
+ <placeholder/>
389
+ </child>
390
+ </object>
391
+ </interface>