struct Gtk::Assistant::ApplySignal

Overview

Emitted when the apply button is clicked.

The default behavior of the GtkAssistant is to switch to the page after the current page, unless the current page is the last one.

A handler for the ::apply signal should carry out the actions for which the wizard has collected data. If the action takes a long time to complete, you might consider putting a page of type %GTK_ASSISTANT_PAGE_PROGRESS after the confirmation page and handle this operation within the Gtk::Assistant::#prepare signal of the progress page.

Defined in:

auto/gtk-4.0/assistant.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Nil)) #

def connect(handler : Proc(Nil)) #

def connect(handler : Proc(Gtk::Assistant, Nil)) #

def connect_after(&block : Proc(Nil)) #

def connect_after(handler : Proc(Nil)) #

def connect_after(handler : Proc(Gtk::Assistant, Nil)) #

def emit : Nil #

def name #