1. wxEuphoria - picker controls (wxFilePickerCtrl etc)

is there any support for the wx classes derived from wxPickerBase (wxFilePickerCtrl, wxDirPickerCtrl, wxColourPickerCtrl etc.), and if not is it planned? i can't find any of these controls in the docs; i can load them from XRC files and they display fine, but i can't figure out whether i can actually make them do anything.

i'm specifically looking to use wxDirPickerCtrl; if this isn't yet supported, is there any way to emulate its functionality?

new topic     » topic index » view message » categorize

2. Re: wxEuphoria - picker controls (wxFilePickerCtrl etc)

strawman said...

is there any support for the wx classes derived from wxPickerBase (wxFilePickerCtrl, wxDirPickerCtrl, wxColourPickerCtrl etc.), and if not is it planned? i can't find any of these controls in the docs; i can load them from XRC files and they display fine, but i can't figure out whether i can actually make them do anything.

The XRC mechanism is built into wxWidgets, so it bypasses the "normal" create routines inside of wxEuphoria. These look useful and convenient. I guess I just hadn't noticed them before. They look pretty easy to wrap. If you could get the pointer to the underlying text control, you could use them, although right now, without writing new wrappers, you'd have to figure out the offset where the pointer was stored, and do it all manually.

strawman said...

i'm specifically looking to use wxDirPickerCtrl; if this isn't yet supported, is there any way to emulate its functionality?

Yes, you could create a button and a text box yourself, with a wxDirDialog tied in. There is a demo called dialog_demo.exw that uses the dir dialog (it also probably covers the functionality of some of the other pickers). It just puts the data into a static label instead of a text box.

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEuphoria - picker controls (wxFilePickerCtrl etc)

strawman said...

is there any support for the wx classes derived from wxPickerBase (wxFilePickerCtrl, wxDirPickerCtrl, wxColourPickerCtrl etc.), and if not is it planned? i can't find any of these controls in the docs; i can load them from XRC files and they display fine, but i can't figure out whether i can actually make them do anything.

i'm specifically looking to use wxDirPickerCtrl; if this isn't yet supported, is there any way to emulate its functionality?

I've wrapped the picker controls and checked the code into svn, along with a new pickers.exw demo.

Matt

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu