Skip to content

Commit

Permalink
Update transparency description in all gadget doc strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Oct 15, 2023
1 parent 34ecd18 commit be71d42
Show file tree
Hide file tree
Showing 38 changed files with 52 additions and 52 deletions.
4 changes: 2 additions & 2 deletions batgrl/gadgets/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/bar_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/box_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/braille_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/braille_video_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/color_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/data_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/digital_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/file_chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/flat_toggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/gadget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/graphic_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/grid_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/line_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions batgrl/gadgets/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/parallax.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/raycaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/scroll_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/shadow_caster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/sparkline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/split_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/text_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/text_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/text_pad.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/textbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions batgrl/gadgets/tiled_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion batgrl/gadgets/toggle_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading

0 comments on commit be71d42

Please sign in to comment.