Re: GtkTextBuffer and pixmaps



On Fri, Jan 10, 2003 at 05:01:45PM +0000, Padraig O'Briain wrote:
> 
> Is there API which given a GtkTextBuffer will identify where the iamges are in 
> the GtkTextBuffer and what they are?

You have to iterate over the whole buffer and find the images, with
GtkTextIter.

Once you do that, there's a signal on GtkTextBuffer that's emitted
when a new image is added, so you shouldn't have to iterate again.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]