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 +2 -2
- gtk_stream/properties.py +12 -1
- {gtk_stream-0.13.dist-info → gtk_stream-0.13.1.dist-info}/METADATA +1 -1
- {gtk_stream-0.13.dist-info → gtk_stream-0.13.1.dist-info}/RECORD +7 -7
- {gtk_stream-0.13.dist-info → gtk_stream-0.13.1.dist-info}/WHEEL +0 -0
- {gtk_stream-0.13.dist-info → gtk_stream-0.13.1.dist-info}/entry_points.txt +0 -0
- {gtk_stream-0.13.dist-info → gtk_stream-0.13.1.dist-info}/top_level.txt +0 -0
gtk_stream/_version.py
CHANGED
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,10 +1,10 @@
|
|
1
1
|
gtk_stream/__init__.py,sha256=y6JLknVFexWrSo_Zl7-TXrPR6EQ5XVMeFO1bUzLN9Lg,98
|
2
|
-
gtk_stream/_version.py,sha256=
|
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=
|
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=
|
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,,
|
File without changes
|
File without changes
|
File without changes
|