Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
wxsplashscreen
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
eigenfunction  
View profile  
 More options Feb 25 2012, 8:12 am
From: eigenfunction <emeka_1...@yahoo.com>
Date: Sat, 25 Feb 2012 05:12:57 -0800 (PST)
Local: Sat, Feb 25 2012 8:12 am
Subject: [erlang-questions] wxsplashscreen
Been trying to set up a simple splashscreen with wxerlang. Here is a
code snippet:

        Server = wx:new(),
%%      Parent = wxWindow:new(),
        BM = wxBitmap:new("Penguins.jpg",[{type,?wxBITMAP_TYPE_JPEG}]),
        SC = wxSplashScreen:new(bitmap,
                                                        ?wxSPLASH_CENTRE_ON_SCREEN,
                                                        2000,
                                                        Server,
                                                        100,
                                                        [
                                                         {pos,?wxDefaultPosition},
                                                         {size,?wxDefaultSize},
                                                         {style,?wxSTAY_ON_TOP}
                                                        ]),

It fails with the following error:
exception error: no function clause matching
                    wxSplashScreen:new(bitmap,2,2000,
                                       {wx_ref,0,wx,[]},
                                       100,
                                       [{pos,{-1,-1}},
                                        {size,{-1,-1}},
                                        {style,32768}]) (gen/
wxSplashScreen.erl, line 105)

Any Idea?
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Davis  
View profile  
 More options Feb 25 2012, 9:31 am
From: Steve Davis <steven.charles.da...@gmail.com>
Date: Sat, 25 Feb 2012 06:31:39 -0800 (PST)
Local: Sat, Feb 25 2012 9:31 am
Subject: Re: [erlang-questions] wxsplashscreen
Your first argument appears to be the atom 'bitmap'...

regs,
/s

On Feb 25, 7:12 am, eigenfunction <emeka_1...@yahoo.com> wrote:

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
eigenfunction  
View profile  
 More options Feb 25 2012, 10:02 am
From: eigenfunction <emeka_1...@yahoo.com>
Date: Sat, 25 Feb 2012 07:02:29 -0800 (PST)
Local: Sat, Feb 25 2012 10:02 am
Subject: Re: [erlang-questions] wxsplashscreen
I spent two hours on this thing and i could not figure out what was
wrong.

Thank you very much indeed.

On 25 Feb., 15:31, Steve Davis <steven.charles.da...@gmail.com> wrote:

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gianfranco Alongi  
View profile  
 More options Feb 25 2012, 10:57 am
From: Gianfranco Alongi <gianfranco.alo...@gmail.com>
Date: Sat, 25 Feb 2012 16:57:52 +0100
Local: Sat, Feb 25 2012 10:57 am
Subject: Re: [erlang-questions] wxsplashscreen
Just out of curiosity, did you not get a variable unused warning for BM?

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
eigenfunction  
View profile  
 More options Feb 25 2012, 11:43 am
From: eigenfunction <emeka_1...@yahoo.com>
Date: Sat, 25 Feb 2012 08:43:14 -0800 (PST)
Local: Sat, Feb 25 2012 11:43 am
Subject: Re: [erlang-questions] wxsplashscreen
Of course, i did. But this is just a snippet of a much bigger program
with many other unused variables, most  of them
are functions arguments.
Anyway, lesson learned ;-)

On 25 Feb., 16:57, Gianfranco Alongi <gianfranco.alo...@gmail.com>
wrote:

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »