diff --git a/batgrl/gadgets/animation.py b/batgrl/gadgets/animation.py index 975c5f04..bb380ec9 100644 --- a/batgrl/gadgets/animation.py +++ b/batgrl/gadgets/animation.py @@ -81,8 +81,8 @@ class Animation(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/bar_chart.py b/batgrl/gadgets/bar_chart.py index 8a82e1b1..06e99348 100644 --- a/batgrl/gadgets/bar_chart.py +++ b/batgrl/gadgets/bar_chart.py @@ -80,7 +80,7 @@ class BarChart(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/box_image.py b/batgrl/gadgets/box_image.py index 15dfaa75..e55fa7d4 100644 --- a/batgrl/gadgets/box_image.py +++ b/batgrl/gadgets/box_image.py @@ -52,7 +52,7 @@ class BoxImage(Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/braille_image.py b/batgrl/gadgets/braille_image.py index 97cebf5a..860f10ae 100644 --- a/batgrl/gadgets/braille_image.py +++ b/batgrl/gadgets/braille_image.py @@ -52,7 +52,7 @@ class BrailleImage(Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/braille_video_player.py b/batgrl/gadgets/braille_video_player.py index 1f164930..b230fb14 100644 --- a/batgrl/gadgets/braille_video_player.py +++ b/batgrl/gadgets/braille_video_player.py @@ -69,7 +69,7 @@ class BrailleVideoPlayer(Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/button.py b/batgrl/gadgets/button.py index d2c5374f..d7b4f970 100644 --- a/batgrl/gadgets/button.py +++ b/batgrl/gadgets/button.py @@ -44,7 +44,7 @@ class Button(Themable, ButtonBehavior, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/color_picker.py b/batgrl/gadgets/color_picker.py index 49446984..b427bb3f 100644 --- a/batgrl/gadgets/color_picker.py +++ b/batgrl/gadgets/color_picker.py @@ -164,7 +164,7 @@ class ColorPicker(Themable, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/console.py b/batgrl/gadgets/console.py index 5db61859..2988a579 100644 --- a/batgrl/gadgets/console.py +++ b/batgrl/gadgets/console.py @@ -243,7 +243,7 @@ class Console(Themable, Focusable, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/data_table.py b/batgrl/gadgets/data_table.py index 84095561..a5926e79 100644 --- a/batgrl/gadgets/data_table.py +++ b/batgrl/gadgets/data_table.py @@ -372,7 +372,7 @@ class DataTable(Themable, ScrollView): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/digital_display.py b/batgrl/gadgets/digital_display.py index 02a4508c..6f8637e8 100644 --- a/batgrl/gadgets/digital_display.py +++ b/batgrl/gadgets/digital_display.py @@ -165,7 +165,7 @@ class DigitalDisplay(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/file_chooser.py b/batgrl/gadgets/file_chooser.py index 7efb7dcd..900cdbea 100644 --- a/batgrl/gadgets/file_chooser.py +++ b/batgrl/gadgets/file_chooser.py @@ -241,7 +241,7 @@ class FileChooser(Themable, ScrollView): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/flat_toggle.py b/batgrl/gadgets/flat_toggle.py index cfab13f9..ee399fe0 100644 --- a/batgrl/gadgets/flat_toggle.py +++ b/batgrl/gadgets/flat_toggle.py @@ -133,7 +133,7 @@ class FlatToggle(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/gadget.py b/batgrl/gadgets/gadget.py index e121a0ba..210e6a01 100644 --- a/batgrl/gadgets/gadget.py +++ b/batgrl/gadgets/gadget.py @@ -484,7 +484,7 @@ class Gadget: pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/graphic_field.py b/batgrl/gadgets/graphic_field.py index e140285a..1cd2c79d 100644 --- a/batgrl/gadgets/graphic_field.py +++ b/batgrl/gadgets/graphic_field.py @@ -61,8 +61,8 @@ class GraphicParticleField(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/graphics.py b/batgrl/gadgets/graphics.py index 3ab6b5e7..274afd68 100644 --- a/batgrl/gadgets/graphics.py +++ b/batgrl/gadgets/graphics.py @@ -75,8 +75,8 @@ class Graphics(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/grid_layout.py b/batgrl/gadgets/grid_layout.py index 37a30a76..91005a24 100644 --- a/batgrl/gadgets/grid_layout.py +++ b/batgrl/gadgets/grid_layout.py @@ -94,7 +94,7 @@ class GridLayout(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/image.py b/batgrl/gadgets/image.py index 1f480b40..2076d0b7 100644 --- a/batgrl/gadgets/image.py +++ b/batgrl/gadgets/image.py @@ -56,8 +56,8 @@ class Image(Graphics): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/line_plot.py b/batgrl/gadgets/line_plot.py index e0bf0437..6a48ccd7 100644 --- a/batgrl/gadgets/line_plot.py +++ b/batgrl/gadgets/line_plot.py @@ -128,7 +128,7 @@ class LinePlot(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/menu.py b/batgrl/gadgets/menu.py index 71724e80..32cd808f 100644 --- a/batgrl/gadgets/menu.py +++ b/batgrl/gadgets/menu.py @@ -84,7 +84,7 @@ class MenuItem(Themable, ToggleButtonBehavior, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. @@ -423,7 +423,7 @@ class Menu(GridLayout): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. @@ -927,7 +927,7 @@ class MenuBar(GridLayout): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/parallax.py b/batgrl/gadgets/parallax.py index 54102dab..47e9b581 100644 --- a/batgrl/gadgets/parallax.py +++ b/batgrl/gadgets/parallax.py @@ -78,8 +78,8 @@ class Parallax(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/progress_bar.py b/batgrl/gadgets/progress_bar.py index db43f723..e7193fd2 100644 --- a/batgrl/gadgets/progress_bar.py +++ b/batgrl/gadgets/progress_bar.py @@ -57,7 +57,7 @@ class ProgressBar(Themable, Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/raycaster.py b/batgrl/gadgets/raycaster.py index 952d599a..5e621958 100644 --- a/batgrl/gadgets/raycaster.py +++ b/batgrl/gadgets/raycaster.py @@ -170,8 +170,8 @@ class Raycaster(Graphics): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/scroll_view.py b/batgrl/gadgets/scroll_view.py index ae942499..f7c5be18 100644 --- a/batgrl/gadgets/scroll_view.py +++ b/batgrl/gadgets/scroll_view.py @@ -252,7 +252,7 @@ class ScrollView(Grabbable, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/shadow_caster.py b/batgrl/gadgets/shadow_caster.py index a19644a0..9c9e9216 100644 --- a/batgrl/gadgets/shadow_caster.py +++ b/batgrl/gadgets/shadow_caster.py @@ -209,8 +209,8 @@ class ShadowCaster(Graphics): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/slider.py b/batgrl/gadgets/slider.py index 0d7af522..65b64818 100644 --- a/batgrl/gadgets/slider.py +++ b/batgrl/gadgets/slider.py @@ -79,7 +79,7 @@ class Slider(Grabbable, Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/sparkline.py b/batgrl/gadgets/sparkline.py index fec8a90f..16032c1f 100644 --- a/batgrl/gadgets/sparkline.py +++ b/batgrl/gadgets/sparkline.py @@ -80,7 +80,7 @@ class Sparkline(Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/split_layout.py b/batgrl/gadgets/split_layout.py index a6cd5462..4193f2bc 100644 --- a/batgrl/gadgets/split_layout.py +++ b/batgrl/gadgets/split_layout.py @@ -95,7 +95,7 @@ class HSplitLayout(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. @@ -357,7 +357,7 @@ class VSplitLayout(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/tabs.py b/batgrl/gadgets/tabs.py index 0b11e8e0..8597f814 100644 --- a/batgrl/gadgets/tabs.py +++ b/batgrl/gadgets/tabs.py @@ -97,7 +97,7 @@ class Tabs(Themable, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/text.py b/batgrl/gadgets/text.py index e53d19af..8d2ead12 100644 --- a/batgrl/gadgets/text.py +++ b/batgrl/gadgets/text.py @@ -86,7 +86,7 @@ class Text(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/text_animation.py b/batgrl/gadgets/text_animation.py index c9929fce..811cfe5b 100644 --- a/batgrl/gadgets/text_animation.py +++ b/batgrl/gadgets/text_animation.py @@ -58,7 +58,7 @@ class TextAnimation(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/text_field.py b/batgrl/gadgets/text_field.py index e7580c59..e65b5bce 100644 --- a/batgrl/gadgets/text_field.py +++ b/batgrl/gadgets/text_field.py @@ -62,7 +62,7 @@ class TextParticleField(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/text_pad.py b/batgrl/gadgets/text_pad.py index b7348ac0..40601f5c 100644 --- a/batgrl/gadgets/text_pad.py +++ b/batgrl/gadgets/text_pad.py @@ -82,7 +82,7 @@ class TextPad(Themable, Focusable, ScrollView): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/textbox.py b/batgrl/gadgets/textbox.py index f08cfb90..9180e294 100644 --- a/batgrl/gadgets/textbox.py +++ b/batgrl/gadgets/textbox.py @@ -72,7 +72,7 @@ class Textbox(Themable, Focusable, Grabbable, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/tiled_image.py b/batgrl/gadgets/tiled_image.py index ad8e0d39..98644fc4 100644 --- a/batgrl/gadgets/tiled_image.py +++ b/batgrl/gadgets/tiled_image.py @@ -53,8 +53,8 @@ class TiledImage(Graphics): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: True - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/toggle_button.py b/batgrl/gadgets/toggle_button.py index f8aa9c2a..d03b014b 100644 --- a/batgrl/gadgets/toggle_button.py +++ b/batgrl/gadgets/toggle_button.py @@ -65,7 +65,7 @@ class ToggleButton(Themable, ToggleButtonBehavior, Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/tree_view.py b/batgrl/gadgets/tree_view.py index 0df35201..af9d92ac 100644 --- a/batgrl/gadgets/tree_view.py +++ b/batgrl/gadgets/tree_view.py @@ -47,7 +47,7 @@ class TreeViewNode(Themable, ButtonBehavior, Text): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. @@ -378,7 +378,7 @@ class TreeView(Gadget): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - Whether :attr:`background_char` and :attr:`background_color_pair` are painted. + A transparent gadget allows regions beneath it to be painted. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/video_player.py b/batgrl/gadgets/video_player.py index d42a9b78..04ad9c7d 100644 --- a/batgrl/gadgets/video_player.py +++ b/batgrl/gadgets/video_player.py @@ -64,8 +64,8 @@ class VideoPlayer(Graphics): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible. diff --git a/batgrl/gadgets/window.py b/batgrl/gadgets/window.py index 7975552e..584c6a40 100644 --- a/batgrl/gadgets/window.py +++ b/batgrl/gadgets/window.py @@ -94,8 +94,8 @@ class Window(Themable, Focusable, Resizable, Graphics): pos_hint : PosHint | PosHintDict | None , default: None Position as a proportion of parent's height and width. is_transparent : bool, default: False - If true, gadget is rendered with alpha compositing; otherwise, alpha values are - ignored. + A transparent gadget allows regions beneath it to be painted. Additionally, + non-transparent graphic gadgets are not alpha composited. is_visible : bool, default: True Whether gadget is visible. Gadget will still receive input events if not visible.