[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [gtk-list] Widget factory



> What i want to do is to be able to create widgets themselves, not using
> widgets to create a GUI. So i will (if build ofcourse) be used to create
> GtkWidgets (or even GNOME widgets)

I know exactly what you are talking about, its like a Widget Wizard, its a 
good idea, I have not seen one available else I would be using it myself :). 
The need seems to be there I do see a lot of developers creating their own 
custom widgets despite the already availble widgets in the base Gtk+ library, 
in creating my own widgets I've had to copy and paste a lot of pre-existing 
code because of large amount of coding time involved. If I were to do it I 
would give the option to inherit from many diffrent available widgets at 
least the most signifigant ones like GtkWidget GtkBin GtkContainer GtkMisc, 
etc etc... In a minor way this program your thinking of could eventually be 
integrated into Glade, because at some point the lines between Glade and your 
Widget Wizzard start to blurr, especially in the area of GtkDialog, where at 
some point saving coding time would mean allowing users to select what 
widgets the GtkDialog is going to use.

BTW FYI GOB (as was mentioned earlier) is a preprocessor, you write code in 
GOBs java/yacc or lex like language, and it converts that code to C before 
the compiler users it. So its not a program that does what you are thinking, 
although it is similar, it is more a scripting method of producing the code, 
while yours is an GUI method of doing it.

Leyland



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]