跳至內容
選單
此問題已被標幟
1 回覆
4953 瀏覽次數

I have a selection widget with several items that happen to be names of different models, on selecting a model, I want to trigger an act_window based on that model so how can we trigger an action from on_change function?

As far as I'm aware, it only reads "value", "domain" and "warning". I want similar functionality to a button "type=object" where we can simply return the action and everything works fine but I'm having no luck reproducing this from an on_change method.

頭像
捨棄
最佳答案

Hi,

this is not possible in an on_change function.

Bye

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 22
2695
0
5月 21
4328
0
10月 24
1084
1
5月 22
3213
3
7月 20
9576