Re: GooCanvas 0.3

2006-04-27 Thread Jean Bréfort
Le mardi 25 avril 2006 à 21:02 +0100, Damon Chaplin a écrit : > I've put GooCanvas 0.3 (a GTK+ cairo canvas widget) up at: > http://www.dachaplin.dsl.pipex.com/goocanvas/ > > This release adds pretty much all of my list of essential features: > > o New GooCanvasPath item (similar to SVG path

How to get a GtkWidget in to pixbuf

2006-04-27 Thread sadhees kumar
Hi Everybody,      In my GTK application i have a drawing area where i have drawn a graph. The drawing area is declared as GtkWidget, I would like to know how to take this GtkWidget in to a pixbuf.       In short I would like to know how to take a GtkWidget i

Re: Deprecations

2006-04-27 Thread Owen Taylor
On Wed, 2006-04-26 at 09:22 +0100, Ross Burton wrote: > Hi, > > Would it make sense to mark all of the deprecated API in GLib and GTK+ > with G_GNUC_DEPRECATED, so that people who are not using the > DISABLE_DEPRECATED macros still get warned that they are using > deprecated functions? At the mom

Re: Deprecations

2006-04-27 Thread Owen Taylor
On Thu, 2006-04-27 at 01:22 +0300, Mart Raudsepp wrote: > On Wed, 2006-04-26 at 21:23 +0100, Ross Burton wrote: > > On Wed, 2006-04-26 at 15:18 -0400, David Hampton wrote: > > > > Would it make sense to mark all of the deprecated API in GLib and GTK+ > > > > with G_GNUC_DEPRECATED, so that people w

Re: Recently Used Files Proposal

2006-04-27 Thread Emmanuele Bassi
Sorry, I'm moving from Milan to London, and my internet connection is still sketchy at best. The rationale for the widgetry is better explained here: http://live.gnome.org/RecentFilesAndBookmarks anyway. The email you are replying to is a year old, and is part of my preliminary draft for the

Re: Recently Used Files Proposal

2006-04-27 Thread Emmanuele Bassi
Hi Alex, On 4/26/06, Alexander Larsson <[EMAIL PROTECTED]> wrote: > On Tue, 2006-04-25 at 08:12 +0200, Murray Cumming wrote: > > On Thu, 2005-06-02 at 10:19 +0200, Emmanuele Bassi wrote: > > > I've considered the option of making a menu, but I decided that we > > > should avoid it for latency reas

Re: Recently Used Files Proposal

2006-04-27 Thread Alexander Larsson
On Thu, 2006-04-27 at 16:04 +0100, Emmanuele Bassi wrote: > > The email Murray was replying to was a draft sent a year ago. It's > not valid anymore: the UI of the recently used documents has been > changed since then. > > There are three widgets inside GTK, at the moment: a GtkMenu, useful > fo

Re: Recently Used Files Proposal

2006-04-27 Thread Murray Cumming
On Thu, 2006-04-27 at 15:57 +0100, Emmanuele Bassi wrote: > The email you are replying to is a year old [snip] Oh, sorry, I guess I overdid trying to find the top of the thread. I'm still not convinced that many applications will want to use a dialog without a menu list, or that there's a big use

Re: Deprecations

2006-04-27 Thread Mart Raudsepp
On Thu, 2006-04-27 at 10:34 -0400, Owen Taylor wrote: > On Thu, 2006-04-27 at 01:22 +0300, Mart Raudsepp wrote: > > On Wed, 2006-04-26 at 21:23 +0100, Ross Burton wrote: > > > On Wed, 2006-04-26 at 15:18 -0400, David Hampton wrote: > > > > > Would it make sense to mark all of the deprecated API in

Re: GooCanvas 0.3

2006-04-27 Thread Havoc Pennington
Damon Chaplin wrote: I've put GooCanvas 0.3 (a GTK+ cairo canvas widget) up at: http://www.dachaplin.dsl.pipex.com/goocanvas/ This release adds pretty much all of my list of essential features: o New GooCanvasPath item (similar to SVG path element). o Accessibility support. o Keyboard fo

Re: Deprecations

2006-04-27 Thread Magnus Bergman
On Thu, 27 Apr 2006 10:30:12 -0400 Owen Taylor <[EMAIL PROTECTED]> wrote: > On Wed, 2006-04-26 at 09:22 +0100, Ross Burton wrote: > > Hi, > > > > Would it make sense to mark all of the deprecated API in GLib and > > GTK+ with G_GNUC_DEPRECATED, so that people who are not using the > > DISABLE_DEP

Re: How to get a GtkWidget in to pixbuf

2006-04-27 Thread Kalle Vahlman
On 4/27/06, sadhees kumar <[EMAIL PROTECTED]> wrote: > In short I would like to know how to take a > GtkWidget in to a pixbuf. > >I tried the command gdk_pixbuf_get_from_drawable(), > but in vain. It would be very helpfull if anybody suggest me with s

Re: Deprecations

2006-04-27 Thread Behdad Esfahbod
On Thu, 27 Apr 2006, Owen Taylor wrote: > On Thu, 2006-04-27 at 01:22 +0300, Mart Raudsepp wrote: > > On Wed, 2006-04-26 at 21:23 +0100, Ross Burton wrote: > > > On Wed, 2006-04-26 at 15:18 -0400, David Hampton wrote: > > > > > Would it make sense to mark all of the deprecated API in GLib and GTK+

Re: Deprecations

2006-04-27 Thread Morten Welinder
... -Wcast-align ... That one will give you tons of warnings on some platforms with different alignments than i386. We do lots of GTK_NOTEBOOK(widget) type casts that are perfectly fine -- because there is an implied type check -- but can very well increase alignment. (GTK_NOTEBOOK is a sample.

Re: Reducing space between treeview rows

2006-04-27 Thread Morten Welinder
> Some time ago I posted to various gtk related lists about reducing > padding between treeview rows. The official word is that it cannot be done: || You probably want to set horizontal-padding and vertical-padding (both || GtkTreeView style properties) to zero (they are not zero by default). We

Re: GooCanvas 0.3

2006-04-27 Thread Matthias Clasen
On 4/27/06, Havoc Pennington <[EMAIL PROTECTED]> wrote: > Back in the day we added a "semi-private" API to GtkTextView with this > in mind, maybe you can use it if nobody has deleted it since... I think > you could even have a single GtkTextBuffer shared with the widget and a > canvas item. Still

Re: How to get a GtkWidget in to pixbuf

2006-04-27 Thread sampo . nurmentaus
Hi, On Thu, 27 Apr 2006, Kalle Vahlman wrote: On 4/27/06, sadhees kumar <[EMAIL PROTECTED]> wrote: In short I would like to know how to take a GtkWidget in to a pixbuf. I tried the command gdk_pixbuf_get_from_drawable(), but in vain. It woul