how to draw border around a group
- From: Fred van Zwieten <fvzwieten gmail com>
- To: goocanvas-list <goocanvas-list gnome org>
- Subject: how to draw border around a group
- Date: Fri, 25 Aug 2017 10:09:39 +0200
Hi,
I want to draw a border around a group of images. There are several solutions I see:
1. Add a rect to the group using the bounds of the group for size
2. Using stroke-color
(1) works, but I cannot get (2) to work on a canvasGroup, although it is inherited from SimpleItem.
I do this:
image_group = GooCanvas.CanvasGroup(parent=root,stroke_color="blue")
But I don't see a thing. Do I need to repaint or something?
Are there other ways to do this?
- Fred
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]