gtk-stream 0.13__py3-none-any.whl → 0.13.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.13'
16
- __version_tuple__ = version_tuple = (0, 13)
15
+ __version__ = version = '0.13.1'
16
+ __version_tuple__ = version_tuple = (0, 13, 1)
gtk_stream/properties.py CHANGED
@@ -63,7 +63,17 @@ def _parse_align_property(val):
63
63
  return _const(Gtk.Align.CENTER)
64
64
  case "end":
65
65
  return _const(Gtk.Align.END)
66
-
66
+ def _parse_selection_mode_property(val):
67
+ match val:
68
+ case "none":
69
+ return _const(Gtk.SelectionMode.NONE)
70
+ case "single":
71
+ return _const(Gtk.SelectionMode.SINGLE)
72
+ case "browse":
73
+ return _const(Gtk.SelectionMode.BROWSE)
74
+ case "multiple":
75
+ return _const(Gtk.SelectionMode.MULTIPLE)
76
+
67
77
  _PARSE_TYPE_PROPERTY = {
68
78
  'GStrv' : _parse_css_classes_property,
69
79
  'GtkOrientation' : _parse_orientation_property,
@@ -79,6 +89,7 @@ _PARSE_TYPE_PROPERTY = {
79
89
  'gchararray' : _const,
80
90
  'GFile' : _parse_gfile_property,
81
91
  'GtkAlign' : _parse_align_property,
92
+ 'GtkSelectionMode' : _parse_selection_mode_property,
82
93
  }
83
94
 
84
95
  def parse_property(prop_type, val):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gtk-stream
3
- Version: 0.13
3
+ Version: 0.13.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=4Ti_UJ2UR2LyAc9zW9aeUVpFeq-DXxy65V2wynOuCi0,408
2
+ gtk_stream/_version.py,sha256=2tfL_x7--SF9Szc7f-1EYHtdawpHz4gvIzw8B6TKeRA,413
3
3
  gtk_stream/application.py,sha256=SrWn_lHJNCyswOB9rPV3Mn5TcnDlAZXHZ5x6A6E5SdQ,5488
4
4
  gtk_stream/command_line.py,sha256=g7Sed0ydnDGKyWHT09murwR-3vZyIKXRWgM4Oi0qDE4,3278
5
5
  gtk_stream/common.py,sha256=xdscxYgBg_Ux6iyk26gB-AMSgoUIqlZUPgso5YS_gKE,2106
6
6
  gtk_stream/parser.py,sha256=5D5VlAHJZghNKHbZJBMWMaBuTcThStQE_58PwC37Uos,5707
7
- gtk_stream/properties.py,sha256=rRcsGFadg-e5_xuZYfuSpDnSxmueC1yyutTVSfQQZNg,3608
7
+ gtk_stream/properties.py,sha256=ajYxDfDuFODqTHwsKDqMBGitEYfZerFVtVoDIEIdjv4,4037
8
8
  gtk_stream/documents/__init__.py,sha256=cMWSmjD2_5oJ2EoSk3Jy9-LPeAGKDIidYNRJvqUzdU8,856
9
9
  gtk_stream/documents/classes/Box.py,sha256=TIxRLO0_SjRpE3soimHuNE0q4jDbU_BUCpcuspSPAzg,1382
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=icg1TOlCD0IFPv_42uMa7jHbEAgEnuELrTEbnTKiPgU,1568
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.13.dist-info/METADATA,sha256=41cCb3Yf3imAwlEs9mf6Gs4trUjYE3V2qwWX_qOKAtA,805
28
- gtk_stream-0.13.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
29
- gtk_stream-0.13.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
30
- gtk_stream-0.13.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
31
- gtk_stream-0.13.dist-info/RECORD,,
27
+ gtk_stream-0.13.1.dist-info/METADATA,sha256=y9onkN1HmYjtyX0feOfIojC6kqdgEj6Go55dfBjA1fU,807
28
+ gtk_stream-0.13.1.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
29
+ gtk_stream-0.13.1.dist-info/entry_points.txt,sha256=PmhKTb4MMQM6dN2HJcoDSMI8L0lZIFIlFn-BgdfPDpo,60
30
+ gtk_stream-0.13.1.dist-info/top_level.txt,sha256=vE9zfHGe9Ke7FSe0wBK2WYJI-BpcQNu6xDC3Cu5O8rQ,11
31
+ gtk_stream-0.13.1.dist-info/RECORD,,