mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
image: Update docs
Mention the new icon-size style classes, update the docs for removed arguments and return values, and add new functions to the docs.
This commit is contained in:
parent
f16fb1373e
commit
a28cf475af
@ -1509,6 +1509,7 @@ gtk_image_clear
|
||||
gtk_image_new
|
||||
gtk_image_set_pixel_size
|
||||
gtk_image_get_pixel_size
|
||||
gtk_image_set_icon_size
|
||||
gtk_image_get_icon_size
|
||||
<SUBSECTION Standard>
|
||||
GTK_IMAGE
|
||||
|
@ -68,7 +68,9 @@
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* GtkImage has a single CSS node with the name image.
|
||||
* GtkImage has a single CSS node with the name image. The style classes
|
||||
* .normal-icons or .large-icons may appear, depending on the #GtkImage::icon-size
|
||||
* property.
|
||||
*/
|
||||
|
||||
|
||||
@ -1037,6 +1039,10 @@ gtk_image_get_texture (GtkImage *image)
|
||||
* The returned string is owned by the #GtkImage and should not
|
||||
* be freed.
|
||||
*
|
||||
* Note: This function was changed in 3.94 not to use out parameters
|
||||
* anymore, but return the icon name directly. See gtk_image_get_icon_size()
|
||||
* for a way to get the icon size.
|
||||
*
|
||||
* Returns: (transfer none) (allow-none): the icon name, or %NULL
|
||||
*
|
||||
* Since: 2.6
|
||||
@ -1060,7 +1066,11 @@ gtk_image_get_icon_name (GtkImage *image)
|
||||
* %GTK_IMAGE_GICON (see gtk_image_get_storage_type()).
|
||||
* The caller of this function does not own a reference to the
|
||||
* returned #GIcon.
|
||||
*
|
||||
*
|
||||
* Note: This function was changed in 3.94 not to use out parameters
|
||||
* anymore, but return the GIcon directly. See gtk_image_get_icon_size()
|
||||
* for a way to get the icon size.
|
||||
*
|
||||
* Returns: (transfer none) (allow-none): a #GIcon, or %NULL
|
||||
*
|
||||
* Since: 2.14
|
||||
|
Loading…
Reference in New Issue
Block a user