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