Re: Question about gthread library on Windows

2008-05-30 Thread Tor Lillqvist
I have a question about gthred library on windows. Which function is called from g_thread_create_full in binary? gthread/gthread-win32.c have function uses _beginthreadex. This one. --tml ___ gtk-app-devel-list mailing list

Triggering a callback/event from another thread

2008-05-30 Thread Dan Cotter
Hi I have a main thread that runs all my gtk stuff, and a second thread that does processing. From the second thread, how can I cause an event/signal to make a callback function execute in the gtk thread? For example I have a callback function to update a progress bar. How can I cause it to

Correct way to package win32 gtk programs

2008-05-30 Thread Dan Cotter
Hi I have created some gtk exe's for win32 using gtk+ and mingw.What is the correct way to package the exe with the required DLL's? Should I just send out exe file with dll's from bin? Or are end users meant to install gtk and add its bin to their system path?

Re: Correct way to package win32 gtk programs

2008-05-30 Thread Tor Lillqvist
I have created some gtk exe's for win32 using gtk+ and mingw.What is the correct way to package the exe with the required DLL's? That is to some degree a question of taste and personal opinion... Should I just send out exe file with dll's from bin? Or are end users meant to install gtk and

About GTK 2.13.x window redirection

2008-05-30 Thread Gabriele Greco
I've read with much interest the new features of the unstable branch, will the window redirection feature allow to use GTK+ to render to offscreen bitmaps? This will allow a quite easy GTK+ deployment on top of OpenGL, that will be a very useful feature... -- Bye, Gabry

Re: About GTK 2.13.x window redirection

2008-05-30 Thread Emmanuele Bassi
On Fri, 2008-05-30 at 11:21 +0200, Gabriele Greco wrote: I've read with much interest the new features of the unstable branch, will the window redirection feature allow to use GTK+ to render to offscreen bitmaps? yes. This will allow a quite easy GTK+ deployment on top of OpenGL, that will

Re: Draw in a GdkPixbuf

2008-05-30 Thread Luis Menina
Thank you James, I found what I wanted in one of the links: http://live.gnome.org/GtkCairoIntegration I had previously seen this page, but didn't see a small code snippet in python that does what I want. I've translated it in C, and it work now: I can convert a pixbuf to something where I can

Re: How do I catch right-click on a TreeView header?

2008-05-30 Thread John M Collins
I gave that a try, gtk_tree_view_column_get_widget() returns NULL unless you've set a widget. I've now got it displaying label widgets but alas the connection of button-press-event doesn't seem to do anything. I still get the sorting action on the left button of the mouse but nothing happens when

Finally we have gtk_show_uri great news :-)

2008-05-30 Thread Mikael Hermansson
Hopefully we soon could drop gnomelibs in lots of apps :-) (means we also kills alot of other dependies because libgnomeui depends on: libbonobo[ui]/gnomevfs/popt as far as I know) But maybe there should be an replacement for gnome_show_uri_with_enviroment too? greets Mikael

RGBA Colormaps in GtkWindow

2008-05-30 Thread Giuseppe Fuggiano
Hi all, I am working on a patch to make GtkWindow to use an RGBA colormap, in order to add trasparency to each GTK+ application to make possible doing fancy things by themers and artists, but not only [0]. Actually, after some tests we discovered that not all applications are really ready for

Re: RGBA Colormaps in GtkWindow

2008-05-30 Thread Giuseppe Fuggiano
Giuseppe Fuggiano wrote: Months ago, Ryan desrt Lortie proposed some new specs for tray icon, that was accepted [1], but not implemented yet. Correction: this proposal wasn't accepted yet. Giuseppe. ___ gtk-devel-list mailing list

Re: RGBA Colormaps in GtkWindow

2008-05-30 Thread Owen Taylor
On Fri, 2008-05-30 at 18:33 +0200, Giuseppe Fuggiano wrote: Hi all, I am working on a patch to make GtkWindow to use an RGBA colormap, in order to add trasparency to each GTK+ application to make possible doing fancy things by themers and artists, but not only [0]. Actually, after some

Re: RGBA Colormaps in GtkWindow

2008-05-30 Thread Andrea Cimi Cimitan
Just subscribed to follow this thread, Hello Owen!!! I'm Cimi! On Fri, 2008-05-30 at 18:33 +0200, Giuseppe Fuggiano wrote: Hi all, I am working on a patch to make GtkWindow to use an RGBA colormap, in order to add trasparency to each GTK+ application to make possible doing fancy

Re: RGBA Colormaps in GtkWindow

2008-05-30 Thread John Stowers
Firefox seems to work fine, (as far as giuseppe told me), I tested Acrobat reader and it crashed (I have installed just for the occasion since I always used evince :) ). Maybe Acrobat should force RGB in the code before realization. If Firefox 3 works then gtkmozembed certainly doesnt. If

Re: Removing focus outline in a GTK theme?

2008-05-30 Thread Diego A. Fons
Anonymous wrote: How do i remove the dotted outline given to certain widgets when they have focus, in a Gtk theme? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list You can try doing this:

segv on mistaken bless

2008-05-30 Thread Kevin Ryde
I made a mistake in a GObject subclass creation by just blessing into the class instead of Glib::Object-new and got a segv from signal_emit, per below. It'd be nice if the code noticed that, but I couldn't tell if it'd be the signal_emit xsub or gperl_get_object_check which might check for a

grab event further fields

2008-05-30 Thread Kevin Ryde
I noticed GdkEventGrabBroken has implicit and grab_window fields without accessor methods. The grab_window is not reffed by the event code (gdk_event_copy, gdk_event_free) as far as I can see, which makes storing anything there a little dangerous. --- GdkEvent.xs 10 Jan 2008 09:51:03 +1100 1.52

gtk adjust docs on emit

2008-05-30 Thread Kevin Ryde
I thought a remark like below might be good for the GtkAdjustment field accessors, though I couldn't tell how to get it coming out right with the xsdoc stuff ... --- GtkAdjustment.xs 26 Feb 2004 11:57:54 +1100 1.9 +++ GtkAdjustment.xs 31 May 2008 10:01:48 +1000 @@ -64,6 +64,28 @@ OUTPUT:

Re: Putting text with links in a TreeView

2008-05-30 Thread Aristotle Pagaltzis
* Aristotle Pagaltzis [EMAIL PROTECTED] [2008-05-27 10:25]: […] Warnocked. :-( Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Putting text with links in a TreeView

2008-05-30 Thread muppet
On May 30, 2008, at 8:44 PM, Aristotle Pagaltzis wrote: * Aristotle Pagaltzis [EMAIL PROTECTED] [2008-05-27 10:25]: […] Warnocked. :-( You're too early by two hours. It's a combination of busy and trying to find a reasonable answer in absence of time to experiment. :-(( CellRenderers

Re: Putting text with links in a TreeView

2008-05-30 Thread Aristotle Pagaltzis
* muppet [EMAIL PROTECTED] [2008-05-31 04:45]: Unfortunately, i have no advice. Do you have an idea how I could emulate SexyUrlLabel then? As in, duplicate the behaviour that some area of the text can be clicked to invoke a signal? (You know, I never ever dreamed that one day while trying to