Graphical User Interface

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Mon, 08 Jan 2007 16:38:18 -0600


I am trying to build a GUI. Unfortunately the documents are sparse, as are examples.

The TGComboBox and TGListBox do not have sensible default sizes. Unfortunately, the only example using them, guitest.C, contains HARD-CODED sizes for them -- a very bad idea.

How can I set reasonable default sizes for my widgets? How can I determine how many pixels an "M" is, wide and tall, for the default font of these widgets?

Tom Roberts Received on Mon Jan 08 2007 - 23:38:34 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 09 2007 - 17:50:00 CET