Path: utzoo!attcan!uunet!lll-winken!ames!pasteur!cory.Berkeley.EDU!dheller From: dheller@cory.Berkeley.EDU (Dan Heller) Newsgroups: comp.windows.x Subject: Parent <-> child communications in widget trees Message-ID: <12029@pasteur.Berkeley.EDU> Date: 6 Apr 89 01:34:48 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: dheller@cory.Berkeley.EDU (Dan Heller) Organization: University of California, Berkeley Lines: 21 As I understand it, when a resize event happens, the composite widget is supposed to communicate with its children on what it intends to do with them. That is, it should loop thru the list of children and tell them, "I want to make you this size and move you to that corner" and the child responds with "you can move me to that cornder and change my height, but you can't change my width" and promptly return the value, XtGeometryAlmost and specify what it wants in the reply structure. Yet, when I examine the form and box widgets in the athena widget set, neither of these widgets do this. However, they *do* call resize and queries on themselves, but not on their children. Am I misunderstanding how this is supposed to work or is the athena form and box widgets written incorrectly/incompletely? Does anyone have a composite widget which does communicate to the child in the fashion in which it's supposed to (as I understand it)? (please followup to the newsgroup or both to me -and- the newsgroup) Dan Heller