gdk: document bitmap constructor return type
This commit is contained in:
parent
2bb67cb1db
commit
e289f105ae
1 changed files with 11 additions and 0 deletions
|
|
@ -249,6 +249,17 @@ gdk_pixmap_new (GdkDrawable *drawable,
|
|||
return _gdk_pixmap_new (source_drawable, width, height, depth);
|
||||
}
|
||||
|
||||
/**
|
||||
* gdk_bitmap_create_from_data:
|
||||
* @drawable: a #GdkDrawable, used to determine default values for the new bitmap
|
||||
* @data: a pointer to the data
|
||||
* @width: width of the new bitmap in pixels
|
||||
* @height: height of the new bitmap in pixels
|
||||
*
|
||||
* Creates a new bitmap from data in XBM format.
|
||||
*
|
||||
* Returns: (type GdkPixmap) (transfer full): the newly-created bitmap
|
||||
*/
|
||||
GdkPixmap *
|
||||
gdk_bitmap_create_from_data (GdkDrawable *drawable,
|
||||
const gchar *data,
|
||||
|
|
|
|||
Loading…
Reference in a new issue