GTK+ 2.19.5 released
GTK+ 2.19.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.19/ http://download.gnome.org/sources/gtk+/2.19/ md5 sums: b4b84f53b2e2453ad084305d40573b8a gtk+-2.19.5.tar.bz2 c6294ddfbbd948e56f2069a4e01a43e7 gtk+-2.19.5.tar.gz sha1 sums: 678f27ceef72853a650d045506f06a32905102fe gtk+-2.19.5.tar.bz2 68cfe4f7002c6966c48bc01d42bd3cfb4d061a4a gtk+-2.19.5.tar.gz This is a development release leading up to GTK+ 2.20. Notes: * This is an unstable development release. It has had only little testing and there are unfinished features and plenty of bugs in this release. It should definitively not be used in production. * Installing this version will overwrite your existing copy of GTK+ 2.18. If you have problems, you'll need to reinstall GTK+ 2.18. * GTK+ 2.20 will be source and binary compatible with the GTK+ 2.18 series; however, the new API additions are not yet finalized, so there may be incompatibilities between this release and the final 2.20 release. * Bugs should be reported to http://bugzilla.gnome.org. What is GTK+ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. Where to get more information about GTK+ Information about GTK+ including links to documentation can be found at: http://www.gtk.org/ An installation guide for GTK+ 2.x is found at: http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html Common questions: http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html http://www.gtk.org/faq/ Contributing GTK+ is a large project and relies on voluntary contributions. We are actively searching for new contributors in various areas and invite everyone to help project development. If you are willing to participate, please subscribe to the project mailing lists to offer your help and read over our list of vacant project tasks: http://live.gnome.org/GtkTasks Overview of Changes from GTK+ 2.19.4 to 2.19.5 == * GSEAL work: - Add accessors for GtkPaned members - Add gtk_widget_style_attach - Seal GtkTextTag - Deprecate GtkCurveType - More GtkWidget flags accessors * Bugs fixed: 403485 Move docs from tmpl/* to the source files 556263 Deprecate GtkCurve 554420 Seal GtkTextTag 561816 Optimize gtk_paned_set_position notifications 606288 Not using GtkOptionMenu deprecated symbols in test file 607061 GtkPlug socket window is sometimes incorrectly unref'd 607344 GtkCalendar: crash when using tooltips via glade 607885 GtkPaned::handle lack accessor 608162 gtktoolbutton doesn't create right proxy menu item... 608345 wrong reference on gdk_keymap_translate_keyboard_state 608370 dnd drag-dest signal handlers don't get correctly disconn... 608410 GOK types backwards in text entry fields 608615 DnD events sent to wrong window 608807 Marks on GtkScale widgets can overlap 609188 gdk/directfb: compiler warning in _gdk_windowing_pointer_grab() 609191 gdk/directfb: use G_DEFINE_TYPE in gdkcolor-directfb 609199 gdk/directfb: use G_DEFINE_TYPE in gdkgc-directfb 609201 gdk/directfb: max cursor size is artificially limited 591186 GTK Menu Bar is unreadable under Windows 7 * Updated translations Bengali Brazilian Portuguese Czech Estonian French Norwegian bokmål Slovak Spanish Thai Thanks to all contributors: Javier Jardón Li Yuan Christian Dywan Cody Russell Andre Klapper Kristian Rietveld Michael Natterer Steffen Macke André Draszik Tor Lillqvist Alan Knowles Karl Tomlinson Bill Nottingham Bastien Nocera February 10, 2010 Matthias Clasen ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: g_spawn_async_with_pipes on windows
> g_spawn_async_with_pipes() to launch an other executable (firefox in this > case). Do you expect to provide input to Firefox's stdin, or get output from its stdout, through the pipes then? (That would be a bit strange for a GUI app like a web browser, wouldn't it?) If not, instead of g_spawn_*, just use one of the "normal" _spawn*() family of functions in the Microsoft C library (declared in ) with P_NOWAIT as the first parameter if you don't want to wait for it to finish. Much simpler, and less chance that some bug or misfeature in GLib is confusing you. Sure, you will then have to use #ifdefs, but is that a big deal, presumably it is in a single location in your app where you launch Firefox. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: g_spawn_async_with_pipes on windows
Hi > Does anyone have a clue how this is supposed to work? The documentaion > has a lot of references to win32, so I guess this is supposed to work !? As far as I can remember, spawning functions on windows need a helper executable that is distributed along with glib (I don't remember the exact name right now, but it's something along the gspawn-win32-helper.exe). Is this helper application reachable when executing your application? 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 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
g_spawn_async_with_pipes on windows
Hi all, we're porting a gtk application to windows, and we're using g_spawn_async_with_pipes() to launch an other executable (firefox in this case). For some reason it fails to execute the binary, locks the gtk application, and nothing happens anymore. We've tested with a full path to the executable and having the executable in the path. Does anyone have a clue how this is supposed to work? The documentaion has a lot of references to win32, so I guess this is supposed to work !? Thanks, Olivier ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: cool google search entrybox?
ferar aschkar wrote: how can I achieve a google search entry like that in firefox with auto-suggest and search history, any examples or links. What about this libsexy library? is there other library like that for creating cool widgets? You will want to use GtkEntryCompletion[1]. [1] http://library.gnome.org/devel/gtk/unstable/GtkEntryCompletion.html ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How I can do Double Buffer whether OpenGl Ext?
And then you will have a expose callback similar to this: int my_expose (GtkWidget *widget, GdkEventExpose *event, void *data) { GdkGLDrawable *gldrawable = gtk_widget_get_gl_drawable (widget); GdkGLContext *glcontext = gtk_widget_get_gl_context (widget); app_window *my_window = APP_CAST_WINDOW data; /* * draw only last expose */ if (event->count > 0) return TRUE; if (gdk_gl_drawable_gl_begin (gldrawable, glcontext) == TRUE) { draw_my_window (my_window); if (gdk_gl_drawable_is_double_buffered (gldrawable) == TRUE) gdk_gl_drawable_swap_buffers (gldrawable); else glFlush (); glGetError (); gdk_gl_drawable_gl_end (gldrawable); } return TRUE; } Regards, Carlos >From the logo example: /* * Configure OpenGL-capable visual. */ /* Try double-buffered visual */ glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGB| GDK_GL_MODE_DEPTH | GDK_GL_MODE_DOUBLE); if (glconfig == NULL) { g_print ("*** Cannot find the double-buffered visual.\n"); g_print ("*** Trying single-buffered visual.\n"); /* Try single-buffered visual */ glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGB | GDK_GL_MODE_DEPTH); if (glconfig == NULL) { g_print ("*** No appropriate OpenGL-capable visual found.\n"); exit (1); } } .. /* Set OpenGL-capability to the widget. */ gtk_widget_set_gl_capability (drawing_area, glconfig, NULL, TRUE, GDK_GL_RGBA_TYPE); This function first tries to create a glconfig using double buffered, if fails, uses single buffer). This works on OS X 10.6 Snow Leopard. EMAILING FOR THE GREATER GOOD Join me Date: Tue, 9 Feb 2010 04:41:12 -0300 Subject: How I can do Double Buffer whether OpenGl Ext? From: grojas@gmail.com To: gtk-app-devel-list@gnome.org Hi, I'm trying to do a double buffer with pixbuf and draw area, whether to use OpenGL Ext, but i don't know if it is posible or not. Any idea? Thanks. Gustavo R. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
cool google search entrybox?
greetings, how can I achieve a google search entry like that in firefox with auto-suggest and search history, any examples or links. What about this libsexy library? is there other library like that for creating cool widgets? regards, ferar ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: pulseaudio and gtk events issues
Ok, and thank you... :) Nikolaj Thygesen wrote: Sorry, all I can say is that I currently run "pulseaudio-0.9.21.tar.gz" :o) It might have been "0.9.11", but I'm not 100%. br - N :o) Manu TM wrote: Do you remember which version of pulseaudio it was? I'm using version: 1:0.9.19-Oubuntu4-1 (karmic updates.) Emmanuel Thomas-Maurin Nikolaj Thygesen wrote: I can't tell you what you're specific issue is (as I'm running fbsd), but recently I spent months chasing a bug in my own app, which ended up being a thread related bug in pulseaudio, so you might be right there. I too had to disable window and button sounds. It appeared the gdk lock wasn't handled properly in pulseaudio. This was solved by upgrading the pa release. br - N :o) Manu TM wrote: Hi, I'm trying to debug a gtk app on Ubuntu Karmic that crashes from time to time when I open a dialog. Lately, I have found a precise sequence of UI actions that always reproduces the bug (I open a dialog, pick an option, click or enter ok, then re-open the dialog.) But many other sequences crash my app too. And I always get this error: Assertion 'pthread_setspecific(t->key, userdata) == 0' failed at pulsecore/thread-posic.c:200, function pa_tls_set(). Aborting. So my app seems to crash because an error in pulseaudio, which is strange. I made some google searches and apparently, this problem exists with other apps (Abiword, Flash support in Firefox, Gimp, ...) Then, following a suggestion in a bug report, I opened 'sound-preferences' and disabled 'window and button sounds'. And then, no more crashes, ever. I've already posted on this list about the problem and I don't want to spam. But I've been re- checking my sources many times since last month, unsuccessfully. Then my app used to be very stable a couple of months ago and I have checked all the last changes I have made lately. So the question is: could all this relate to an upgrade to Karmic or a newer version of pulseaudio? I know that gtk handles events from windows and buttons and so does pulseaudio. Could it possibly be a bug in pulseaudio on ubuntu (instead of in my app?) Does anyone have an idea of what's going on? Thanks in advance for any clue. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list