Re: Using a TextView as a sort of Hbox with wrapping

2014-01-27 Thread Chris Angelico
On Tue, Jan 28, 2014 at 1:30 AM, Tristan Van Berkom tris...@upstairslabs.com wrote: You can get the behavior you are looking for with EggWrapBox: https://git.gnome.org/browse/libegg/tree/libegg/wrapbox Just copy the eggwrapbox.[ch] and compile it as a part of your code (or compile a libegg

Re: Using a TextView as a sort of Hbox with wrapping

2014-01-27 Thread Tristan Van Berkom
On Tue, 2014-01-28 at 01:56 +1100, Chris Angelico wrote: On Tue, Jan 28, 2014 at 1:30 AM, Tristan Van Berkom tris...@upstairslabs.com wrote: You can get the behavior you are looking for with EggWrapBox: https://git.gnome.org/browse/libegg/tree/libegg/wrapbox Just copy the

Re: Using a TextView as a sort of Hbox with wrapping

2014-01-27 Thread Chris Angelico
On Tue, Jan 28, 2014 at 3:00 AM, Tristan Van Berkom tris...@upstairslabs.com wrote: Sorry I did not take into account that you were working with the GTK+2 library and not GTK+3. Ah, I should have mentioned, sorry. There has been talk of supporting GTK3 in Pike, but I won't move to it till I can

Re: Using a TextView as a sort of Hbox with wrapping

2014-01-27 Thread Tristan Van Berkom
On Mon, 2014-01-27 at 03:49 +1100, Chris Angelico wrote: On Mon, Jan 27, 2014 at 3:43 AM, James Tappin jtap...@gmail.com wrote: If I interpret what you are trying to do correctly (not necessarily a given), then I would have thought that GtkScrolledWindow (possibly in conjunction with

Re: Using a TextView as a sort of Hbox with wrapping

2014-01-27 Thread Tristan Van Berkom
On Tue, 2014-01-28 at 03:08 +1100, Chris Angelico wrote: On Tue, Jan 28, 2014 at 3:00 AM, Tristan Van Berkom tris...@upstairslabs.com wrote: Sorry I did not take into account that you were working with the GTK+2 library and not GTK+3. Ah, I should have mentioned, sorry. There has been

Re: Using a TextView as a sort of Hbox with wrapping

2014-01-27 Thread Chris Angelico
On Tue, Jan 28, 2014 at 3:19 AM, Tristan Van Berkom tris...@upstairslabs.com wrote: No, GtkToolbar != GtkToolPalette, they are separate things. The GtkToolPalette is what we use in Glade to show all the widget icons for example - there is a demo of it if you run gtk-demo you should be able to