Gtk.Assistant.prototype.update_buttons_state

function update_buttons_state():void {
    // Gjs wrapper for gtk_assistant_update_buttons_state()
}

Forces assistant to recompute the buttons state.

GTK+ automatically takes care of this in most situations, e.g. when the user goes to a different page, or when the visibility or completeness of a page changes.

One situation where it can be necessary to call this function is when changing a value on the current page affects the future page flow of the assistant.

Since 2.10