mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 07:40:47 +00:00
Fix target-action
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
085cb484ad
commit
3f76d4ce1b
3 changed files with 34 additions and 4 deletions
|
@ -257,6 +257,29 @@
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
//
|
||||
// Target-actions stuff
|
||||
//
|
||||
- (void) setTarget: (id)t
|
||||
{
|
||||
_target = t;
|
||||
}
|
||||
|
||||
- (id) target
|
||||
{
|
||||
return _target;
|
||||
}
|
||||
|
||||
- (void) setAction: (SEL)s
|
||||
{
|
||||
_action = s;
|
||||
}
|
||||
|
||||
- (SEL) action
|
||||
{
|
||||
return _action;
|
||||
}
|
||||
|
||||
//
|
||||
// Setting the Delegate
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue