Re: Licensing

2003-06-18 Thread Douglas Ian Linder
Read the historical discussion in the archives. Summary: - Distribute the libraries to use (eg. gtk, etc) as standard packages, including source is fine. - Linking with those libraries at run time (ie. do not compile them into your application. Normal way of doing things) is fine. - Place

GTK-WIDGET-SET-DEFAULT-STYLE

2003-06-18 Thread Kiyoshi TAKAHASHI
When I use gtk_widget_set_default_style(style) I have the error: undefined reference to 'gtk_widget_set_default_style' ?!! How is it possible? Is this method has disappeared in gtk2.2? has this method been replaced by another one? Regards, Kiyoshi ___

Re: Licensing

2003-06-18 Thread Murray Cumming
On Wed, 2003-06-18 at 06:24, [EMAIL PROTECTED] wrote: On Tue, 17 Jun 2003 [EMAIL PROTECTED] wrote: Although I can't see that the desire on the part of the authors for these copyrights was to eliminate the possible participation of proprietary software in free software environments such as

Re: GTK-WIDGET-SET-DEFAULT-STYLE

2003-06-18 Thread Olaf Frczyk
On Wed, 2003-06-18 at 09:51, Kiyoshi TAKAHASHI wrote: When I use gtk_widget_set_default_style(style) I have the error: undefined reference to 'gtk_widget_set_default_style' ?!! How is it possible? Is this method has disappeared in gtk2.2? Yes. It disappeared in 2.0 :( has this method been

pthread and GTK+

2003-06-18 Thread Vincent ROQUETA
Hello, I'm triyng to use gtk in a multithread context, and i've some problems: I want to do this: Programme 1 .. |.|___ Thread 2 ...| Thread 1 create and open a gtk+ window Window problems 1/ Display wrong 2/ callbacks errors ( gtk_entry

Re: pthread and GTK+

2003-06-18 Thread Evan Lavelle
Do you have any more details? Is thread 1 the only thread that uses Gtk, or do the other threads also use Gtk? If so, how do they communicate with thread 1? Do you have any routines in thread 1 which are called by multiple threads? Evan ___ gtk-list

Re: Re: pthread and GTK+

2003-06-18 Thread Vincent ROQUETA
I send you the thread code. There is only this thread calling gtk, and for now no interactions between this thread the others parts of the program. serveur_t *controle; void *envoi_ordre(void *arg){ GtkWidget *window1; gtk_init(NULL, NULL); /* interface designed with glade... */

Re: pthread and GTK+

2003-06-18 Thread Evan Lavelle
Vincent ROQUETA wrote: I send you the thread code. There is only this thread calling gtk, and for now no interactions between this thread the others parts of the program. If your Gtk code works stand-alone, but doesn't work in a single thread of a multi-threaded app, then I can't see that

Getting text out of a GtkTextView

2003-06-18 Thread Carl B. Constantine
I have a GtkTextView in one of my application windows; mainly because a GtkEntry is only single width and I want text wrapping and so forth. Anyway, I'm trying to get the text from the GtkTextView but only end up with 'null' when I try to print it. Here is a code snipped: void insertCustomer(

Re: Getting text out of a GtkTextView

2003-06-18 Thread Seth Remington
You've created two pointers to a GtkTextIter, but they don't point to a valid GtkTextIter structure in memory. Here's what you probably meant to do... void insertCustomer( GtkWidget *customers ) { GtkTextBuffer *specialBuffer; GtkTextView *specialView;

Re: Getting text out of a GtkTextView

2003-06-18 Thread Alejandro García Rodríguez
Hello, list! The following link tells you how to get the contents of the entire text widget as a string: http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html#id2850623 GtkTextIter start, end; GtkTextBuffer *buffer; char *text; buffer =

gtk-config

2003-06-18 Thread wurzin
I built glib, atk, pango, then gtk. No gtk-config? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk-config

2003-06-18 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I built glib, atk, pango, then gtk. No gtk-config? No, gtk-config is in gtk+-1.2 only. Please read http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html Sven ___ gtk-list mailing list [EMAIL PROTECTED]

gdk_window_get_parent assertion failed sometimes.

2003-06-18 Thread James Su
I had reported this issue on bugzilla, the id is 115432. When I close some kinds of window, gtk will go into a dead loop and report the following error again and again: (gtk-demo:30093): Gdk-CRITICAL **: file gdkwindow.c: line 526 (gdk_window_get_parent): assertion `GDK_IS_WINDOW (window)'

Installing Glib

2003-06-18 Thread Lowe, David Joseph (UMR-Student)
I'm having problems installing Glib for GTK, I believe I installed it right but I keep getting an error message when installing pango it informs me that pkg-config reports version 2.2.0 but version 2.0.1 is the version found of glib. I'm using Lindows 3.0 any suggestions on how to uninstall the