Hi John, > These will require a C++ wxLuaApp class that have its virtual functions > called by wxWidgets and then forward them to an overridden Lua function if > supplied, similar to how printing is implemented.
That's a good lead; I'll take a look at that. > Sorry, I don't know. To be sure, these are basically drag and drop handlers? Mostly, except probably MacAppReopen. I think they all have the same structure with C++ callback function called, which then calls a Lua function (if setup). Paul. On Thu, Oct 22, 2015 at 8:52 PM, John Labenski <jlaben...@gmail.com> wrote: > On Wed, Oct 21, 2015 at 5:52 PM, Paul K <paulclin...@yahoo.com> wrote: >> >> Hi John, >> >> > I'm still in need of having MacNewFile, MacOpenFiles, and MacReopenApp >> > methods (http://docs.wxwidgets.org/trunk/classwx_app.html) and would >> > appreciate any update on when you may have chance to add them. >> >> Do you have any update on Mac* methods or any suggestion on how these >> can be added? Maybe you can do one or two of them and I'll use it as >> an example to complete the other methods? It would be good to also add >> MacPrintFile and MacOpenURL as my product now supports file printing >> as well. >> > > These will require a C++ wxLuaApp class that have its virtual functions > called by wxWidgets and then forward them to an overridden Lua function if > supplied, similar to how printing is implemented. > > The problem is that I don't have a Mac so I can't test and this not the sort > of code that can be blindly written with any hope of it working or even > compiling. > >> >> If you are not available to work on this, can you recommend someone >> who can do this or at least to provide some initial implementation. >> Thank you. >> > > Sorry, I don't know. To be sure, these are basically drag and drop handlers? > > Regards, > John > > >> On Sat, Feb 21, 2015 at 2:52 PM, Paul K <paulclin...@yahoo.com> wrote: >> > Hi John, >> > >> > I'm still in need of having MacNewFile, MacOpenFiles, and MacReopenApp >> > methods (http://docs.wxwidgets.org/trunk/classwx_app.html) and would >> > appreciate any update on when you may have chance to add them. >> > >> > If you don't have time at all to work on these and other methods, could >> > you >> > give me a hint on how these can be added or maybe implement one of them >> > and >> > I'll take care of the others? I can add existing methods (like those >> > needed >> > for wxSTC or wxTreeCtrl), but it seems like these methods need some sort >> > of >> > callback and I don't know how to provide that. >> > >> > Paul. >> > >> > >> > On Thu, Oct 30, 2014 at 11:01 AM, Paul K <paulclin...@yahoo.com> wrote: >> >> >> >> Hi John, >> >> >> >> >> > I'm looking for a way to provide MacNewFile, MacOpenFiles, and >> >> >> > MacReopenApp methods >> >> >> > (http://docs.wxwidgets.org/trunk/classwx_app.html), but can't >> >> >> > figure >> >> >> > out how to do this in wxlua and don't see this in any of the >> >> >> > examples. >> >> >> >> >> >> Can these methods be used with the current version of wxlua or do >> >> >> they >> >> >> need to be added first? >> >> > >> >> > They need to be added, it should be doable. >> >> >> >> Any plans to add these methods? >> >> >> >> Also, I have a short list of various methods that exist in wxwidgets >> >> 3.x, but are missing from wxlua API: >> >> >> >> wxTopLevelWindow needs EnableFullScreenView >> >> wxTreeCtrl needs GetFocusedItem, SetFocusedItem, ClearFocusedItem >> >> wxSTC needs ScrollRange, ScrollCaret, SetFontQuality, AddStyledText >> >> wxAuiTabArt needs SetColour and SetActiveColour >> >> >> >> If it makes things easier for you, I can probably submit the initial >> >> patch that adds these methods, but AddStyledText seems to be disabled >> >> explicitly, so I'd appreciate if you could check why that's the case. >> >> Thank you. >> >> >> >> Also, it's possible to provide my own wxAuiTabArt provider? >> >> >> >> Paul. >> > >> > > > ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users