Re: g_io_scheduler_job_send_to_mainloop How to?

2010-06-26 Thread Florian Müllner
Hi, the code you posted looks a little incomplete, but nevertheless I think you got it a little backwards. From what I see, it should look more or less like this (note: I didn't actually try to compile this): gboolean build_thumbnails (gpointer user_data) { printf ("BUILD!"); } gboolean job_fu

g_io_scheduler_job_send_to_mainloop How to?

2010-06-26 Thread Alexander Kuleshov
Hello, I use g_io_scheduler_job_send_to_mainloop function for running functiton in another thread: void build_thumbnails(GtkWidget* widget, MainWin* mw) { printf("BUILD!!!"); } I have structure for func parameters: typedef struct _JobParam { GtkWidget* widget; struct MainWin

Re: word wrap in liststore column

2010-06-26 Thread Florian Müllner
El sáb, 26-06-2010 a las 20:35 -0700, Steve Harrington escribió: > This is a frustration I sometimes encounter. How do you know to do > this? I see nothing in the documentation for GtkCellRenderer or any of > it's antecedents that shows "wrap-width" or "wrap-mode" as a property. That's because

Re: word wrap in liststore column

2010-06-26 Thread Steve Harrington
On 06/26/2010 08:19 PM, Florian Müllner wrote: Hi, El dom, 27-06-2010 a las 12:25 +1000, Mick escribió: I know that, I have searched but not found anything that says "this is how you set the properties of ..." ... an GObject: http://library.gnome.org/devel/gobject/stable/gobject-The-

Re: word wrap in liststore column

2010-06-26 Thread Florian Müllner
Hi, El dom, 27-06-2010 a las 12:25 +1000, Mick escribió: > I know that, I have searched but not found anything that says "this is > how you set the properties of ..." ... an GObject: http://library.gnome.org/devel/gobject/stable/gobject-The-Base-Object-Type.html#g-object-set > what I'm trying t

Re: word wrap in liststore column

2010-06-26 Thread Steve Harrington
On 06/26/2010 07:25 PM, Mick wrote: On Sat, 26 Jun 2010 02:17:11 -0400 Tristan Van Berkom wrote: On Fri, Jun 25, 2010 at 8:44 PM, Mick wrote: I'm stuck again. I wish to set word-wrap for a single column in a treeview liststore, I've found the options I need to set but can't for th

central 'library' of self-contained real world examples of code for gtkwidgets

2010-06-26 Thread Mick
In veiw of the nightmare I've had finding non-trivial example code for assembling/implimenting gtk widgets recently I have decided to attempt to assemble a library of functions that impliment a task at a more advanced level than your typical 'Hello world' that abound. Some examples would be: A men

Re: word wrap in liststore column

2010-06-26 Thread Mick
On Sat, 26 Jun 2010 02:17:11 -0400 Tristan Van Berkom wrote: > On Fri, Jun 25, 2010 at 8:44 PM, Mick wrote: > > I'm stuck again. > > > > I wish to set word-wrap for a single column in a treeview liststore, > > I've found the options I need to set but can't for the life of me > > find an example

Re: Anyone for CMake?

2010-06-26 Thread John Coppens
On Sat, 26 Jun 2010 10:07:16 +0100 John Emmas wrote: > I just wondered if there's ever been any discussion in the *nix > community about moving away from Autoconf/Automake in favour of CMake? > I guess this topic must have come up several times already, so what > were considered to be the pros an

Re: cygwin gtk+ eclipse on windows Gtk-WARNING cannot open display

2010-06-26 Thread newusergtk+
I'm forced to use cygwin for work so I have no choice. I solved the problem. Anyway I thank you for your advice. bye Tor Lillqvist wrote: > >> Hello, i installed cygwin, gtk+(available with cygwin) and eclipse on >> Windows xp. >> "Gtk-WARNING **: cannot open display:" > > Are you aware that

Anyone for CMake?

2010-06-26 Thread John Emmas
A couple of weeks ago I started on a build of glib/gtk+ using MSVC++. I haven't been able to devote masses of time to it but the small amount that I've done so far was refreshingly pain-free - thanks mostly to the presence of ".vcproj" files for me to work with. Sadly, the supporting libraries