gtk-stream 0.13__tar.gz → 0.13.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {gtk_stream-0.13 → gtk_stream-0.13.1}/PKG-INFO +1 -1
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/_version.py +2 -2
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/properties.py +12 -1
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream.egg-info/PKG-INFO +1 -1
- {gtk_stream-0.13 → gtk_stream-0.13.1}/README.md +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk-stream +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/__init__.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/application.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/command_line.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/common.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/__init__.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Box.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Button.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Document.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Dropdown.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Entry.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/FlowBox.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Frame.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Grid.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Label.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Paned.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Picture.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/ProgressBar.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Scale.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/ScrolledWindow.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Separator.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Stack.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/Switch.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/documents/classes/__init__.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream/parser.py +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream.egg-info/SOURCES.txt +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream.egg-info/dependency_links.txt +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream.egg-info/entry_points.txt +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream.egg-info/requires.txt +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/gtk_stream.egg-info/top_level.txt +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/pyproject.toml +0 -0
- {gtk_stream-0.13 → gtk_stream-0.13.1}/setup.cfg +0 -0
@@ -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):
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|