# Custom widget in IJulia / Interact.jl?

**URL:** <https://discourse.julialang.org/t/custom-widget-in-ijulia-interact-jl/3578>\
**Category:** General Usage\
**Tags:** jupyter\
**Created:** [May 7, 2017, 4:09pm UTC](https://discourse.julialang.org/t/custom-widget-in-ijulia-interact-jl/3578 "2017-05-07T16:09:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![izaid](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@izaid](https://discourse.julialang.org/u/izaid)\
**Post date:** [May 7, 2017, 4:09pm UTC](https://discourse.julialang.org/t/custom-widget-in-ijulia-interact-jl/3578/1 "2017-05-07T16:09:05Z")

</div>

I’m just wondering if it is possible to define a custom widget in IJulia. In Python, this is possible with ipywidgets and, specifically, the widget cookiecutter template – see [https://github.com/jupyter-widgets/widget-cookiecutter](https://github.com/jupyter-widgets/widget-cookiecutter).

Has any tried to do this in Julia?

---

<div class="post-metadata">

**Author:** ![ssfrr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssfrr/32/3736_2.png) [@ssfrr](https://discourse.julialang.org/u/ssfrr)\
**Post date:** [May 7, 2017, 11:17pm UTC](https://discourse.julialang.org/t/custom-widget-in-ijulia-interact-jl/3578/2 "2017-05-07T23:17:05Z")

</div>

I’ve added a custom[display widget for waveform display](https://github.com/juliaaudio/sampledsignals.jl#jupyter-notebook-display) just by outputing HTML and javascript in the [`show` method](https://github.com/JuliaAudio/SampledSignals.jl/blob/master/src/WAVDisplay.jl#L22-L116) for MIME type `text/html`.
