carbonkivy.uix.modal
Submodules
Attributes
Classes
Implements the creation and addition of child widgets as declarative |
|
Stack layout class. See module documentation for more information. |
|
Implements the creation and addition of child widgets as declarative |
|
This mixin class provides |
|
Stack layout class. See module documentation for more information. |
|
Stack layout class. See module documentation for more information. |
|
Implements the creation and addition of child widgets as declarative |
|
Implements the creation and addition of child widgets as declarative |
|
Box layout class. See module documentation for more information. |
Package Contents
- carbonkivy.uix.modal.UIX[source]
- class carbonkivy.uix.modal.CModal(**kwargs)[source]
Bases:
carbonkivy.behaviors.AdaptiveBehavior,carbonkivy.behaviors.DeclarativeBehavior,kivy.uix.modalview.ModalViewImplements the creation and addition of child widgets as declarative programming style.
- add_widget(widget: kivy.uix.widget.Widget, *args, **kwargs)[source]
Add a new widget as a child of this widget.
- Parameters:
- widget:
Widget Widget to add to our list of children.
- index: int, defaults to 0
Index to insert the widget in the list. Notice that the default of 0 means the widget is inserted at the beginning of the list and will thus be drawn on top of other sibling widgets. For a full discussion of the index and widget hierarchy, please see the Widgets Programming Guide.
Added in version 1.0.5.
- canvas: str, defaults to None
Canvas to add widget’s canvas to. Can be ‘before’, ‘after’ or None for the default canvas.
Added in version 1.9.0.
- widget:
>>> from kivy.uix.button import Button >>> from kivy.uix.slider import Slider >>> root = Widget() >>> root.add_widget(Button()) >>> slider = Slider() >>> root.add_widget(slider)
- remove_widget(widget, *args, **kwargs)[source]
Remove a widget from the children of this widget.
- Parameters:
- widget:
Widget Widget to remove from our children list.
- widget:
>>> from kivy.uix.button import Button >>> root = Widget() >>> button = Button() >>> root.add_widget(button) >>> root.remove_widget(button)
- class carbonkivy.uix.modal.CModalBody(*args, **kwargs)[source]
Bases:
carbonkivy.uix.stacklayout.CStackLayoutStack layout class. See module documentation for more information.
- class carbonkivy.uix.modal.CModalBodyContent(*args, **kwargs)[source]
Bases:
carbonkivy.uix.label.CLabelImplements the creation and addition of child widgets as declarative programming style.
- class carbonkivy.uix.modal.CModalCloseButton(**kwargs)[source]
Bases:
carbonkivy.uix.shell.UIShellButtonThis mixin class provides
Buttonbehavior. Please see thebutton behaviors moduledocumentation for more information.- Events:
- on_press
Fired when the button is pressed.
- on_release
Fired when the button is released (i.e. the touch/click that pressed the button goes away).
Bases:
carbonkivy.uix.stacklayout.CStackLayoutStack layout class. See module documentation for more information.
- class carbonkivy.uix.modal.CModalHeader(*args, **kwargs)[source]
Bases:
carbonkivy.uix.stacklayout.CStackLayoutStack layout class. See module documentation for more information.
- class carbonkivy.uix.modal.CModalHeaderLabel(*args, **kwargs)[source]
Bases:
carbonkivy.uix.label.CLabelImplements the creation and addition of child widgets as declarative programming style.
- class carbonkivy.uix.modal.CModalHeaderTitle(*args, **kwargs)[source]
Bases:
carbonkivy.uix.label.CLabelImplements the creation and addition of child widgets as declarative programming style.
- class carbonkivy.uix.modal.CModalLayout(*args, **kwargs)[source]
Bases:
carbonkivy.uix.boxlayout.CBoxLayoutBox layout class. See module documentation for more information.
- carbonkivy.uix.modal.filename[source]