Re: Xaw: Label widget class
Tim Roberts <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Organization | Providenza & Boekelheide, Inc. |
| Message-ID | <[email protected]> |
Alexander Pohoyda wrote: >There's a feature to draw a pixmap on the left of a label, but why is >this done using XCopyPlane(..., 1L) and not XCopyArea() instead? > > > Because the original Xaw widget set is an antique, designed when even televisions were only black and white. OK, that's a joke, but the sentiment is correct. It wasn't designed for color pixmaps. >I'd very like to have color pixmaps in labels and buttons, which I >suppose is only possible with XCopyArea() call. Please correct me if >I'm wrong. > > Yes, but that's not the only place it will burn you. Xaw is so yesterday. There has been some work at updating it (check for Xaw3d, XawPlus, or XawXpm), but I suspect you'd be better off moving into the 1990s with something like gtk or Qt. -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc.