gtk-stream 0.13.1__tar.gz → 0.13.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/PKG-INFO +2 -2
  2. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/_version.py +2 -2
  3. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/application.py +10 -10
  4. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/properties.py +2 -2
  5. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream.egg-info/PKG-INFO +2 -2
  6. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/README.md +0 -0
  7. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk-stream +0 -0
  8. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/__init__.py +0 -0
  9. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/command_line.py +0 -0
  10. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/common.py +0 -0
  11. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/__init__.py +0 -0
  12. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Box.py +0 -0
  13. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Button.py +0 -0
  14. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Document.py +0 -0
  15. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Dropdown.py +0 -0
  16. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Entry.py +0 -0
  17. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/FlowBox.py +0 -0
  18. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Frame.py +0 -0
  19. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Grid.py +0 -0
  20. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Label.py +0 -0
  21. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Paned.py +0 -0
  22. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Picture.py +0 -0
  23. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/ProgressBar.py +0 -0
  24. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Scale.py +0 -0
  25. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/ScrolledWindow.py +0 -0
  26. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Separator.py +0 -0
  27. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Stack.py +0 -0
  28. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/Switch.py +0 -0
  29. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/documents/classes/__init__.py +0 -0
  30. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream/parser.py +0 -0
  31. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream.egg-info/SOURCES.txt +0 -0
  32. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream.egg-info/dependency_links.txt +0 -0
  33. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream.egg-info/entry_points.txt +0 -0
  34. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream.egg-info/requires.txt +0 -0
  35. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/gtk_stream.egg-info/top_level.txt +0 -0
  36. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/pyproject.toml +0 -0
  37. {gtk_stream-0.13.1 → gtk_stream-0.13.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: gtk-stream
3
- Version: 0.13.1
3
+ Version: 0.13.2
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.13.1'
16
- __version_tuple__ = version_tuple = (0, 13, 1)
15
+ __version__ = version = '0.13.2'
16
+ __version_tuple__ = version_tuple = (0, 13, 2)
@@ -54,8 +54,8 @@ class GtkStreamApp(Gtk.Application):
54
54
  def __init__(self, logger, **kwargs):
55
55
  super().__init__(**kwargs)
56
56
  self.logger = logger
57
- self.namedWidgets = { }
58
- self.namedWindows = { }
57
+ self.named_widgets = { }
58
+ self.named_windows = { }
59
59
 
60
60
  # The first messages from the pilot may arrive before the
61
61
  # application is ready to process them.
@@ -87,7 +87,7 @@ class GtkStreamApp(Gtk.Application):
87
87
 
88
88
  def name_widget(self, id, w):
89
89
  if id is not None:
90
- self.namedWidgets[id] = w
90
+ self.named_widgets[id] = w
91
91
 
92
92
  def set_attrs(self, attrs):
93
93
  for name, val in attrs.items():
@@ -107,7 +107,7 @@ class GtkStreamApp(Gtk.Application):
107
107
  print(f"{id}:none-selected")
108
108
  sys.stdout.flush()
109
109
 
110
- dialog.open(parent = self.namedWindows[parent], callback = on_choose)
110
+ dialog.open(parent = self.named_windows[parent], callback = on_choose)
111
111
 
112
112
  @app_message('window', single_store)
113
113
  def new_window(self, document, id, **attrs):
@@ -115,7 +115,7 @@ class GtkStreamApp(Gtk.Application):
115
115
  for (attr_name, attr_val) in attrs.items():
116
116
  self.logger.debug("Setting attr '%s' on window", attr_name)
117
117
  set_parse_prop(self, win, attr_name, attr_val)
118
- self.namedWindows[id] = win
118
+ self.named_windows[id] = win
119
119
  win.set_child(document.render())
120
120
  win.connect('close-request', printEvent(self.logger, 'close-request', id))
121
121
  win.present()
@@ -133,11 +133,11 @@ class GtkStreamApp(Gtk.Application):
133
133
 
134
134
  @app_message('close-window')
135
135
  def close_window(self, id):
136
- self.namedWindows[id].close()
136
+ self.named_windows[id].close()
137
137
 
138
138
  @app_message('remove')
139
139
  def remove_widget(self, id):
140
- w = self.namedWidgets[id]
140
+ w = self.named_widgets[id]
141
141
  w.get_parent().remove(w)
142
142
 
143
143
  @app_message('insert', multiple_store)
@@ -146,14 +146,14 @@ class GtkStreamApp(Gtk.Application):
146
146
  self.insert_widget(doc, into)
147
147
 
148
148
  def insert_widget(self, document, into):
149
- if into in self.namedWidgets:
150
- w = self.namedWidgets[into]
149
+ if into in self.named_widgets:
150
+ w = self.named_widgets[into]
151
151
  w.insert_child(document)
152
152
  else:
153
153
  raise Exception(f"Error: unknown widget id '{into}'")
154
154
 
155
155
  @app_message('set-prop')
156
156
  def set_prop(self, id, name, value):
157
- w = self.namedWidgets[id]
157
+ w = self.named_widgets[id]
158
158
  w.set_property(name, parse_property(get_prop_type(w.__class__, name), value)(self))
159
159
 
@@ -50,9 +50,9 @@ def _parse_adjustment_property(val):
50
50
  def _parse_css_classes_property(val):
51
51
  return _const(val.split())
52
52
  def _parse_widget_property(val):
53
- return lambda app: app.namedWidgets[val]
53
+ return lambda app: app.named_widgets[val]
54
54
  def _parse_window_property(val):
55
- return lambda app: app.namedWindows[val]
55
+ return lambda app: app.named_windows[val]
56
56
  def _parse_gfile_property(val):
57
57
  return _const(Gio.File.new_for_path(val))
58
58
  def _parse_align_property(val):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: gtk-stream
3
- Version: 0.13.1
3
+ Version: 0.13.2
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