From: sfleming@cs.hw.ac.uk (Stewart T. Fleming)
Subject: UIL Examples required
Date: 22 Feb 91 03:07:55 GMT [thread overview]
Message-ID: <2358@odin.cs.hw.ac.uk> (raw)
I am just getting started programming with UIL; from what I find, I
think I would prefer banging my head against a wall....
Does anyone know where I can find non-trivial UIL examples ? I don't
have access to any general DECWindows programming documentation (that
got mysteriously left out of the installation kit). Specifically, I'm
having trouble getting "attached_dialog_box" widgets to size correctly
on startup.
object
s_window : main_window {
arguments {
width = 0; height = 0;
};
controls {
list_box s_list;
};
};
s_list : list_box {
arguments {
width = 500;
visible_items_count = 15;
};
};
Works correctly; the list box sizes to what I would expect. However, if
I put in an attached_dialog_box as the control of the main window, the
window appears about 5x5 pixels.
object
s_window : main_window {
controls {
attached_dialog_box s_dialog;
};
};
object
s_dialog : attached_dialog_box {
controls {
list_box : s_list;
};
};
I assume that the small size of the window in this case is due to the
margin settings of the adb. However, I would expect this to resize to
the list_box size. What is going wrong here ? Am I completely
off-track ?
Thanks for any help,
Stewart
--
sfleming@cs.hw.ac.uk ...ukc!cs.hw.ac.uk!sfleming
"Every political/monetary/computer system is doomed to collapse;
the trick is not being there when it happens."
reply other threads:[~1991-02-22 3:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox