MCPcopy Index your code
hub / github.com/rawpython/remi / redefine_grid

Method redefine_grid

examples/grid_layout_app.py:59–65  ·  view source on GitHub ↗
(self, emitter, container)

Source from the content-addressed store, hash-verified

57 return main_container
58
59 def redefine_grid(self, emitter, container):
60 #redefining grid layout
61 container.define_grid([ ['text','label','button'],['text','.','.']])
62 container.style.update({'grid-template-columns':'33% 33% 33%', 'grid-template-rows':'50% 50%'})
63 container.set_column_gap("0%")
64 container.set_row_gap("0%")
65 emitter.set_text("Done")
66
67
68if __name__ == "__main__":

Callers

nothing calls this directly

Calls 5

define_gridMethod · 0.80
set_column_gapMethod · 0.80
set_row_gapMethod · 0.80
updateMethod · 0.45
set_textMethod · 0.45

Tested by

no test coverage detected