Re: Which window widget to use?



On Thu, 2003-07-10 at 14:21, Rich Shepard wrote:
  I'm porting a modeling system from Microsoft to linux and initially the
main UI will be a plain window on which the application writes output and
accepts input; the GUI equivalent of printf() and scanf().

  What's the widget I want to use in gtk+2? I see viewports and other such
widgets, but I really don't need dialog boxes (except, perhaps, for error
messages). Just a window to which I can write and read with a menu on top.

You could have a window with a menu at the top, a GtkTextView widget for
output and finally a GtkEntry (or GtkTextView for multiple lines) for
input

-------------------------------------------------------------------
Rajarshi Guha <rajarshi presidency com> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
Breadth-first search is the bulldozer of science.
-- Randy Goebel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]