Re: Question about modal dialog in gtk application

2010-04-11 Thread silverburgh
On Sun, Apr 11, 2010 at 11:04 AM, Nicola Fontana n...@entidi.it wrote: Il giorno Sun, 11 Apr 2010 10:37:18 -0500 silverburgh silverburgh.me...@gmail.com ha scritto: Hi, In my gtk application, I can create 2 windows. But when I open a dialog in one of my window using gtk_dialog_run(), why

Re: Question about modal dialog in gtk application

2010-04-11 Thread Jim George
You can use gtk_widget_show to bring up your dialog, and then use gtk_set_transient_for to mark it modal to only one window, to get behavior similar to firefox. -Jim On Sun, Apr 11, 2010 at 10:36 AM, silverburgh silverburgh.me...@gmail.com wrote: On Sun, Apr 11, 2010 at 11:04 AM, Nicola Fontana

Re: GTK 2.20 for Windows

2010-04-11 Thread Nader Morshed
On Sun, 11 Apr 2010 09:51:28 +0300 Tor Lillqvist t...@iki.fi wrote: I'd been under the impression, just from the other projects I had seen, that windows gtk programs were expected to use a shared runtime install, That depends on who you ask... My current opinion is that it is best if

Re: GTK 2.20 for Windows

2010-04-11 Thread Tor Lillqvist
I guess one last question on this, can I expect that my program will either work or crash on start up if the dependencies are or are not there? Or is there the possibility that it may crash further into its process if it reaches a point where it does not have access to the functions it

Re: Minutes of the GTK+ Team Meeting - 2010-03-23

2010-04-11 Thread Carlos Garnacho
Hi! On sáb, 2010-04-10 at 01:00 -0400, Matthias Clasen wrote: On Tue, Mar 23, 2010 at 8:16 PM, Christian Dywan It was concluded that it would be sensible to merge 2-90 with master, effectively replacing it, as soon as Matthias decides to branch off the stable 2.20. And additionally API

Re: application class thoughts

2010-04-11 Thread John Ralls
On Apr 5, 2010, at 11:24 AM, John Ralls wrote: A Cocoa-based mac integration library will be available soon, and the older Carbon-based ige-mac-integration will be deprecated in Gtk-OSX. As a followup to that semi-announcement, I have a naming question. Paul Davis wrote the first take on

Re: Distinct performance issues with Japanese only on win32 systems

2010-04-11 Thread Tor Lillqvist
I am not sure I would trust basing the hash on the pango_font_description_hash() value. I would prefer to use the specific HFONT for each run of glyphs from one physical font. I'm too lazy to look up right now how in the basic-win32.c code one can find that information... --tml

Re: Memory leaks in using g_ptr_array_free() of GLib?

2010-04-11 Thread Aleksander Morgado
First of all, sorry if this is not the adecuate list to ask about GLib, but I haven't found the list about GLib. Yes, this is the proper list also for GLib related questions. valgrind --leak-check=full ./memptr In order to have some proper results with Valgrind, you always need to tell GLib

Re: GtkWidget documentation

2010-04-11 Thread Javier Jardón
2010/4/10 Magnus Hjorth magnus.i.hjo...@gmail.com: Hi, The GTK+ documentaion for gtk_widget_set_has_window says that widgets that create their own windows must in their init function call gtk_widget_set_has_window with has_window=TRUE. However, it looks like in reality windowed is default

Re: glib boxed vs widget size_request chaining

2010-04-11 Thread Torsten Schoenfeld
On 08.04.2010 02:25, Kevin Ryde wrote: Has this recent change to gvalue boxed - sv conversion, http://git.gnome.org/browse/perl-Glib/commit/?id=6527c020d30339436b644f53be7766ddac0146a0 made it into a perl-glib release as yet? (I've lost track of the original thread it came from.) No.

Re: customrender.pl example program

2010-04-11 Thread Torsten Schoenfeld
On 05.06.2009 00:04, Kevin Ryde wrote: Did you apply a similar change for this? The problem is still there, but I'm now not at all sure the fix is the right thing. Or if it is then some crib notes in the program would help. I just retested this, and it seems that the workaround is necessary

Re: [PATCH] Gtk2.xs (gtk_init): do gtk_init_check in PL_minus_c mode

2010-04-11 Thread Torsten Schoenfeld
On 26.05.2009 22:27, Kevin Ryde wrote: But either way I'd leave the Gtk2-init function unchanged as the basic operation, instead think about what Gtk2::import() should do for '-init' under different perlrun options. I agree that it would be better to handle this in Gtk2::import, but I was

Re: trying to set the back ground

2010-04-11 Thread Kevin Ryde
Zane C.B. v.ve...@vvelox.net writes: Any ideas? One of the tricks with those setting programs is XSetCloseDownMode, which gdk doesn't offer, but I think may not be needed for window background pixmap settings. What you posted seems to work for me anyway.

Re: [PATCH] Gtk2.xs (gtk_init): do gtk_init_check in PL_minus_c mode

2010-04-11 Thread Kevin Ryde
Torsten Schoenfeld kaffeeti...@gmx.de writes: I agree that it would be better to handle this in Gtk2::import, but I was unable to find a way to access PL_minus_c from Perl. Actually, I now think that to change -init would be incompatible for anyone relying on it to Gtk2-init at BEGIN time.

Re: Possible row selection interfering with Update

2010-04-11 Thread Kevin Ryde
muppet sc...@asofyet.org writes: foreach my $path (reverse $selection-get_selected_rows ()) { $model-remove ($model-get_iter ($path)); } You know, after going through the TreeRowReference business I now suspect a loop like that is enough :-). (If a row-deleted signal handler

How to apply a theme to a perl gtk program

2010-04-11 Thread Xi Yang
In platforms running in Gnome desktop, a perl Gtk program will have the native look, using the theme currently used by Gnome. However, while the script is running in windows, the default skin is boring. So, how to let a perl-gtk program use some theme other than default one?

Re: trying to set the back ground

2010-04-11 Thread Zane C. B.
Quoting Kevin Ryde use...@zip.com.au: Zane C.B. v.ve...@vvelox.net writes: Any ideas? One of the tricks with those setting programs is XSetCloseDownMode, which gdk doesn't offer, but I think may not be needed for window background pixmap settings. What you posted seems to work for me