FROM : Aki Inoue
DATE : Thu Jun 08 22:52:28 2006
Frederick,
> What I want to do is to let a NSButton wotk the same way as for
> example
> the "Bold"-menu item that is "provided for free" with the Format-menu,
> or the Font-menu.
I just tried in IB hooking up a button sending -addFontTraits: to
NSFontManager, and it works expectedly.
Note the button tag needs to be set to 2 the bold font trait.
Aki
DATE : Thu Jun 08 22:52:28 2006
Frederick,
> What I want to do is to let a NSButton wotk the same way as for
> example
> the "Bold"-menu item that is "provided for free" with the Format-menu,
> or the Font-menu.
I just tried in IB hooking up a button sending -addFontTraits: to
NSFontManager, and it works expectedly.
Note the button tag needs to be set to 2 the bold font trait.
Aki
| Related mails | Author | Date |
|---|---|---|
| Fredrik Olsson | Jun 8, 14:27 | |
| Mradul Mandhanya | Jun 8, 16:29 | |
| Fredrik Olsson | Jun 8, 16:48 | |
| Fredrik Olsson | Jun 8, 16:48 | |
| Aki Inoue | Jun 8, 22:52 | |
| Mike Wright | Jun 9, 00:36 | |
| Fredrik Olsson | Jun 9, 08:43 | |
| Fredrik Olsson | Jun 9, 15:04 | |
| Aki Inoue | Jun 9, 20:58 | |
| Mike Wright | Jun 10, 20:48 | |
| Fredrik Olsson | Jun 12, 08:43 | |
| Aki Inoue | Jun 13, 21:20 |






Cocoa mail archive

