mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Added and implemented some methods for the handling of richt text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11488 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3b725d32e0
commit
618ba42c09
1 changed files with 28 additions and 0 deletions
|
@ -544,6 +544,34 @@ static Class textFieldCellClass;
|
|||
return YES;
|
||||
}
|
||||
|
||||
//
|
||||
// Rich Text
|
||||
//
|
||||
- (void)setAllowsEditingTextAttributes:(BOOL)flag
|
||||
{
|
||||
[_cell setAllowsEditingTextAttributes: flag];
|
||||
}
|
||||
|
||||
- (BOOL)allowsEditingTextAttributes
|
||||
{
|
||||
return [_cell allowsEditingTextAttributes];
|
||||
}
|
||||
|
||||
- (void)setImportsGraphics:(BOOL)flag
|
||||
{
|
||||
[_cell setImportsGraphics: flag];
|
||||
}
|
||||
|
||||
- (BOOL)importsGraphics
|
||||
{
|
||||
return [_cell importsGraphics];
|
||||
}
|
||||
|
||||
- (void)setTitleWithMnemonic:(NSString *)aString
|
||||
{
|
||||
[_cell setTitleWithMnemonic: aString];
|
||||
}
|
||||
|
||||
//
|
||||
// NSCoding protocol
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue