Re: Menu with stuff in multiple columns?

2007-11-06 Thread Reed Hedges
Ah, so new_with_model is the key idea here? Or widgets' layout properties? Thanks. Would it make sense to incorporate some of this stuff into the normal menu interface? Reed ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://ma

Menu with stuff in multiple columns?

2007-11-05 Thread Reed Hedges
I have a large list of small names I want to display in a popup menu. Is there any way to tell GTK to allow more than one column, rather than having the popup menu fill the screen from top to bottom? Thanks Reed ___ gtk-app-devel-list mailing list

Re: GTK+ CVS access FAQ out of date

2007-04-09 Thread Reed Hedges
Francesco Montorsi wrote: > Hi, > > Tristan Van Berkom ha scritto: >> IIRC it was discontinued recently (the cvs repo /was/ around >> for a few months following the migration though). >> >> http://live.gnome.org/SubversionFAQ > thanks! > > it would be nice to update also the FAQ on the www. Yup.

Re: Statically link with GTK

2007-04-09 Thread Reed Hedges
Yeah, it's kind of difficult. I tried and gave up. It was easier just to use the shared libraries (DLLs) and other files and install them along with my program. Reed Tor Lillqvist wrote: > Fabrice Le Goff writes: > > Is there a way to statically link with the Gtk+2.x lib ? I use either > >

Re: GObject docs improvements

2007-02-19 Thread Reed Hedges
Thanks for doing this, this is really important and it's been incomplete for too long. Stefan Kost wrote: > GType's Interfaces are very similar to Java's interfaces. They allow > to describe a common API that several classes will adhere to. > Imagine the play, pause and stop buttons on hifi

Re: Debugging application

2006-12-18 Thread Reed Hedges
Be aware that glib has it's own allocation and deallocation functions which may keep destroyed widgets or other data structures around in a memory pool, so the OS may think your program is using memory but it's just glib's memory pool. That memory would still be still "is use" (has references t

glib question: more configurable version of g_strescape?

2006-12-14 Thread Reed Hedges
Does anyone know if Glib has a more configurable version of g_strescape? g_strescape makes a new string in which certain characters are escaped by adding a '\' in front of them, but doesn't seem to have a way to override what those certain characters are. If such a function does not already e

Re: Adjusting GtkFileChooserDialog appearance

2006-12-04 Thread Reed Hedges
You can go in and mess with the contents of the dialog. Somewhere I think I have a function that "walks" the tree of widgets within it printing out relevant information. Such a solution is completely and horribly non-portable between versions of GTK of course. (So yeah, it would be great if

Re: Command Window with MSVC++ GTK apps

2006-10-03 Thread Reed Hedges
Are you using cygwin or mingw? Alan M. Evans wrote: > On Tue, 2006-10-03 at 11:06, Tor Lillqvist wrote: >> If the linker insists on it, add a WinMain() then? > > Of course. But I resist this for aesthetic reasons. Thanks largely to > the cross-platform nature of GLib and GTK+, my application c

Re: I lose in threads + GTK+, looking for help

2006-09-27 Thread Reed Hedges
Tor Lillqvist wrote: > I wrote: > > > You can't use GTK+ from multiple threads on Win32. > > Reed Hedges writes: > > Can you give some more details Tor? I've done it, so then maybe my > > program is buggy and I don't know it yet :) > > Search

Re: I lose in threads + GTK+, looking for help

2006-09-27 Thread Reed Hedges
Tomasz Jankowski wrote: > Welcome! > > So far I wrote a few small applications, which were a multithread programs > based on GTK+. However now I'm working on something "bigger" and after 10 > days of fighting with code and stupidity of win32 platform I fell now like > total noob... :| > > What I

Re: I lose in threads + GTK+, looking for help

2006-09-27 Thread Reed Hedges
Tor Lillqvist wrote: > Tomasz Jankowski writes: > > However now I'm working on something "bigger" and after 10 > > days of fighting with code and stupidity of win32 platform I fell now like > > total noob... :| > > You can't use GTK+ from multiple threads on Win32. > Can you give some more de

Re: implementing a collapsable/expandable widget

2006-09-27 Thread Reed Hedges
Neil Roberts wrote: > On Tue, Sep 26, 2006 at 05:33:07PM +0200, Michael 'Mickey' Lauer wrote: > >> Hi, for one project I need to implement a widget container that can >> be collapsed/expanded to show its containment. > > Have you looked at GtkExpander? That's what it basically does. You can > see

Allocate/free in main thread, or just the same thread?

2006-09-12 Thread Reed Hedges
Hello, apologies for the basic question but the archive search mechanism seems to still be broken. I have multiple threads in a GTK application. Everything was working properly when all calls to GTK were in the main thread. However, now I have a few separate threads that needs to create some GLib