Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* UIL Examples required
@ 1991-02-22  3:07 Stewart T. Fleming
  0 siblings, 0 replies; only message in thread
From: Stewart T. Fleming @ 1991-02-22  3:07 UTC (permalink / 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."


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1991-02-22  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-02-22  3:07 UIL Examples required Stewart T. Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox