[gtk-list] Re: Gtk/Gtk--; was: Unidentified subject!



rlau@csc.com wrote:
> 
> I tried VDK.  I some of the features are very much like Microsoft's MFC.
> For example, connecting signals and events to a particalur widget class is
> very much like mapping events to the CDocument class in MFC .  Also the
> class hiearchy is very much like MFC too ( actually more like ViewKit ).
> 

i can't stay  without say something about that, with absolutely no flamage
intention anyway.
The " like Microsoft$ MFC" assertion made me jump from my chair :-)
Absolutely no, vdk was inspired to Borland and to make borland's users 
feel at home even on linux field. Signal system has nothing to do with MFC
message mapping unless you think that using a similar macro syntax
means have same semantic.

> VDK also has some features that is very much like VB 5.0 or later 
> associating property with objects.  You can set and get properties of an object by 
> directly referencing them.  Of course, those are taken care of by overloaded
> operators.
> 

just to point out that borland had properties implemented well before vb

> However, some of  VDK classes do not have all the features that is
> supported by GTK.
> For example, there's no member function in VDKObject that allows you to
> modify the bitmap
> for a cursor - you can only changed the type of the cursor.
> 

this is a design choice since we renounced to wrap one-to-one gtk+ statement
and providing an easy access to underlying gtk+ widgets, we guess there is no
advantage to write gtk_widget_do_something(widget,something)  instead of
widget->do_something(something). In vdk you simply write:
gtk_widget_do_something(object->Widget(),something);

> So if you like those features, I think you should try VDK.
agreed

regards
/mario

--
Mario Motta
AI Research Group - Rimini
mmotta@guest.net
http://www.guest.net/homepages/mmotta/VDKHome/index.htm



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