yab | yet another Basic for HAIKU
Visual editor for Yab widgets - Printable Version

+- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum)
+-- Forum: General discussion (https://yab.orgfree.com/forum/forumdisplay.php?fid=8)
+--- Forum: yab stuff (https://yab.orgfree.com/forum/forumdisplay.php?fid=10)
+--- Thread: Visual editor for Yab widgets (/showthread.php?tid=142)



Visual editor for Yab widgets - rhun - 07-04-2022

Hello,

Is there a program for YAB in which you can visually create GUI?
I create such an app for myself  but maybe it is already IDE/visual editor Big Grin .


RE: Visual editor for Yab widgets - bbjimmy - 07-04-2022

As in drag a wiget on to a view in the editor and save code that duplicates this? There is no "visual" editor that I am aware of. It might be a good project to work on.


RE: Visual editor for Yab widgets - rhun - 07-05-2022

Just like Visual Basic with a basic widgets code generator.
These are my beginnings in Yab and I have a first problem. Is it possible to refresh the window after changing the position of the widget? A similar feature to draw flush?


RE: Visual editor for Yab widgets - bbjimmy - 07-06-2022

The window is not what needs to be refreshed. The main view can be removed and re-added with the new configuration. this effectively flushes the window and re-draws everything. there are restrictions to this.

VIEW REMOVE View$

Description:
Remove View$. The window view cannot be removed. Should be much more stable now.
Warning: Currently clears all internal information about menues and drop boxes. It is only safe to use it, when you don't have any menues or drop boxes on views that will not be removed.

Warning:

Never remove menus with shortcuts, otherwise yab will crash when the shortcut key is pressed!


RE: Visual editor for Yab widgets - rhun - 07-10-2022

Thank you! View works as I expected and I already have the first working version ot the editor.
Pre, pre-alpha  Wink 

Image


RE: Visual editor for Yab widgets - _-Caleb-_ - 11-09-2023

(07-10-2022, 04:51 PM)rhun Wrote: Thank you! View works as I expected and I already have the first working version ot the editor.
Pre, pre-alpha  Wink 

Image

Hi!!

Can we download from anywhere?? :-)

Regards!


Free Web Hosting