RE: [Xbae-discuss] Column Labels and XmStrings
Brought to you by:
dannybackx
From: Danny B. <dan...@sk...> - 2003-10-14 21:56:28
|
Ok, give me a couple of days (that probably means two weeks). Danny On Mon, 2003-10-13 at 21:24, Page, Andrew (N-OXFORD) wrote: > We have several applications that are making use of the XbaeMatrix. We have > one application where it is used several times. In each use the columns are > to be sorted on their data when the column button is clicked. At the > present them we indicate which column is being sorted and in which direction > by appending "(asc)", "(desc)" or nothing, to the column label. However, we > have a client department that is absolutely adamant about having the sort > indicator be an arrow of some description, or to paraphrase, "make it look > like Windows." > While we feel that this present implementation is more than sufficient, > especially considering that the XbaeMatrix widget is doing so much for us > already(Thank you, by the way), this department has refused to budge on this > issue. > > With an XmString capability for the column headers, we would be able to > format the column headers with a standard font, switch to symbol font, then > draw the delta, or reverse delta character to indicate the sort direction. > > > > -----Original Message----- > From: Danny Backx [mailto:dan...@sk...] > Sent: Monday, October 13, 2003 3:10 PM > To: Page, Andrew (N-OXFORD) > Cc: 'xba...@li...' > Subject: Re: [Xbae-discuss] Column Labels and XmStrings > > > I don't see a reason in your explanation why you would > need the column headers to be XmString. > Why do you need it ? > > (It looks like it's not hard to add XmString support for this, but I don't > like adding unnecessary features. The Matrix has too many resources > already.) > > Danny > > On Mon, 2003-10-13 at 15:35, Page, Andrew (N-OXFORD) wrote: > > According to everything that I've read in the mailing list, the > > 'buttons' that are drawn on the column headers are not actual widgets, > > but simply text drawn there. > > > > We have a need to put somewhat more complex graphics, namely a > > 'sort indicator', into these column headers, the 'delta' sign and what > > appears to be an upside down delta(char code 0xD1) in the Symbol font > > would suffice as sort indicators, but we'd need to express the column > > label as an XmString, as opposed to C String. > > > > Is there any way to get the XbaeMatrix widget to draw an XmString > > for the column label? > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Xbae-discuss mailing list > Xba...@li... > https://lists.sourceforge.net/lists/listinfo/xbae-discuss > |