Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4938 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

this is not possible in an on_change function.

Bye

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 22
2689
0
thg 5 21
4320
0
thg 10 24
1072
1
thg 5 22
3191
3
thg 7 20
9565