Skip to main content
added 30 characters in body
Source Link

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the windowcell displaying panel generated with Manipulate. I have been trying other options without results, there is a way to print inside the windowcell displaying panel like an output text while you change the option of the popup menu?

Manipulate[
  ActionMenu["Text", 
    {"a" :> Print["a"], b :> Print["b"], c :> Print["c"],d :> Print["d"]}]]

With another example I tried to use Dynamic Panel with the same result.

Manipulate[
  Dynamic @ 
    Panel[
      ActionMenu["Text", 
        {"a" :> Print["a"], b :> Print["b"], c :> Print["c"], d :> Print["d"]}]]]

enter image description here

I need something like (I used "Paint" to do this idea):

enter image description here

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the window generated with Manipulate. I have been trying other options without results, there is a way to print inside the window like an output text while you change the option of the popup menu?

Manipulate[
  ActionMenu["Text", 
    {"a" :> Print["a"], b :> Print["b"], c :> Print["c"],d :> Print["d"]}]]

With another example I tried to use Dynamic Panel with the same result.

Manipulate[
  Dynamic @ 
    Panel[
      ActionMenu["Text", 
        {"a" :> Print["a"], b :> Print["b"], c :> Print["c"], d :> Print["d"]}]]]

enter image description here

I need something like (I used "Paint" to do this idea):

enter image description here

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the cell displaying panel generated with Manipulate. I have been trying other options without results, there is a way to print inside the cell displaying panel like an output text while you change the option of the popup menu?

Manipulate[
  ActionMenu["Text", 
    {"a" :> Print["a"], b :> Print["b"], c :> Print["c"],d :> Print["d"]}]]

With another example I tried to use Dynamic Panel with the same result.

Manipulate[
  Dynamic @ 
    Panel[
      ActionMenu["Text", 
        {"a" :> Print["a"], b :> Print["b"], c :> Print["c"], d :> Print["d"]}]]]

enter image description here

I need something like (I used "Paint" to do this idea):

enter image description here

added 135 characters in body
Source Link

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the window generated with Manipulate. I have been trying other options without results, there is a way to print inside the window like an output text while you change the option of the popup menu?

Manipulate[
  ActionMenu["Text", 
    {"a" :> Print["a"], b :> Print["b"], c :> Print["c"],d :> Print["d"]}]]

With another example I tried to use Dynamic Panel with the same result.

Manipulate[
  Dynamic @ 
    Panel[
      ActionMenu["Text", 
        {"a" :> Print["a"], b :> Print["b"], c :> Print["c"], d :> Print["d"]}]]]

enter image description here

I need something like (I used "Paint" to do this idea):

enter image description here

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the window generated with Manipulate. I have been trying other options without results, there is a way to print inside the window like an output text while you change the option of the popup menu?

Manipulate[
  ActionMenu["Text", 
    {"a" :> Print["a"], b :> Print["b"], c :> Print["c"],d :> Print["d"]}]]

With another example I tried to use Dynamic Panel with the same result.

Manipulate[
  Dynamic @ 
    Panel[
      ActionMenu["Text", 
        {"a" :> Print["a"], b :> Print["b"], c :> Print["c"], d :> Print["d"]}]]]

enter image description here

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the window generated with Manipulate. I have been trying other options without results, there is a way to print inside the window like an output text while you change the option of the popup menu?

Manipulate[
  ActionMenu["Text", 
    {"a" :> Print["a"], b :> Print["b"], c :> Print["c"],d :> Print["d"]}]]

With another example I tried to use Dynamic Panel with the same result.

Manipulate[
  Dynamic @ 
    Panel[
      ActionMenu["Text", 
        {"a" :> Print["a"], b :> Print["b"], c :> Print["c"], d :> Print["d"]}]]]

enter image description here

I need something like (I used "Paint" to do this idea):

enter image description here

edited title
Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

Menu object in a notebook that will print text in a new cell

added 50 characters in body; edited tags; edited title
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259
Loading
Source Link
Loading