MCPcopy
hub / github.com/flet-dev/flet / update

Method update

sdk/python/packages/flet/src/flet/controls/base_page.py:316–328  ·  view source on GitHub ↗

Push pending updates to the connected client. Args: *controls: Specific controls to update. When omitted, updates this page object.

(self, *controls: Control)

Source from the content-addressed store, hash-verified

314 return views[-1]
315
316 def update(self, *controls: Control) -> None:
317 """
318 Push pending updates to the connected client.
319
320 Args:
321 *controls: Specific controls to update. When omitted, updates this
322 page object.
323 """
324
325 if len(controls) == 0:
326 self.page.update(self)
327 else:
328 self.page.update(*controls)
329
330 def add(self, *controls: Control) -> None:
331 """

Callers 8

addMethod · 0.95
insertMethod · 0.95
removeMethod · 0.95
remove_atMethod · 0.95
cleanMethod · 0.95
show_dialogMethod · 0.45
pop_dialogMethod · 0.45
_remove_dialogMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected