gtk-stream 0.4__tar.gz → 0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. {gtk_stream-0.4 → gtk_stream-0.5}/PKG-INFO +1 -1
  2. gtk_stream-0.5/gtk_stream/documents/__init__.py +16 -0
  3. gtk_stream-0.5/gtk_stream/documents/classes/ScrolledWindow.py +11 -0
  4. gtk_stream-0.5/gtk_stream/documents/classes/Separator.py +9 -0
  5. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/parser.py +17 -15
  6. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream.egg-info/PKG-INFO +1 -1
  7. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream.egg-info/SOURCES.txt +2 -0
  8. {gtk_stream-0.4 → gtk_stream-0.5}/pyproject.toml +1 -1
  9. gtk_stream-0.4/gtk_stream/documents/__init__.py +0 -14
  10. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/__init__.py +0 -0
  11. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/application.py +0 -0
  12. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/command_line.py +0 -0
  13. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/common.py +0 -0
  14. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Box.py +0 -0
  15. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Button.py +0 -0
  16. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Document.py +0 -0
  17. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Dropdown.py +0 -0
  18. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Frame.py +0 -0
  19. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Grid.py +0 -0
  20. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Label.py +0 -0
  21. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Paned.py +0 -0
  22. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Picture.py +0 -0
  23. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/ProgressBar.py +0 -0
  24. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/Switch.py +0 -0
  25. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/documents/classes/__init__.py +0 -0
  26. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream/properties.py +0 -0
  27. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream.egg-info/dependency_links.txt +0 -0
  28. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream.egg-info/entry_points.txt +0 -0
  29. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream.egg-info/requires.txt +0 -0
  30. {gtk_stream-0.4 → gtk_stream-0.5}/gtk_stream.egg-info/top_level.txt +0 -0
  31. {gtk_stream-0.4 → gtk_stream-0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gtk-stream
3
- Version: 0.4
3
+ Version: 0.5
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://coiffiem.gricad-pages.univ-grenoble-alpes.fr/gtk-stream/
@@ -0,0 +1,16 @@
1
+ from .classes.Document import Document, PseudoDocument
2
+
3
+ from .classes.Label import Label
4
+ from .classes.Picture import Picture
5
+ from .classes.ProgressBar import ProgressBar
6
+ from .classes.Separator import Separator
7
+
8
+ from .classes.Button import Button, LinkButton
9
+ from .classes.Dropdown import Dropdown, Item
10
+ from .classes.Switch import Switch
11
+
12
+ from .classes.Box import Box, BoxPrepend
13
+ from .classes.ScrolledWindow import ScrolledWindow
14
+ from .classes.Paned import Paned
15
+ from .classes.Frame import Frame, FrameLabel
16
+ from .classes.Grid import Grid, Cell
@@ -0,0 +1,11 @@
1
+ from ... import Gtk
2
+ from .. import Document
3
+
4
+ class ScrolledWindow(Document):
5
+ __g_class__ = Gtk.ScrolledWindow
6
+ def __init__(self, app, **kwargs):
7
+ super().__init__(app, **kwargs)
8
+ def render_raw(self):
9
+ return Gtk.ScrolledWindow()
10
+ def insert_child(self, w, d):
11
+ w.set_child(d.render())
@@ -0,0 +1,9 @@
1
+ from ... import Gtk
2
+ from .. import Document
3
+
4
+ class Separator(Document):
5
+ __g_class__ = Gtk.Separator
6
+ def __init__(self, app, **kwargs):
7
+ super().__init__(app, **kwargs)
8
+ def render_raw(self):
9
+ return Gtk.Separator()
@@ -12,21 +12,23 @@ class _Object:
12
12
  pass
13
13
 
14
14
  WIDGET_DOCUMENTS = {
15
- 'progress-bar' : docs.ProgressBar,
16
- 'label' : docs.Label,
17
- 'box' : docs.Box,
18
- 'box-prepend' : docs.BoxPrepend,
19
- 'button' : docs.Button,
20
- 'dropdown' : docs.Dropdown,
21
- 'item' : docs.Item,
22
- 'paned' : docs.Paned,
23
- 'grid' : docs.Grid,
24
- 'cell' : docs.Cell,
25
- 'frame' : docs.Frame,
26
- 'frame-label' : docs.FrameLabel,
27
- 'link' : docs.LinkButton,
28
- 'switch' : docs.Switch,
29
- 'picture' : docs.Picture
15
+ 'progress-bar' : docs.ProgressBar,
16
+ 'label' : docs.Label,
17
+ 'box' : docs.Box,
18
+ 'box-prepend' : docs.BoxPrepend,
19
+ 'button' : docs.Button,
20
+ 'dropdown' : docs.Dropdown,
21
+ 'item' : docs.Item,
22
+ 'paned' : docs.Paned,
23
+ 'grid' : docs.Grid,
24
+ 'cell' : docs.Cell,
25
+ 'frame' : docs.Frame,
26
+ 'frame-label' : docs.FrameLabel,
27
+ 'link' : docs.LinkButton,
28
+ 'switch' : docs.Switch,
29
+ 'picture' : docs.Picture,
30
+ 'separator' : docs.Separator,
31
+ 'scrolled-window' : docs.ScrolledWindow
30
32
  }
31
33
 
32
34
  class GtkStreamXMLHandler(sax.ContentHandler):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gtk-stream
3
- Version: 0.4
3
+ Version: 0.5
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://coiffiem.gricad-pages.univ-grenoble-alpes.fr/gtk-stream/
@@ -22,5 +22,7 @@ gtk_stream/documents/classes/Label.py
22
22
  gtk_stream/documents/classes/Paned.py
23
23
  gtk_stream/documents/classes/Picture.py
24
24
  gtk_stream/documents/classes/ProgressBar.py
25
+ gtk_stream/documents/classes/ScrolledWindow.py
26
+ gtk_stream/documents/classes/Separator.py
25
27
  gtk_stream/documents/classes/Switch.py
26
28
  gtk_stream/documents/classes/__init__.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gtk-stream"
7
- version = "0.4"
7
+ version = "0.5"
8
8
  description = "A simple stream-oriented GUI protocol"
9
9
  authors = [
10
10
  { name = "Marc Coiffier", email = "marc.coiffier@univ-grenoble-alpes.fr" }
@@ -1,14 +0,0 @@
1
- from .classes.Document import Document, PseudoDocument
2
-
3
- from .classes.Label import Label
4
- from .classes.Picture import Picture
5
- from .classes.ProgressBar import ProgressBar
6
-
7
- from .classes.Button import Button, LinkButton
8
- from .classes.Dropdown import Dropdown, Item
9
- from .classes.Switch import Switch
10
-
11
- from .classes.Box import Box, BoxPrepend
12
- from .classes.Paned import Paned
13
- from .classes.Frame import Frame, FrameLabel
14
- from .classes.Grid import Grid, Cell
File without changes
File without changes