Re: GTK1.2,GNET,GlibC



On Sunday 30 November 2003 19:04, Rodrigo Moya wrote:

     I'm using GTK1.2 with KDE,I just start to create application(I want
to create GUI(Graphical User Interface) to create ad-hoc network in two
computers or more via bluetooth.The point that I want to ask is,what is
the thing that I should use? GNET or GlibC?what is the library or software
that more suitable and more properly to the thing that I just mentioned
above?(because I'm really a new developer and want the tool that have
more about coding examples and more documents)

gnet has the advantage that is supports win32 as well - so if you ever plan on 
porting your app to win32, you might give gnet a try. Not sure how many gnet 
apps are out there, but the reference is okay and the interface is pretty 
straight forward IMHO.

Why are you not using Gtk+2 (and gnet2), btw? 


you might want to look at libgnetwork
(http://ftp.gnome.org/pub/GNOME/sources/libgnetwork/), which is a
GObject-based library for networking. Since it uses GObject, it
integrates perfectly with your GTK app.

The only problem is that it needs Glib 2.0 (used by GTK 2.0), so you
might have to upgrade to GTK 2.0.

Pitty with libgnetwork is that (from what I've heard at least) it doesn't even 
attempt to target the win32 platform as well, which IMHO makes it a lot less 
ueful for Gtk applications where a win32 port is always a possibly at some 
point (as opposed to most gnome apps). 

The GObject-based libgnetwork interface looks pretty neat though - and for a 
*nix-only app I'd definitively go and use that. Also, gnet is a bit weak on 
the side of error reporting (it will only tell you that something went wrong, 
but never what went wrong).

Cheers
-Tim







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