Re: porting gdk -> cairo

2010-08-11 Thread Allin Cottrell
On Wed, 11 Aug 2010 jcup...@gmail.com wrote: > > On 11 August 2010 02:14, Allin Cottrell wrote: > > rid of GdkGC.  I'd imagine that the effect I'm after is something > > that many GTP apps have need of, and it's trivial to achieve with > > the GDK API. > > I've found that XOR rubber banding is qu

Re: GtkIconView remove item

2010-08-11 Thread Tadej Borovšak
Hi. You need to remove the data from underlying model and your icon view will get updated automatically. Sample code that is capable of removing multiple items at a time would look like this: -- GtkIconView *icon_view; GtkListStore *store; GList*elements, *iter; /* Init

GtkIconView remove item

2010-08-11 Thread Alexander Kuleshov
Hello, I have GtkIconView in my C/gtk+ application. How to remove selected item of this GktIconView. I can select item, how can i delete this row? Thank you ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/l

Re: porting gdk -> cairo

2010-08-11 Thread Jean-Philippe Chancelier
Allin> (in response to my query about drawing a resizable outline rectangle Allin> on top of an image displayed in a GTK window, using cairo instead of Allin> the GDK drawing API) I have a naive question about the port gdk -> cairo. Is the cairo port drawing supposed to be a

Re: porting gdk -> cairo

2010-08-11 Thread jcupitt
On 11 August 2010 02:14, Allin Cottrell wrote: > rid of GdkGC.  I'd imagine that the effect I'm after is something > that many GTP apps have need of, and it's trivial to achieve with > the GDK API. I've found that XOR rubber banding is quite hard to do reliably in gdk. The problem I think is tha