GTK+ 3.1.10

2011-07-23 Thread Matthias Clasen
GTK+ 3.1.10 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 976e90b97e978aecce988984eef04cb4a44720a3ddf863ee2b169f056fb91580 gtk +-3.1.10.tar.xz 40bec15c44f95a269526e0aab3fad3c0d1d66f3d3445507887b20af6f4269f81 gtk +-3.1.10.tar.bz2

Re: gtk_tree_selection_select_iter after gtk_tree_store_append not working

2011-07-23 Thread Kristian Rietveld
On Fri, Jul 22, 2011 at 8:40 PM, Denis Washington den...@online.de wrote: However, this doesn't work. Removing the if conditional and printing out gtk_tree_selection_get_selected (selection, NULL, NULL) right after select_iter reveals that only the root element can be selected this way

Re: gtk_tree_selection_select_iter after gtk_tree_store_append not working

2011-07-23 Thread Denis Washington
Am 23.07.2011 18:11, schrieb Kristian Rietveld: On Fri, Jul 22, 2011 at 8:40 PM, Denis Washingtonden...@online.de wrote: However, this doesn't work. Removing the if conditional and printing out gtk_tree_selection_get_selected (selection, NULL, NULL) right after select_iter reveals that only

Re: [GSoC] GtkBuilder + GBinding: Connecting transformation functions

2011-07-23 Thread Denis Washington
Am 20.07.2011 18:09, schrieb Denis Washington: Hi, As you might know, I have created a GTK+ branch on git.gnome.org (named gtkbuilder-gbinding) which adds a binding element to the GtkBuilder syntax for my GSoC project [1]. Now I would like to add support for specifying a transformation function

GTK+ 3.1.10

2011-07-23 Thread Matthias Clasen
GTK+ 3.1.10 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 976e90b97e978aecce988984eef04cb4a44720a3ddf863ee2b169f056fb91580 gtk +-3.1.10.tar.xz 40bec15c44f95a269526e0aab3fad3c0d1d66f3d3445507887b20af6f4269f81 gtk +-3.1.10.tar.bz2

How to improve performance of this example?

2011-07-23 Thread Carlos López Camey
Hello, I'm new to the list, GTK+ and C. I'm building a Paint-like application and was trying how to simulate the Brush tool with an example to see how it performs. I read about GtkImage, GtkBitmap and GtkPixmap but was recommended in #gtk+ over at irc.gnome.org to use a GtkDrawingArea + Cairo

Re: How to improve performance of this example?

2011-07-23 Thread richard boaz
hi, the problem isn't the mouse going too fast (this is not possible, if it can go fast, it can), it's that you're wanting to draw a line using points. drawing a real line between the last point received by the drag event and the new/next point will get you what you want, example code below.

Gtk:ERROR:gtkrecentmanager.c

2011-07-23 Thread Dmitry Shkirmanov
Hello, list, i installed gtk 3 from sources in my home directory, compilled and installed the anjuta program that requires gtk 3. Anjuta starts by a script in which LD_LIBRARY_PATH is written. When i try to start anjuta it returns : Gtk:ERROR:gtkrecentmanager.c:1936:get_icon_fallback:

Is goocanvas best for scrapbook type app?

2011-07-23 Thread Fred van Zwieten
Hello all, I am getting into vala development and want to make a scrapbook like app where one can put all kind of photo's, pictures, graphics and text blocks on a canvas. For each of these item's, one should be able to move them around, resize them, put one partly over the other, etc. (you get

GTK+ 3.1.10

2011-07-23 Thread Matthias Clasen
GTK+ 3.1.10 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 976e90b97e978aecce988984eef04cb4a44720a3ddf863ee2b169f056fb91580 gtk +-3.1.10.tar.xz 40bec15c44f95a269526e0aab3fad3c0d1d66f3d3445507887b20af6f4269f81 gtk +-3.1.10.tar.bz2

Re: Is goocanvas best for scrapbook type app?

2011-07-23 Thread Paul Davis
On Sat, Jul 23, 2011 at 10:52 AM, Fred van Zwieten fvzwie...@gmail.com wrote: Now, i have been looking around for the best way to build this and it seems to me goocanvas is the best widget to use for this kind of functionality from vala. some kind of canvas widget is the best way to do this,

Re: Is goocanvas best for scrapbook type app?

2011-07-23 Thread Vivien Malerba
On 23 July 2011 16:52, Fred van Zwieten fvzwie...@gmail.com wrote: Hello all, I am getting into vala development and want to make a scrapbook like app where one can put all kind of photo's, pictures, graphics and text blocks on a canvas. For each of these item's, one should be able to move

Re: Is goocanvas best for scrapbook type app?

2011-07-23 Thread Fred van Zwieten
Hi Paul, Thanks for the link. That one was new to me. Seems like goocanvas, libccc and clutter are the main candidates. I don't want to use clutter because I do not want to depend on 3d stuff. So i agree it seems GooCanvas is the way to go. Greetz, Fred http://epsilon.eridani.nl 2011/7/23

Is GTK+ 3.x 2x slower than GTK+ 2.x?

2011-07-23 Thread Jakub Misak
Is GTK+ 3.x 2x slower than GTK+ 2.x? Hello, When I upgraded to GTK+ 3.0, the first thing that struck me was how sluggish it was compared to 2.24. The same dialogs in the same application appear immediately on the screen in the 2x version, while it takes time to paint them on the screen with

Re: How to improve performance of this example?

2011-07-23 Thread Carlos López Camey
Thank you Richard, the code you wrote works for me and it gave me ideas on how to re-structure mine. 2011/7/23 richard boaz ivor.b...@gmail.com: hi, the problem isn't the mouse going too fast (this is not possible, if it can go fast, it can), it's that you're wanting to draw a line using

Re: Is GTK+ 3.x 2x slower than GTK+ 2.x?

2011-07-23 Thread Sergei Steshenko
--- On Sat, 7/23/11, Jakub Misak jmi...@centrum.cz wrote: From: Jakub Misak jmi...@centrum.cz Subject: Is GTK+ 3.x 2x slower than GTK+ 2.x? To: gtk-list@gnome.org Date: Saturday, July 23, 2011, 12:30 PM Is GTK+ 3.x 2x slower than GTK+ 2.x? Hello, When I upgraded to GTK+ 3.0, the

GdkDrawable from GtkDrawingArea and it's cairo surface

2011-07-23 Thread Carlos López Camey
Hello again, Let's say I'd like to save a GtkDrawingArea 'screenshot' to a file. I'm able to do cairo_t *cr = gtkDrawingAreaWidget-window; cairo_surface_t *screenshot = cairo_get_target(cr); cairo_surface_write_to_png(screenshot,screenshot.png); but what this code does is save a screenshot for