Hi,
Here is a sample of the code I am using to display a glade developed window.
using Gtk, Gtk.ShortNames
b = GtkBuilder(filename="/home/user/Documents/projects/Julia/gladeProjects/app.glade")
win = b["window1"]
showall(win)
Here is the glade file I copied from the some web page.
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<child>
<object class="GtkButton" id="button1">
<property name="label" translatable="yes">button</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
</object>
</child>
</object>
</interface>
when I try to run it using
julia ./app.glade
it compiles without error but no window is displayed.
When I type julia at the prompt and enter the julia environment I can enter each line of the julia code and the window is displayed. What is the problem? THanks in advance.