Dialogs and gtk_window_set_transient_for()

2008-02-20 Thread Arto Karppinen
Hi Im developing an app which shows modal dialogs to the user. Also the app may popup a custom error message dialog if something goes wrong. Currently i'm setting both dialog to be transient_for to my main window. This has the effect of the error dialog appearing beneath the first modal

Re: Printing

2008-02-20 Thread Enrico Tröger
On Wed, 20 Feb 2008 06:31:04 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Enrico Tr?ger wrote: For examples see: http://www.uvena.de/tmp/cairo/print_pango_linux.pdf (fine) and http://www.uvena.de/tmp/cairo/print_pango_win32.pdf (broken) The link to the windows version is

getting setting colors

2008-02-20 Thread Dave Howorth
I want to temporarily change the background or foreground color in a widget (TextBuffer or Entry), to highlight errors. I've found gtk_widget_modify_bg, which looks like it will let me change the background colour, but I can't see any way to return the color to what it was previously. I suppose I

Pango layout multibyte character problem

2008-02-20 Thread Steve Splonskowski
Hello, I am having a problem with some multibyte characters when trying to render them via a Pango layout (using the pangomm c++ binding). Here are the details of a specific problem: - the text string that I am trying to render is just two characters: a lower case 'x' and a superscript '2'

Re: Pango layout multibyte character problem

2008-02-20 Thread Behdad Esfahbod
On Wed, 2008-02-20 at 14:01 -0800, Steve Splonskowski wrote: Any ideas on what to try next? Nul-terminate your string? Or, what are you passing as len to pango_layout_set_text()? That should be len in bytes, not characters. That is, 3, not 2. Or -1 if nul-terminated. -- behdad

Re: [Proposal] Helper functions in GTK+ for showing help and URIs

2008-02-20 Thread Sven Neumann
Hi, On Tue, 2008-02-19 at 23:06 +0100, Jaap A. Haitsma wrote: Thanks for your comments. I've incorporated them (see attachment) If there is consensus that these functions should be incorporated in GTK+, I can add documentation and prepare a patch for GTK+ trunk Will these functions do the

Re: [Proposal] Helper functions in GTK+ for showing help and URIs

2008-02-20 Thread Jaap A. Haitsma
On Tue, Feb 19, 2008 at 11:51 PM, Cody Russell [EMAIL PROTECTED] wrote: On Tue, 2008-02-19 at 23:06 +0100, Jaap A. Haitsma wrote: Thanks for your comments. I've incorporated them (see attachment) If there is consensus that these functions should be incorporated in GTK+, I can add

Re: [Proposal] Helper functions in GTK+ for showing help and URIs

2008-02-20 Thread Bastien Nocera
On Wed, 2008-02-20 at 21:03 +0100, Sven Neumann wrote: Hi, On Tue, 2008-02-19 at 23:06 +0100, Jaap A. Haitsma wrote: Thanks for your comments. I've incorporated them (see attachment) If there is consensus that these functions should be incorporated in GTK+, I can add documentation