Re: Which GUI toolkit should I learn so that I can "Hack the UI"

2024-05-06 Thread Pierre Vacher
I have extensions which display dialog windows in LibreOffice and which use
neither GTK nor QT but only the UNO API.

see: https://prrvchr.github.io/

One of the advantages is that the UNO API allows me to manage all my
dialogs in Python...

Le lundi 6 mai 2024, Michael Weghorn  a écrit :
> On 2024-05-03 19:15, Printf Debugging wrote:
>>
>> **Opinions invited**: I want to work on the UI, beyond small issues,
like creating custom widgets, notebookbar, tabbed UI etc. I feel that I
need to know a GUI toolkit well, like gtk or qt for that. So some days ago,
I started playing around with GTK. My question is that which toolkit will
be more useful? I picked GTK because we use .ui files for the UI, and being
good at GTK will somehow help when working on LO UI, but again I don't
know, that's just an idea.
>
> Starting with GTK generally sounds reasonable to me.
> Concepts are usually very similar in other toolkits (like Qt), so
learning GTK will also help understanding those better.
>
> In any case, I recommend explicitly testing the non-GTK case when doing
UI changes (with SAL_USE_VCLPLUGIN=gen and qt5/qt6/kf5/kf6 on Linux or by
testing on a different platform).
>


Re: Which GUI toolkit should I learn so that I can "Hack the UI"

2024-05-06 Thread Michael Weghorn

On 2024-05-03 19:15, Printf Debugging wrote:
**Opinions invited**: I want to work on the UI, beyond small issues, 
like creating custom widgets, notebookbar, tabbed UI etc. I feel that I 
need to know a GUI toolkit well, like gtk or qt for that. So some days 
ago, I started playing around with GTK. My question is that which 
toolkit will be more useful? I picked GTK because we use .ui files for 
the UI, and being good at GTK will somehow help when working on LO UI, 
but again I don't know, that's just an idea.


Starting with GTK generally sounds reasonable to me.
Concepts are usually very similar in other toolkits (like Qt), so 
learning GTK will also help understanding those better.


In any case, I recommend explicitly testing the non-GTK case when doing 
UI changes (with SAL_USE_VCLPLUGIN=gen and qt5/qt6/kf5/kf6 on Linux or 
by testing on a different platform).


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Which GUI toolkit should I learn so that I can "Hack the UI"

2024-05-06 Thread Miklos Vajna
Hi,

On Fri, May 03, 2024 at 10:45:01PM +0530, Printf Debugging 
 wrote:
> **Opinions invited**: I want to work on the UI, beyond small issues, like
> creating custom widgets, notebookbar, tabbed UI etc. I feel that I need to
> know a GUI toolkit well, like gtk or qt for that. So some days ago, I
> started playing around with GTK. My question is that which toolkit will be
> more useful? I picked GTK because we use .ui files for the UI, and being
> good at GTK will somehow help when working on LO UI, but again I don't know,
> that's just an idea.

gtk is probably a good idea, given that these days much of the UI is
welded and the LO weld API is designed after gtk.

Regards,

Miklos