Skip to content

Widgets #26

Open
Open
@colinjbrown

Description

@colinjbrown

From @dakoop on June 28, 2018 20:8

After playing around with ipywidgets, I have some thoughts on making them work with dfkernel.

  1. Widgets should be shown with labels like other outputs (need to redo the widget-specific output area stuff to show the tag), not sure if having them be execute_results or display_datas is a big deal
  2. A widget's value should be referenced just using the the name of that widget, x not x.value as is currently done. Any needs for things like links, jslinks, etc. can be done with some type of widget() call or something.
  3. Every widget should have an observer that triggers execution if necessary. Users should also be able to use an interact_manual analog so that execution is only triggered when a button is clicked
  4. Downstream use of a widget's value is then as simple as y = x + 4

Copied from original issue: colinjbrown/dfkernel#42

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions