mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
docs: Add note to gdk_pixmap_new() about create_similar() function
gdk_window_create_similar_surface() is basically the replacement for this function.
This commit is contained in:
parent
997d3aada6
commit
3df3ff9a3a
@ -43,6 +43,11 @@ these types.
|
||||
<para>
|
||||
Create a new pixmap with a given size and depth.
|
||||
</para>
|
||||
<para>
|
||||
Please use gdk_window_create_similar_surface() instead of this
|
||||
function if you're not forced to use a #GdkPixmap. It is intended
|
||||
as the replacement function for this function in GTK 3.
|
||||
</para>
|
||||
|
||||
@drawable: A #GdkDrawable, used to determine default values
|
||||
for the new pixmap. Can be %NULL if @depth is specified,
|
||||
|
Loading…
Reference in New Issue
Block a user