[fxruby-users] FXLabel: ca'nt set the Icon attibute
Gérard Ménochet
gerard.menochet at wanadoo.fr
Wed May 31 10:00:04 EDT 2006
Hi,
trying that:
aLabel = FXLabel.new(menuBar35,nil,@@maximizeIcon,0)
aLabel.icon = @@restoreIcon # ok
aLabel.connect(SEL_LEFTBUTTONPRESS) do |sender, selector, data|
case sender.icon
when @@maximizeIcon
sender.icon = @@restoreIcon
when @@restoreIcon
sender.icon = @@maximizeIcon
end
0
end
Result
abnormal program termination
test7.rb:161: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-mswin32]
note: I'm aware I could file a bug report but it seems i have some problems with the account name
Gérard Ménochet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20060531/c6736ec7/attachment-0001.htm
More information about the fxruby-users
mailing list