home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!caen!sol.ctr.columbia.edu!mary.fordham.edu!sbhatia
- From: sbhatia@mary.fordham.edu (SABU)
- Subject: how to create a button using XLIB????
- Sender: nobody@ctr.columbia.edu
- Organization: Fordham University
- Date: Thu, 5 Nov 1992 14:57:00 GMT
- News-Software: VAX/VMS VNEWS 1.41
- Message-ID: <5NOV199210570324@mary.fordham.edu>
- Distribution: usa
- X-Posted-From: mary.fordham.edu
- NNTP-Posting-Host: sol.ctr.columbia.edu
- Lines: 24
-
-
- Hi,
-
- Could anybody out there guide me as to how one goes about
- creating buttons using XLIB. The issues that I am very interested in
- are for ex-: who supplies the colormap, the caller or does the
- button widget create it's own colormap. How to change the color of the button
- when user points to it and presses the mouse button. How do
- you handle expose events, like for example, I create a button to quit.
- I place it on some window, but that window gets covered by another window
- when I raise this window I would like to restre the contents of
- the button.
-
-
- thanks,
-
- sabu
-
- ////////////////////////////////////////////////////////////////////////
- / Internet: SBHATIA@mary.fordham.edu /
- / BITnet: SBHATIA@FORDMULC /
- / /
- / /
- ////////////////////////////////////////////////////////////////////////
-