Re: redirecting stdout to Gtk Text widget

2006-02-08 Thread Claudio Polegato Junior
ashish gupta escreveu: hi, I am developing a gui in windows and need to redirect stdout to text widget. i came to know about g_set_print_handler () function but it gives only those strings that i pass to g_print and not all warnings that come in stdout. another problem i face is that when i

Windows gtk programming

2006-02-08 Thread Gorshkov
I've been using glade/gtk et al for a few years now under Linux, and only now have a requirement to do some programming under windows (urk). I've installed current copies of msys, mingw, and gtk from the installers on the 'net . so far so good. But when I try to test a simples, stupid gtk

Re: Windows gtk programming

2006-02-08 Thread Tor Lillqvist
Gorshkov writes: gcc `pkg-config --libs gtk+-win32-2.0` test.o -o test test.o(.text+0x41):test.c: undefined reference to `gtk_init_abi_check' test.o(.text+0x46):test.c: undefined reference to `gtk_main' You are very close, and seem to know well what you doing, congrats! Except for one small

I have a problem with GtkRadioButton

2006-02-08 Thread yeajchao
Hello all First of all, I apologize for my terrible english! I have a problem with GtkRadioButton. You know,when you select a GtkRadioButton,there will be a big point placed in the circle of the radio button .It maybe called indicator. My problem is that: I want to change the

windows resource files

2006-02-08 Thread Gorshkov
OK - next stupid question. Now that Tor's been able to point out my idiocy regarding the linking (*ahem*), I now have a working programme . except that a DOS box opens up directly behind it. I assume that in order to get rid of that, I have to turn my ordinary DOS programme into a windows

Re: Gtk + OSX

2006-02-08 Thread Richard Hult
Hi, electroteque wrote: In file included from GdkQuartzView.c:22: GdkQuartzView.h:21:26: Quartz/Quartz.h: No such file or directory In file included from GdkQuartzView.c:22: GdkQuartzView.h:26: error: cannot find interface declaration for `NSView', superclass of `GdkQuartzView' make[4]:

Re: gtk-quartz for osx

2006-02-08 Thread Richard Hult
Michael Torrie wrote: On Wed, 2006-02-08 at 12:19 +1100, electroteque wrote: Can someone tell me if this is still in development or available to try out ?? http://gtk-quartz.sourceforge.net/ No I don't think so. The only active gtk on OS X effort is now in the head gtk CVS. There is a

Re: GTK_MODULE (G)Option breakage init ordering ...

2006-02-08 Thread michael meeks
On Tue, 2006-02-07 at 17:04 -0500, Owen Taylor wrote: I have vague memory that modules not getting arguments is intentional rather than an oversight ... that we discussed it at the point of the GOption switch and decided it was fundamentally busted and unsupportable. I may just be

Re: GTK_MODULE (G)Option breakage init ordering ...

2006-02-08 Thread James Henstridge
michael meeks wrote: On Tue, 2006-02-07 at 17:04 -0500, Owen Taylor wrote: I have vague memory that modules not getting arguments is intentional rather than an oversight ... that we discussed it at the point of the GOption switch and decided it was fundamentally busted and unsupportable. I

Re: GTK_MODULE (G)Option breakage init ordering ...

2006-02-08 Thread michael meeks
On Wed, 2006-02-08 at 18:01 +0800, James Henstridge wrote: :-) Either way - there is a workaround now; and as Federico says prolly going via the environment is a more robust cleaner solution. The only issue with using the environment is that it is inherited by child processes. This

Re: Gtk + OSX

2006-02-08 Thread Goran Rakić
You can use Apple X11 (X11.app from developer tools on install cd) and gtk+ from Fink project... On 08.02.2006., at 09.59, electroteque wrote: Yeh i prob missed that one, so it does need the Quartz stuff, i just wasted my time :D Im looking now @ Xdarwin instead :D On 08/02/2006, at

Re: A GIterator type, but not as a simple type - as a GTypeInterface (GIterIface)

2006-02-08 Thread Philip Van Hoof
On Tue, 2006-02-07 at 21:18 -0500, Owen Taylor wrote: Hey Owen, I've been cutting in your reply. Else this discussion would get needlessly long and difficult to read ;-). If others are reading this: please make sure to read the stuff came before this e-mail. It definitely bothers me that

Reporting bugs about the GTK+ directfb backend

2006-02-08 Thread [EMAIL PROTECTED]
Hi While trying to report a bug against the directfb backend, i noticed that in Gnome's BTS bugs related to GDK are classified as gdk (i suppose it means gdk-X11) , linux-fb and win32, while a directfb entry for the newly merged gdk-directfb backend is missing. As during the developement of

Rich Text copy and paste (bug #324177)

2006-02-08 Thread Michael Natterer
Hi all, In the last few weeks, I've been working on refactoring and extending a patch from maemo-gtk which enables copy/paste and DND of rich text from/to GtkTextBuffer and GtkTextView. It's here: http://bugzilla.gnome.org/show_bug.cgi?id=324177 The patch has seen several iterations and

Re: Reporting bugs about the GTK+ directfb backend

2006-02-08 Thread Matthias Clasen
On 2/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi While trying to report a bug against the directfb backend, i noticed that in Gnome's BTS bugs related to GDK are classified as gdk (i suppose it means gdk-X11) , linux-fb and win32, while a directfb entry for the newly merged

Japanese characters in paths (GTK 1.2)

2006-02-08 Thread Philippe Morange
Hi,I would like to know what I have to do or use in order to be able to use Japanese characters in GTK 1.2 ?Because when paths to files contain Japanese characters, I don't see the directories names at all.Is possible at all to do that with GTK 1.2?gtk_set_locale() didn't do the trick...The same

[Fwd: Re: A GIterator type, but not as a simple type - as a GTypeInterface (GIterIface)]

2006-02-08 Thread Owen Taylor
Here's my original response to Philip, since I missed gtk-devel-list from the From: line. ---BeginMessage--- On Wed, 2006-02-08 at 01:44 +0100, Philip Van Hoof wrote: Hey Owen, More then a year ago you wrote an E-mail about why you wouldn't want to start using a type like GIterator in gtk+.

Re: Rich Text copy and paste (bug #324177)

2006-02-08 Thread Matthias Clasen
One thing that should probably be pointed out is that rich text support is turned off by default, since the default value for the GtkTextBuffer:can-receive-rich-text property is FALSE. The interesting question to look at before we add this api is if the tagset approach is one that will allow us

mozilla is slow to show gtk window on first run

2006-02-08 Thread Jacob Zachariah
Hi, I'm running into a slow gtk window startup issue while running a mozilla embedding example (TestGtkEmbed). version: mozilla-1.7.12, Gtk-1.2 target system: RedHat 7.3 Linux, 2.4-18 kernel. When i run TestGtkEmbed on my target system for the first time, it takes ~ 12 seconds for the window to

Re: [gtk-devel-list] Japanese characters in paths (GTK 1.2)

2006-02-08 Thread mpsuzuki
On Wed, 8 Feb 2006 16:42:06 +0100 Philippe Morange [EMAIL PROTECTED] wrote: we haven't yet tried to display widgets with Japanese characters in them. This should be the next logical step... Ah, I'm not asking for modification of your application. To display Japanese characters on gtk, you will

Re: gtk-quartz for osx

2006-02-08 Thread Allin Cottrell
On Thu, 9 Feb 2006, electroteque wrote: I'd like to know, ive given up and now installing xorg via fink slowly Me too, and probably many others. GTK will currently run OK on OS X in X11 mode, but IMO this is really a hackers only mode, since apps have to started in a special way and do not

Re: gtk-quartz for osx

2006-02-08 Thread Owen Taylor
On Wed, 2006-02-08 at 20:54 -0500, Allin Cottrell wrote: On Thu, 9 Feb 2006, electroteque wrote: I'd like to know, ive given up and now installing xorg via fink slowly Me too, and probably many others. GTK will currently run OK on OS X in X11 mode, but IMO this is really a hackers

Re: gtk-quartz for osx

2006-02-08 Thread Matthias Clasen
On 2/8/06, Owen Taylor [EMAIL PROTECTED] wrote: It seems like from this long thread that what's needed is not native GTK+ for OS X, but rather a binary distribution of native GTK+ for OS X... Owen Maybe we can work on that when we have a released version of GTK+ including the OS X

Typedef inconsistency for gsize and gssize

2006-02-08 Thread Banginwar, Rajesh
Hello, For IA32 gsize (found in glibconfig.h) is defined as: typedef unsigned int gsize; For IA32-64bit extn and IA64 (Itanium) the definition is: typedef unsigned long gsize; Is this intentional? The documentation does not mention anything about this.. It says: unsigned int only

Re: gtk-quartz for osx

2006-02-08 Thread electroteque
Ive already shopped around, it looks like if there was a Quartz.h available for 10.3 it just might work. What the problem is here is, apple hold you by their finger and force you to upgrade to you can get those features. Im pretty sure if they spent an hour or so on it they could have the