Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5074 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
2841
0
thg 5 21
4487
0
thg 10 24
1210
1
thg 5 22
3384
3
thg 7 20
9854