glib and Xlib
Hello; What is *glib *adding that the GTK + compared to *Xlib *? All what is possible with glib with Xlib is feasible, then why create a new library. Best regards. -- EL Gonnouni Jaâfar. GSM : +21266682150. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
glade_xml_signal_autoconnect and user_data
Is glade_xml_signal_autoconnect()only used for callbacks that don't take user_data? If not, how can user_data be passed to a callback when using glade_xml_signal_autoconnect()? Thanks, Dave ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: glib and Xlib
Hi, I don't entirely understand your question. GLib and Xlib aren't really comparable. GLib is a utility library that adds hash tables, lists, IO abstraction, platform abstraction and also an object system used by GTK +. If I misunderstood, could you please elaborate a bit on what you meant? Cheers, Mikael Hallendal 6 jun 2008 kl. 00.38 skrev jaafar EL GONNOUNI: > Hello; > > What is glib adding that the GTK + compared to Xlib ? > > All what is possible with glib with Xlib is feasible, then why > create a new library. > > Best regards. > > -- > EL Gonnouni Jaâfar. > GSM : +21266682150. ___ > gtk-devel-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-devel-list -- Mikael Hallendal Imendio AB - Expert solutions in GTK+ http://www.imendio.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Finding coordinates and dimensions of check box
Hi, I need some help figuring out how to find the coordinates and dimensions of the checkbox of gtk_checkbox widget. What I mean is that I would like to know exactly where the little square where the check mark is places is. I know how to get the coordinates and dimensions of the entire widget but that includes the label associated with the checkbox widget and I am not interested in that. Thanks for the help -- Mitko Haralanov == Let me explain it to you slowly: Disks. Write. One. Write. At. A. Time. - Rik van Riel on linux-kernel ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: glib and Xlib
jaafar EL GONNOUNI escreveu: > Hello; > > What is *glib *adding that the GTK + compared to *Xlib *? > > All what is possible with glib with Xlib is feasible, then why create a new > library. > glib is a library to easy programming with the C language. It contains data structures, utility functions, and features such as a simple lexical scanner, key-value file reading, and more. Gtk+ uses it, and both are developed by the same group, but otherwise they aren't related. It bears no relation to Xlib in any aspect. Gtk+ is a windowing toolkit. If we disregard the fact that it is cross-platform (and thus can be used in Windows where there is no Xlib, for example), it allows one to easily create widgets that have the same look-and-feel in all applications using Gtk+, in a much simpler way than with Xlib directly. Or even with Xaw. But you're free to design your own widgets directly in Xlib and ignore Gtk+ completely, if you fell inclined to do that. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: glib and Xlib
jaafar EL GONNOUNI wrote: > Hello; > > What is *glib *adding that the GTK + compared to *Xlib *? > > All what is possible with glib with Xlib is feasible, then why create a new > library. From http://library.gnome.org/devel/glib/stable/glib.html : GLib is a general-purpose utility library, which provides many useful data types, macros, type conversions, string utilities, file utilities, a main loop abstraction, and so on. It works on many UNIX-like platforms, Windows, OS/2 and BeOS. GLib is released under the GNU Library General Public License (GNU LGPL). From http://tronche.com/gui/x/xlib/introduction/ : The X Window System is a network-transparent window system that was designed at MIT. X display servers run on computers with either monochrome or color bitmap display hardware. The server distributes user input to and accepts output requests from various client programs located either on the same machine or elsewhere in the network. Xlib is a C subroutine library that application programs (clients) use to interface with the window system by means of a stream connection. Although a client usually runs on the same machine as the X server it is talking to, this need not be the case. I hope you can see the difference. tom ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list