|
Post by fragadelic on May 18, 2012 23:28:55 GMT 1
Is anyone interested in collaborating on a RAD GUI building tool for bacon/hug?
It would have to be written in bacon/hug like bacongui but include a gui building tool that would provide the code and show you a preview of the gui.
Something in the style of gambas would be very cool for bacon/hug.
Post here if you are interested and then we can decide if it is possible and how to accomplish it.
|
|
|
Post by SunBurnt on May 19, 2012 13:39:15 GMT 1
vovchik and I have discussed this.
Very interested of course, V.B. is the best dev. environment I`ve seen. I haven`t looked at Gambas yet, but I`ve been meaning to check it out. I don`t know that other folks have all that much time for a new project. But if a slow dev. process is accepted, I`m sure many will take part.
A grid is needed for the properties, but a list could work ( crudely ). Having fixed names for the event subs would be a good idea ( V.B. ).
V.B. "dot" style syntax is the easiest to understand and work with. [Window].[Control].(Property) = (Value) Window and Control are optionally needed, Property and Value always. The "=" really isn`t needed and is just more typing effort. Eliminate it... So like this: (Property) (Value)
I`ve written a simple parser for the dot syntax.
|
|
|
Post by alexfish on May 21, 2012 1:45:45 GMT 1
Very Interested: Would like to see BaCon/HUG progress to the next level
Have looked through most Post's and info Available.
As some Know the main problem with Linux is the Window Manager and the X server,But from what I have read,
All the bits and tricks are Available right here,
Just needs putting together.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 21, 2012 2:12:31 GMT 1
It may be easier to adapt Glade to generate BaCon/HUG code.
|
|
|
Post by alexfish on May 22, 2012 18:14:28 GMT 1
Using Gambas as is would be a better choice than Glade RE: examine the files at the structure A form + widgets :
# Gambas Form File 2.0
{ Form Form MoveScaled(0,0,138,82) Drop = True Text = ("") { ListBox1 ListBox MoveScaled(1,9,16,33) } { ListBox2 ListBox MoveScaled(18,9,16,31) } { TextBox1 TextBox MoveScaled(1,1,24,7) Text = ("TextBox1") } { TextBox2 TextBox MoveScaled(27,1,24,7) Text = ("TextBox2") } { Button1 Button MoveScaled(35,9,68,40) Text = ("Button1") } }
some code:
PUBLIC SUB Form_Open() ListBox1.Add("Andalucia") ListBox1.Add("Canarias") listbox1.add("Murcia") END Hug could be used to good advantage in regards developing a ui and need be of the complexity of the likes of Gambas and over come the disadvantages of glade , anyone tried Quickly python Here is a inkling of what to look for. Open up the Gambas ui place a widget on the form , examine carefully , visually what are you seeing Then also ask a question , why in a list box do you have to "code contents the listbox after placing the widget" if want a pre-listed gadget , Then possible realise how easy it could be to replicate the method using HUG/BaCon
something to ponder . What is a form
|
|
|
Post by alexfish on May 22, 2012 18:29:19 GMT 1
Have loaded something visual , done with Hug/Bacon , pick this method up from reading code snippets , there are two demo's , they are compile 32bit exec's , Sorry but there is a reason. may be worth looking at , can run from the terminal or just as gui , if wondering what to do, use the mouse, it may click into place Attachments:
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 22, 2012 19:22:54 GMT 1
If you are willing to go as far as using another Basic's IDE/Designer as a front end to BaCon/HUG, IUP is a much better front end to Gtk and a cross platform library. I'm just saying ...
|
|
|
Post by alexfish on May 22, 2012 19:47:30 GMT 1
@ jrs :I understand what you mean The OP's object is "Is anyone interested in collaborating on a RAD GUI building tool for bacon/hug?" Which relates to Developing a RAD tool for HUG/BaCon , but can understand why users may use other means of making Forms/windows yet in real terms, new user's could benefit better by reading some of what BigBass is posting rather than getting tangled up with using third party UI's , don't get me wrong , at present they have there uses , I do it my self. Within this forum and the two ideals of BaCon/HUG , there is a Unique opportunity to Progress a RAD tool for the said mentioned . Don't wish to elaborate on "Unique" because if these members pull it of , it Will Be Enjoy alexfish
|
|
|
Post by fragadelic on May 23, 2012 0:24:36 GMT 1
I am not a big fan of glade.
Gambas is OK but way too many deps for a serious project that is distributed.
A Gambas like RAD for Bacon/HUG would be ideal.
IUP is not a gui RAD. It seems to be just a wrapper similar to HUG so I don't see that as being easier than HUG, just different.
The gui rad I'm envisioning should let you place things on the gui workspace and then produce bacon/hug code for you in order to make it quicker to build the gui and see how things are going to look.
Kind of an extensions to the current bacongui that provides a building window.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 23, 2012 1:24:11 GMT 1
IUP has a built in GUI layout tool and debugger that generates C, Lua and it own format. more ...
|
|
aurel
Junior Member
SolarMM
Posts: 61
|
Post by aurel on May 23, 2012 10:28:07 GMT 1
From your perspective maybe ,IUP is just a wrapper., im not sure what HUG is ,but probably is a wrapper for GTK.
|
|
|
Post by fragadelic on May 23, 2012 13:13:39 GMT 1
I don't really care what IUP is or isn't. This thread has nothing to do with IUP. This thread is about building a gui RAD for bacon/hug. It is a simple thread. Post here if you are interested in collaborating on it and don't post if you aren't interested. I didn't ask about alternatives.
|
|
|
Post by vovchik on May 23, 2012 13:22:02 GMT 1
Dear fragadelic,
I am interested. Count me in:)
With kind regards, vovchik
|
|
|
Post by fragadelic on May 23, 2012 13:50:12 GMT 1
vovchik,
If we can get Pjot onboard then we can get things started as it would be a great addition to bacongui or a fork of bacongui that includes the RAD.
|
|
mobeus
Junior Member
Posts: 86
|
Post by mobeus on May 23, 2012 16:18:06 GMT 1
fragadelic,
Perhaps this post is a bit premature but having been involved in creating a WYSIWYG gui builder in years past (in Windows), I’d like to offer some food for thought.
Have you thought about how you intend to render the window & widgets being edited? Do you intend to use actual gtk windows and widgets or are you going to simulate it with drawn graphics? Will it be confined to a panel of your builder or separate on the desktop? Then there are the UI actions to consider. Resizing of widgets, dragging the widgets around to place them where desired, sizing handles, frame drag or widget drag, widget cut/copy/paste, a snap grid, widget & window properties pop-up or sidebar editor plus some individual property dialogs, refreshing of the rendered GUI after every change, a widget pallet, etc. What types of gtk widgets do you intend to support? All or only a subset? Dockable or fixed property & pallet panels, resizeable, split panes? Will the user be able to compile the gui from the editor to test it out?
If you determine all of this stuff before you begin it will save you some grief later on.
Regards and best wishes Mobeus
|
|