Issue with compiling Gtk


#1

Hi,

I build an executable using #PackageCompiler to execut the function Start()
Base.@ccallable function julia_main(ARGS::Vector{String})::Cint
Start()
return 0
end

In Start() I have some GtkLabel like this:

Start = function()
win = GtkWindow("Test Calculation ")
g = GtkGrid()

b1 = GtkLabel(“Select the Vector”)
c1 = GtkLabel(“Select the Scalar”)
end

The executable was build correctly, but when I run the .exe I have this error:

Gtk-WARNING **: 17:12:37.908: Attempting to add a widget with type GtkLabel to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

and the windows close suddenly

Any help?