under linux how create buttons and others widgets?

Linux specific questions.
Post Reply
ptitjoz
Posts: 32
Joined: Jun 24, 2017 8:10
Location: France, centre
Contact:

under linux how create buttons and others widgets?

Post by ptitjoz »

Hello everyone
under Linux 64 bits (derived from Debian) is it possible to create buttons, drop-down menus, checkboxes, etc? widgets? gtk? do you have any examples?

[Edit] for example Lazarus offers tools to make this type of application:

Image

Thanks in advance
Regards
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: under linux how create buttons and others widgets?

Post by Xusinboy Bekchanov »

ptitjoz wrote: Jun 20, 2023 8:10 Hello everyone
under Linux 64 bits (derived from Debian) is it possible to create buttons, drop-down menus, checkboxes, etc? widgets? gtk? do you have any examples?

[Edit] for example Lazarus offers tools to make this type of application:

Image

Thanks in advance
Regards
Under Linux you can use the following designers: wxFBE, VisualFBEditor.

In other IDEs, you can create without a designer or with third-party designers: Geany, poseidonFB, IUP_FB_EDITOR, cedit.

You can create buttons using the GTK, IUP, FLTK and other libraries. Here is the complete list: viewtopic.php?t=28510
Last edited by Xusinboy Bekchanov on Jun 20, 2023 9:47, edited 1 time in total.
Xusinboy Bekchanov
Posts: 791
Joined: Jul 26, 2018 18:28

Re: under linux how create buttons and others widgets?

Post by Xusinboy Bekchanov »

There is also GladeToBac (Glade to FreeBasic code sketcher):
viewtopic.php?t=17938
angros47
Posts: 2326
Joined: Jun 21, 2005 19:04

Re: under linux how create buttons and others widgets?

Post by angros47 »

Of course it is possible

I have just ported the FLTK headers, that allow to use the OOP interface: https://github.com/angros47/FLTK-headers-for-FreeBasic
ptitjoz
Posts: 32
Joined: Jun 24, 2017 8:10
Location: France, centre
Contact:

Re: under linux how create buttons and others widgets?

Post by ptitjoz »

Thanks to everyone for your advice. That's nice of you.
I installed fltk and it works.
I will be able to move forward on my projects!

I often get some error messages... but I don't know if it's a problem
Best regards.


Here is a return of what I get :

Image
marcov
Posts: 3462
Joined: Jun 16, 2005 9:45
Location: Netherlands
Contact:

Re: under linux how create buttons and others widgets?

Post by marcov »

Note that Lazarus itself is based on either QT or GTK under Linux. (usually distros ship GTK, but most application developers use QT due to better stability)
Post Reply