procedure Destroy (Data : in out User_Data_Type)
type Gtk_Builder_Connect_Func is access procedure
(Builder : not null access Gtk.Builder.Gtk_Builder_Record'Class;
Object : not null access Glib.Object.GObject_Record'Class;
Signal_Name : UTF8_String;
Handler_Name : UTF8_String;
Connect_Object : access Glib.Object.GObject_Record'Class;
Flags : Glib.G_Connect_Flags;
User_Data : User_Data_Type);
This is the signature of a function used to connect signals. It is used by the Gtk.Builder.Connect_Signals and Gtk.Builder.Connect_Signals_Full methods. It is mainly intended for interpreted language bindings, but could be useful where the programmer wants more control over the signal connection process. Note that this function can only be called once, subsequent calls will do nothing. Since: gtk+ 2.12
a Gtk.Builder.Gtk_Builder
object to connect a signal to
name of the signal
name of the handler
a Glib.Object.GObject, if non-null, use g_signal_connect_object
Glib.G_Connect_Flags to use
user data
procedure Set_Connect_Func
(Self : Glib.Object.GObject_Class;
Connect_Func : Gtk_Builder_Connect_Func;
Connect_Data : User_Data_Type;
Connect_Data_Destroy : Glib.G_Destroy_Notify_Address)
For use in language bindings, this will override the default Gtk_Builder_Connect_Func to be used when parsing GtkBuilder XML from this class's template data. Note that this must be called from a composite widget classes class initializer after calling gtk_widget_class_set_template. Since: gtk+ 3.10
The Gtk_Builder_Connect_Func to use when connecting signals in the class template
The data to pass to Connect_Func
The Glib.G_Destroy_Notify_Address to free Connect_Data, this will only be used at class finalization time, when no classes of type Widget_Type are in use anymore.
type User_Data_Type (<>) is private;