Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

get active item in a card layout

is there a way to get the active item of a card layout panel?

I used to use it until the last update [ today ]. after update it just stopped !!

is there any other way to check which panel/card is activated ?

like image 253
Noon Avatar asked Dec 22 '25 00:12

Noon


1 Answers

panel.getLayout().getActiveItem() is the method to use.

Here's the documentation

That is the recommended method. You don't need to look for alternatives.

like image 85
Varun Achar Avatar answered Dec 24 '25 12:12

Varun Achar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!