gtk-stream 0.11__py3-none-any.whl → 0.11.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
gtk_stream/_version.py CHANGED
@@ -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)
gtk_stream/application.py CHANGED
@@ -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())
gtk_stream/properties.py CHANGED
@@ -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/
@@ -1,10 +1,10 @@
1
1
  gtk_stream/__init__.py,sha256=y6JLknVFexWrSo_Zl7-TXrPR6EQ5XVMeFO1bUzLN9Lg,98
2
- gtk_stream/_version.py,sha256=Q2GWjTMIRsleycpIehR0fJZ1os_SNIR1qmR8a9sL4sU,408
3
- gtk_stream/application.py,sha256=s-f6B260CdRfrktnC9lj5mbC1PdTHTIpJ6M6J_xFKWI,4921
2
+ gtk_stream/_version.py,sha256=GfnRHfD9z98AbNAoXaNE50CPUnbpEikyDWn-_mn0J2Q,413
3
+ gtk_stream/application.py,sha256=uFquTXCV0fbGlSURBmjrg9BK3Enf9N0_WKX6Lv-5Fko,4993
4
4
  gtk_stream/command_line.py,sha256=Ej4mmPiuYjr5-1JrvjGK0BDitKUCfVEI9uHp1p_FAr4,1520
5
5
  gtk_stream/common.py,sha256=xdscxYgBg_Ux6iyk26gB-AMSgoUIqlZUPgso5YS_gKE,2106
6
6
  gtk_stream/parser.py,sha256=LOCGoTT_L5Qf29YJ2wFfTYLHtH0al-QjpFWf9HEHYxU,6561
7
- gtk_stream/properties.py,sha256=2cLsFGDMhlFAUQV7eewN_sexmv0DOxfOXU8EYHRzqjY,2989
7
+ gtk_stream/properties.py,sha256=Pgu59t3K-SkHXCZzkrk2DU8ODtjOhkZmf7dLqDYiDqc,3116
8
8
  gtk_stream/documents/__init__.py,sha256=T9mIonSi9DWrpXQzbjq0s0TPU0hB7HylfhMA20OfWIg,831
9
9
  gtk_stream/documents/classes/Box.py,sha256=d01o2-JQ3-k0VjvvY8E7mly-u_f1v1NqYz1IDjHZLUo,1381
10
10
  gtk_stream/documents/classes/Button.py,sha256=21bVI7DUWmiusboxdsimTgcqKtLqzQydhS9ifIt4R64,1512
@@ -24,8 +24,8 @@ gtk_stream/documents/classes/Separator.py,sha256=uw_EgAKs_6pNA8nrOLzruIlJfk4uaog
24
24
  gtk_stream/documents/classes/Stack.py,sha256=YA6NDzZL2u4Ko8GXtx8Or-jEWGMCEw2cC1HNkAMRw-8,1030
25
25
  gtk_stream/documents/classes/Switch.py,sha256=jQVuxqS9Pmpp1ymB_dbJPxasJNpm4e35ry0JYPHdAsk,1275
26
26
  gtk_stream/documents/classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- gtk_stream-0.11.dist-info/METADATA,sha256=cieUbyM41PMOpUG3gkkpnDqFr72ApD8bkSywbw1y-BM,805
28
- gtk_stream-0.11.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
29
- gtk_stream-0.11.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
30
- gtk_stream-0.11.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
31
- gtk_stream-0.11.dist-info/RECORD,,
27
+ gtk_stream-0.11.1.dist-info/METADATA,sha256=iwqbihyKY2PV24joIWUqAAt6D8npjUmm6T4GVOFCD4I,807
28
+ gtk_stream-0.11.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
29
+ gtk_stream-0.11.1.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
30
+ gtk_stream-0.11.1.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
31
+ gtk_stream-0.11.1.dist-info/RECORD,,