add_action_widget


Description:

public void add_action_widget (Widget child, int response_id)

Adds an activatable widget to the action area of a `GtkDialog`.

GTK connects a signal handler that will emit the [[email protected]:GtkDialog:response] signal on the dialog when the widget is activated. The widget is appended to the end of the dialog’s action area.

If you want to add a non-activatable widget, simply pack it into the action_area field of the `GtkDialog` struct.

Parameters:

this

a `GtkDialog`

child

an activatable widget

response_id

response ID for child




2022 vala-language.org