New function to create a pixbuf pointing to a subregion of another pixbuf.
2000-11-01 Havoc Pennington <hp@pobox.com> * gdk-pixbuf.c (gdk_pixbuf_new_subpixbuf): New function to create a pixbuf pointing to a subregion of another pixbuf. 2000-11-01 Havoc Pennington <hp@pobox.com> * gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList on a label (gtk_label_finalize): unref the attr list if any. * gtk/testgtk.c (create_get_image): close test on second click (make_message_dialog): close dialog if it exists * gdk/gdkpango.c (gdk_draw_layout): Handle rise attribute * gdk-2.0.pc.in (Requires): Make it require gdk-pixbuf-2.0 not gdk-pixbuf * gtk/gtklabel.c (gtk_label_set_markup): new function to set label from Pango markup format (gtk_label_set_markup_with_accel): ditto but with accelerator parsing * gtk/gtkimage.c (gtk_image_expose): reformatting. * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Hack to reflect current state of GDK - use gdk_drawable_get_colormap, etc. Check GDK_IS_WINDOW() not !GDK_IS_PIXMAP() to decide whether to call gdk_window_get_origin(). * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha): implement GDK_PIXBUF_ALPHA_FULL
This commit is contained in:
committed by
Havoc Pennington
parent
da5fdc1360
commit
fe9f9d03f4
@ -388,6 +388,7 @@ gtk_text_buffer_set_text (GtkTextBuffer *buffer,
|
||||
*/
|
||||
|
||||
static void
|
||||
|
||||
gtk_text_buffer_real_insert_text (GtkTextBuffer *buffer,
|
||||
GtkTextIter *iter,
|
||||
const gchar *text,
|
||||
@ -556,11 +557,11 @@ gtk_text_buffer_insert_interactive_at_cursor (GtkTextBuffer *buffer,
|
||||
* Copies text, tags, and pixbufs between @start and @end (the order
|
||||
* of @start and @end doesn't matter) and inserts the copy at @iter.
|
||||
* Used instead of simply getting/inserting text because it preserves
|
||||
* images and tags. If @start and @end are in a different buffer
|
||||
* from @buffer, the two buffers must share the same tag table.
|
||||
* images and tags. If @start and @end are in a different buffer from
|
||||
* @buffer, the two buffers must share the same tag table.
|
||||
*
|
||||
* Implemented via multiple emissions of the insert_text and
|
||||
* apply_tag signals, so expect those.
|
||||
* Implemented via emissions of the insert_text and apply_tag signals,
|
||||
* so expect those.
|
||||
**/
|
||||
void
|
||||
gtk_text_buffer_insert_range (GtkTextBuffer *buffer,
|
||||
|
||||
Reference in New Issue
Block a user