Another issue for the documentation

The documentation states:


gtk_button_set_alignment has been deprecated since version 3.14 and
should not be used in newly-written code.

Access the child widget directly if you need to control its alignment.


Now, while the image can be retrieved with the gtk_button_get_image(),
there is only
function that retrieves the button text but not the label child.

How do I retrieve the GtkLabel which is a child of GtkButton()?

Thank you for the help.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]