linux4sam / egt

Ensemble Graphics Toolkit - Modern C++ GUI Toolkit for AT91/SAMA5 Microprocessors
https://ensemble.graphics
Apache License 2.0
63 stars 25 forks source link

EGT progress bar can't be shown #14

Closed NelsonKon closed 3 years ago

NelsonKon commented 3 years ago

Hi, Is there any example of how to show out the progress of a process using progressbar?

I tried to do this

adcch6_btn->on_click(adcch6_progress { adcch6_progress->show(); ret = iio_adc_settings();

});

My progress bar just doesn't appear. I need to comment out ret = iio_adc_settings();, then only it'll appear.

Does it have to do with event? Looks like the UI thread is stuck For Visual C++, we can use application.doevent(). But is there similar function in EGT?

ldesroches commented 3 years ago

Hi Nelson,

Please stop use issues as a way to request help about how to use EGT and general topics as C++ and Linux. We want to keep this channel for bugs. When it comes about using EGT, please use the EGT forum: https://www.microchip.com/forums/f551.aspx.

I am aware you have some troubles with the forum. Let see if we can fix this.

Regards