Search the web
Sign In
New User? Sign Up
VisualWx
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Using GenBitmapButton in VisualWx?   Message List  
Reply | Forward Message #389 of 587 |
Hello.

First of all, sorry if this has already been discussed - I'm new here,
and I couldn't find anything by searching...

Since there's virtually no documentation, especially regarding custom
components, I thought I'd post my question here, in the hope that
someone out there can help me.

I'm writing a Python program using visualWx to design the interface (I
simply like Active State's Komodo better for its code intelligence).
Visual Wx is by far the best IDE for interface design of those I've tried.

What I want to do is use the GenBitmapButton from wx.lib.buttons in
stead of the not-so-great wx.BitmapButton. I'm trying to add it as a
Custom Component. It works... almost. The only thing I can't figure
out is how to make the "Bitmap" functionality work - it's rather
tedious to write the code by hand, and the regular Bitmap related
components seem to work just fine.

To clarify: I want a Custom Component named "GenBitmapButton" which,
when placed, works out-of-the-box exactly like a regular
wxBitmapButton - the ability to, for instance, set the "bitmap" stuff
by interface rather than by code...

I hope I'm making this clear enough. English isn't my first language,
so please ask me if I'm being incomprehensible...

Regards,
Krank




Tue Aug 7, 2007 12:22 pm

discordiankrank
Offline Offline
Send Email Send Email

Forward
Message #389 of 587 |
Expand Messages Author Sort by Date

Hello. First of all, sorry if this has already been discussed - I'm new here, and I couldn't find anything by searching... Since there's virtually no...
discordiankrank
Offline Send Email
Aug 7, 2007
12:23 pm

... 1) Add "custom control" from project panel menu (Add file | frame | panel > Custom control) 2) modify & save your cotrol (not to close the window custom...
postatoto
Offline Send Email
Aug 7, 2007
10:46 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help