[fxruby-users] foxGUIb - how do you insert a title bar icon?

Meinrad Recheis meinrad.recheis at gmail.com
Tue Mar 23 11:27:18 EDT 2010

Ah, I see, you expect foxguib to generate the right code for you ;) ... I am
afraid that isn't so easy, and I have forgotten about foxguib's internals

I was talking about setting the icon later in your hand coded extensions to
the generated code.

-- henon

On Tue, Mar 23, 2010 at 3:19 PM, Paul Carvalho <tester.paul at gmail.com>wrote:

> On 23 March 2010 05:44, Meinrad Recheis wrote:
>> Hi Paul,
>> Just, do it as you would do it with FXRuby using the instance of the
>> FXRuby mainwindow. IIRC a variable called @topwin is generated by foxguib
>> where you can access it.
>> -- henon
> umm, I'm afraid I don't understand this advice.
> I tried modifying the construct_widget_tree method to include a "w.icon"
> property for the mainwindow, but it didn't work. (I guessed, oh well.)  I
> tried adding "setIcon()" in the initialize and init methods but just got
> different errors.
> Can you give an example in a line or two of how you can do this?
> Thanks.
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100323/16980295/attachment.html>

More information about the fxruby-users mailing list