Actually when you have set the font or the title of a button cell with
the -setFont: or -setTitle: methods, you cannot anymore retrieve the
image associated with the button cell because the cell has been
converted from NSImageCellType to NSTextCellType and the -image method
is written like
Here is an updated set of patches... I hope it's ok now : I removed the
action send in NSButtonCell and also the NSWindow patch (-performClick:
is kept until better solution is found).
I think it is ok to commit.
?
Quentin.
NSButton.h.patch
Description: Binary data
NSCell.h.patch
This mail is an automated notification from the bugs tracker
of the project: GNUstep.
/**/
[bugs #8374] Full Item Snapshot:
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=8374
Project: GNUstep
Submitted by:
Quentin Mathé wrote:
Here is an updated set of patches... I hope it's ok now : I removed the
action send in NSButtonCell and also the NSWindow patch (-performClick:
is kept until better solution is found).
I think it is ok to commit.
As I wrote before, I like the patch. There are a few
Alexander Malmberg wrote:
snip
With this patch, I don't get any window drifting
snip
+
+ /*
+ We only update the position hints if we're on the screen.
+ Otherwise, the window manager might not have added decorations
+ (if any) to the window yet.
Le 30 mars 04, 22:18, Fred Kiefer a crit :
Quentin Math wrote:
Actually when you have set the font or the title of a button cell
with the -setFont: or -setTitle: methods, you cannot anymore retrieve
the image associated with the button cell because the cell has been
converted from
Kazunobu Kuriyama wrote:
BTW, Alex, do you have any plan to have GNUstep support
NSViewDidChangeNotification?
I don't know, since I don't know what it is. :) If you send me a patch
for -gui that adds documentation and stubs, I could look at it and fill
in the implementation if it's an
Kazunobu Kuriyama wrote:
Alexander Malmberg wrote:
snip
With this patch, I don't get any window drifting
snip
+
+/*
+We only update the position hints if we're on the screen.
+Otherwise, the window manager might not have added decorations
+
Quentin Mathé wrote:
Here is an updated set of patches... I hope it's ok now : I removed the
action send in NSButtonCell and also the NSWindow patch (-performClick:
is kept until better solution is found).
I think it is ok to commit.
?
Some lines seem to be longer than 80 characters, but