Signal

GtkTextBuffer::insert-pixbuf

Declaration

void
insert_pixbuf (
  GtkTextBuffer* self,
  const GtkTextIter* location,
  GdkPixbuf* pixbuf,
  gpointer user_data
)

Description [src]

The ::insert-pixbuf signal is emitted to insert a GdkPixbuf in a GtkTextBuffer. Insertion actually occurs in the default handler.

Note that if your handler runs before the default handler it must not invalidate the location iter (or has to revalidate it). The default signal handler revalidates it to be placed after the inserted pixbuf.

See also: gtk_text_buffer_insert_pixbuf().

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

location

Type: GtkTextIter

Position to insert pixbuf in textbuffer.

The data is owned by the caller of the function.
pixbuf

Type: GdkPixbuf

The GdkPixbuf to be inserted.

The data is owned by the caller of the function.