elsie
3.3
▾ elsie
▾ boxtree
▸ box
▸ boxitem
▸ boxmixin
▾ layout
class
Layout
▸ lazy
▸ value
▸ ext
▸ render
▸ shapes
▸ slides
▸ text
▸ utils
▸ version
Class Layout
elsie
.
boxtree
.
layout
.
Layout
Declaration
class
Layout
source
link
Methods
▶
def
__init__
(
self, x, y, width, height, p_left=0, p_right=0, p_top=0, p_bottom=0, ...
)
def
__init__(
self
,
x,
y,
width,
height,
p_left=
0
,
p_right=
0
,
p_top=
0
,
p_bottom=
0
,
horizontal=
False
,
)
source
link
▶
def
add
(
self, x=None, y=None, width=None, height=None, p_left=None, p_right=None, ...
)
def
add(
self
,
x=
None
,
y=
None
,
width=
None
,
height=
None
,
p_left=
None
,
p_right=
None
,
p_top=
None
,
p_bottom=
None
,
p_x=
None
,
p_y=
None
,
padding=
None
,
horizontal=
False
,
prepend=
False
,
)
source
link
▷
def
add_callback
(
self, callback
)
source
link
▷
def
compute_size_request
(
self
)
source
link
▷
def
ensure_height
(
self, height
)
source
link
▷
def
ensure_width
(
self, width
)
source
link
▷
def
is_managed
(
self, horizontal
)
source
link
▷
def
managed_children
(
self
)
source
link
▷
def
min_children_size
(
self
)
source
link
▷
def
point
(
self, x, y
)
Creates a point relative to the box.
source
link
▷
def
set_image_size_request
(
self, image_width, image_height
)
source
link
▷
def
set_rect
(
self, rect
)
source
link
▷
def
x
(
self, value
)
Creates position on x-axis relative to the box.
source
link
▷
def
y
(
self, value
)
Creates position on y-axis relative to the box.
source
link
Reexports
Imported in
elsie.slides.slide
.
Generated by
nedoc
v0.10 at 2022-02-05 18:22