Problem with table

2009-12-29 Thread Questioner X
Hi all, Some time ago, I was experimenting with GTK but couldn't get past a tedious problem. Namely, I wanted to create a GUI like this... It has 2 columns and 3 rows. The left column resizes (stretches) when the window is resized. The right column remains a fixed width. The

Re: Problem with table

2009-12-29 Thread Michael Cronenworth
Eero Tamminen on 12/29/2009 09:17 AM wrote: Is there some trick to doing this? If you want to use fixed lengths you must pack the widgets with the expand flag set to false. Instead of using gtk_container_add use gtk_box_set_child_packing. Example: gtk_box_set_child_packing( GTK_BOX(

Re: Problem with table

2009-12-29 Thread Tadej Borovšak
Hello. I just answered your query here: http://gtkforums.com/viewtopic.php?p=12741#12741 Tadej -- Tadej Borovšak tadeboro.blogspot.com tadeb...@gmail.com tadej.borov...@gmail.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Problem with table

2009-12-29 Thread Michael Cronenworth
Eero Tamminen on 12/29/2009 09:17 AM wrote: Instead of s/Instead of/Along with/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: how to set language for non-unicode text

2009-12-29 Thread Han
Sorry. Will just gtk-app-devel-list in future. Looks like GTK indeed encoded the string in Unicode, although the original string was not in Unicode. (gdb) p song_name $2 = 0x810e300 ¸»Ê¿É½Ï (gdb) x/8 0x810e300 0x810e300: 0xbbc2b8c2 0xbfc28ac3 0xbdc289c3 0x82c38fc3

Re: how to set language for non-unicode text

2009-12-29 Thread Eduardo M KALINOWSKI
Han wrote: Sorry. Will just gtk-app-devel-list in future. Looks like GTK indeed encoded the string in Unicode, although the original string was not in Unicode. (gdb) p song_name $2 = 0x810e300 ¸»Ê¿É½Ï (gdb) x/8 0x810e300 0x810e300:0xbbc2b8c2 0xbfc28ac3 0xbdc289c3

Re: how to set language for non-unicode text

2009-12-29 Thread Tor Lillqvist
Looks like GTK indeed encoded the string in Unicode, although the original string was not in Unicode. What the string and theoriginal string? Where did they come from? --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: how to set language for non-unicode text

2009-12-29 Thread Han
On Mon, Dec 28, 2009 at 11:33 PM, Tor Lillqvist t...@iki.fi wrote: I wrote my first linux GUI app using GTK+, which seems to be a very nice tool. Well, GTK+ is not a tool but a library, also called a tooolkit, so I wonder whether what you actually have been using some higher level GUI

Re: how to set language for non-unicode text

2009-12-29 Thread Han
On Tue, Dec 29, 2009 at 11:57 AM, Tor Lillqvist t...@iki.fi wrote: Looks like GTK indeed encoded the string in Unicode, although the original string was not in Unicode. What the string and theoriginal string? Where did they come from? They came from TAG fields (song name) in a MP3 file. Btw,

Old Windows-specific bug in GOption

2009-12-29 Thread Krzysztof Kosiński
Hello First, I would like to send a big thank you to Murray Cumming for committing the fix for the lingering libsigc++ accumulator bug! It will allow everyone to write more powerful signals code. There's a second serious bug that impacts Inkscape, and it's one of the reasons we still uses

Re: Undo stack for GTK+ (was: Re: undo in textview)

2009-12-29 Thread Paul Davis
On Mon, Dec 28, 2009 at 12:02 PM, Holger Berndt bern...@gmx.de wrote: Cross-posting to move the discussion to gtk-devel-list. Anybody interested in the topic, please follow up there. On Do, 24.09.2009 19:23, A. Walton wrote: It's definitely something many developers would love to see in Gtk+,