gtk-stream 0.11__tar.gz → 0.11.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {gtk_stream-0.11 → gtk_stream-0.11.1}/PKG-INFO +1 -1
  2. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/_version.py +2 -2
  3. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/application.py +1 -0
  4. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/properties.py +4 -1
  5. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream.egg-info/PKG-INFO +1 -1
  6. {gtk_stream-0.11 → gtk_stream-0.11.1}/README.md +0 -0
  7. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk-stream +0 -0
  8. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/__init__.py +0 -0
  9. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/command_line.py +0 -0
  10. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/common.py +0 -0
  11. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/__init__.py +0 -0
  12. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Box.py +0 -0
  13. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Button.py +0 -0
  14. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Document.py +0 -0
  15. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Dropdown.py +0 -0
  16. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Entry.py +0 -0
  17. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/FlowBox.py +0 -0
  18. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Frame.py +0 -0
  19. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Grid.py +0 -0
  20. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Label.py +0 -0
  21. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Paned.py +0 -0
  22. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Picture.py +0 -0
  23. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/ProgressBar.py +0 -0
  24. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Scale.py +0 -0
  25. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/ScrolledWindow.py +0 -0
  26. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Separator.py +0 -0
  27. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Stack.py +0 -0
  28. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/Switch.py +0 -0
  29. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/documents/classes/__init__.py +0 -0
  30. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream/parser.py +0 -0
  31. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream.egg-info/SOURCES.txt +0 -0
  32. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream.egg-info/dependency_links.txt +0 -0
  33. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream.egg-info/entry_points.txt +0 -0
  34. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream.egg-info/requires.txt +0 -0
  35. {gtk_stream-0.11 → gtk_stream-0.11.1}/gtk_stream.egg-info/top_level.txt +0 -0
  36. {gtk_stream-0.11 → gtk_stream-0.11.1}/pyproject.toml +0 -0
  37. {gtk_stream-0.11 → gtk_stream-0.11.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gtk-stream
3
- Version: 0.11
3
+ Version: 0.11.1
4
4
  Summary: A simple stream-oriented GUI protocol
5
5
  Author-email: Marc Coiffier <marc.coiffier@univ-grenoble-alpes.fr>
6
6
  Project-URL: Homepage, https://coiffier.net/projects/gtk-stream/
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.11'
16
- __version_tuple__ = version_tuple = (0, 11)
15
+ __version__ = version = '0.11.1'
16
+ __version_tuple__ = version_tuple = (0, 11, 1)
@@ -95,6 +95,7 @@ class GtkStreamApp(Gtk.Application):
95
95
  def newWindow(self, document, id, **attrs):
96
96
  win = Gtk.Window(application=self)
97
97
  for (attr_name, attr_val) in attrs.items():
98
+ self.logger.debug("Setting attr '%s' on window", attr_name)
98
99
  set_parse_prop(self, win, attr_name, attr_val)
99
100
  self.namedWindows[id] = win
100
101
  win.set_child(document.render())
@@ -51,7 +51,9 @@ def _parse_css_classes_property(val):
51
51
  return _const(val.split())
52
52
  def _parse_widget_property(val):
53
53
  return lambda app: app.namedWidgets[val]
54
-
54
+ def _parse_window_property(val):
55
+ return lambda app: app.namedWindows[val]
56
+
55
57
  _PARSE_TYPE_PROPERTY = {
56
58
  'GStrv' : _parse_css_classes_property,
57
59
  'GtkOrientation' : _parse_orientation_property,
@@ -61,6 +63,7 @@ _PARSE_TYPE_PROPERTY = {
61
63
  'gboolean' : _parse_boolean_property,
62
64
  'GtkStringFilterMatchMode' : _parse_searchMode_property,
63
65
  'GtkWidget' : _parse_widget_property,
66
+ 'GtkWindow' : _parse_window_property,
64
67
  'GtkAdjustment' : _parse_adjustment_property,
65
68
  'gchararray' : _const,
66
69
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gtk-stream
3
- Version: 0.11
3
+ Version: 0.11.1
4
4
  Summary: A simple stream-oriented GUI protocol
5
5
  Author-email: Marc Coiffier <marc.coiffier@univ-grenoble-alpes.fr>
6
6
  Project-URL: Homepage, https://coiffier.net/projects/gtk-stream/
File without changes
File without changes
File without changes
File without changes