https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • Do tableviews support "peeking" into very large datasets? ie, some kind of system to just say "I'm at position X and want Y elements". I need a view into a very large dataset and loading the whole thing into the table is almost certainly going to be a Bad Thing
    w

    wooden-horse-84574

    03/29/2023, 7:43 PM
    Do tableviews support "peeking" into very large datasets? ie, some kind of system to just say "I'm at position X and want Y elements". I need a view into a very large dataset and loading the whole thing into the table is almost certainly going to be a Bad Thing
  • virtual=true?
    b

    bright-gpu-74537

    03/29/2023, 7:47 PM
    virtual=true?
  • there is no sort of lazy loading though, you'll probably have to implement that yourself
    b

    bright-gpu-74537

    03/29/2023, 7:47 PM
    there is no sort of lazy loading though, you'll probably have to implement that yourself
  • Is heaps the only hashlink backend? wxwidgets should work on hl but it looks like nobody's jumped on that bomb yet <:arara:281377510154043402>
    w

    wooden-horse-84574

    03/29/2023, 8:00 PM
    Is heaps the only hashlink backend? wxwidgets should work on hl but it looks like nobody's jumped on that bomb yet
  • well, it will need externs for hl... and thats not a 10s thing
    b

    bright-gpu-74537

    03/29/2023, 8:45 PM
    well, it will need externs for hl... and thats not a 10s thing
  • schedule component for an app im working on:
    b

    bright-gpu-74537

    04/01/2023, 5:09 PM
    schedule component for an app im working on:
  • b

    bright-gpu-74537

    04/01/2023, 5:09 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1091771270116429884/schedule-view.gif▾

  • is there a haxeui or hxWidgets way to access clipboard on haxeui-hxwidgets?
    i

    icy-zebra-52882

    04/01/2023, 5:25 PM
    is there a haxeui or hxWidgets way to access clipboard on haxeui-hxwidgets?
  • ill check tomorrow, just heading out the door
    b

    bright-gpu-74537

    04/01/2023, 5:27 PM
    ill check tomorrow, just heading out the door
  • no worries, enjoy
    i

    icy-zebra-52882

    04/01/2023, 5:28 PM
    no worries, enjoy
  • ta
    b

    bright-gpu-74537

    04/01/2023, 5:28 PM
    ta
  • ```haxe // wxWidgets way var clipboard = Clipboard.get(); clipboard.open(); var textData = new TextDataObject("this is some text"); clipboard.setData(textData); var textData = new TextDataObject(); clipboard.getData(textData); trace(textData.text); clipboard.close(); // hxWidgets helpers Clipboard.textData = "this is some more text"; trace(Clipboard.textData); ```
    b

    bright-gpu-74537

    04/02/2023, 10:59 AM
    Copy code
    haxe
            // wxWidgets way
            var clipboard = Clipboard.get();
            clipboard.open();
            var textData = new TextDataObject("this is some text");
            clipboard.setData(textData);
            var textData = new TextDataObject();
            clipboard.getData(textData);
            trace(textData.text);
            clipboard.close();
    
            // hxWidgets helpers
            Clipboard.textData = "this is some more text";
            trace(Clipboard.textData);
  • has something changed in haxeui-hxwidgets recently? when I try to compile for windows, previously working, I now get this error `The code execution cannot proceed because wxbase32u_vc_custom.dll was not found. Reinstalling the program may fix this problem. `
    i

    icy-zebra-52882

    04/02/2023, 11:27 AM
    has something changed in haxeui-hxwidgets recently? when I try to compile for windows, previously working, I now get this error
    The code execution cannot proceed because wxbase32u_vc_custom.dll was not found. Reinstalling the program may fix this problem.
  • nothing changed as far as i remember
    b

    bright-gpu-74537

    04/02/2023, 11:29 AM
    nothing changed as far as i remember
  • was there a compiler flag something like `WXSTATIC`?
    i

    icy-zebra-52882

    04/02/2023, 11:31 AM
    was there a compiler flag something like
    WXSTATIC
    ?
  • yeah, are you using that?
    b

    bright-gpu-74537

    04/02/2023, 11:31 AM
    yeah, are you using that?
  • `-D WXSTATIC` in your .hxml
    b

    bright-gpu-74537

    04/02/2023, 11:31 AM
    -D WXSTATIC
    in your .hxml
  • ah there is a new stable wxwidgets
    i

    icy-zebra-52882

    04/02/2023, 11:32 AM
    ah there is a new stable wxwidgets
  • using `WXSTATIC` gets me 33 DLL mismatch errors so maybe you are expecting the newer ones
    i

    icy-zebra-52882

    04/02/2023, 11:32 AM
    using
    WXSTATIC
    gets me 33 DLL mismatch errors so maybe you are expecting the newer ones
  • you dont need the dlls if you are using wxstatic
    b

    bright-gpu-74537

    04/02/2023, 11:33 AM
    you dont need the dlls if you are using wxstatic
  • yeah but you still need them from somewhere even if they get compiled into the application
    i

    icy-zebra-52882

    04/02/2023, 11:33 AM
    yeah but you still need them from somewhere even if they get compiled into the application
  • sure, you need the libs, not the dlls
    b

    bright-gpu-74537

    04/02/2023, 11:33 AM
    sure, you need the libs, not the dlls
  • b

    bright-gpu-74537

    04/02/2023, 11:34 AM

    https://cdn.discordapp.com/attachments/565569107701923852/1092049402627113020/image.png▾

  • which version of wxwidgets is that?
    i

    icy-zebra-52882

    04/02/2023, 11:35 AM
    which version of wxwidgets is that?
  • 3.3.0
    b

    bright-gpu-74537

    04/02/2023, 11:36 AM
    3.3.0
  • `Using wxWidgets from: C:\SDK\wxWidgets\lib\vc_lib (version: 3.3.0)`
    b

    bright-gpu-74537

    04/02/2023, 11:36 AM
    Using wxWidgets from: C:\SDK\wxWidgets\lib\vc_lib (version: 3.3.0)
  • mine is 3.2.1
    i

    icy-zebra-52882

    04/02/2023, 11:38 AM
    mine is 3.2.1
  • shouldnt make a difference, there shouldnt be any version requirements - wouldnt hurt to upgrade anyway ofc, but it think something else is off
    b

    bright-gpu-74537

    04/02/2023, 11:39 AM
    shouldnt make a difference, there shouldnt be any version requirements - wouldnt hurt to upgrade anyway ofc, but it think something else is off
  • what are the errors after a full, clean build?
    b

    bright-gpu-74537

    04/02/2023, 11:39 AM
    what are the errors after a full, clean build?
  • ``` * Executing task: C:\HaxeToolkit\haxe\haxe.exe hxwidgets.hxml haxelib run hxcpp Build.xml haxe -DNO_PRECOMPILED_HEADERS="1" -DPLATFORM_WINDOWS="1" -DWXSTATIC="1" -Dhaxe="4.2.5" -Dhaxe3="1" -Dhaxe4="1" -Dhaxe_ver="4.205" -Dhaxeui-core="1.4.0" -Dhaxeui-hxwidgets="1.4.0" -Dhaxeui_core="1.4.0" -Dhaxeui_hxwidgets="1.4.0" -Dhaxeui_no_ssl="1" -DhxWidgets="1.9.0" -Dhxcpp="4.2.1" -Dhxcpp_api_level="400" -Dhxcpp_smart_strings="1" -Dsource_header="Generated by Haxe 4.2.5" -Dstatic="1" -Dtarget.name="cpp" -Dtarget.static="true" -Dtarget.sys="true" -Dtarget.threaded="true" -Dtarget.unicode="true" -Dtarget.utf16="true" -Dutf16="1" -DwxMAJOR_VERSION="3" -DwxMINOR_VERSION="2" -DwxRELEASE_NUMBER="1" -DwxWidgetsVersion="3.2.1" -I"C:/Users/Matt/haxe/hxcpp/4,2,1/" -I"C:/Users/Matt/haxe/hxWidgets/git/src/" -I"C:/Users/Matt/haxe/haxeui-hxwidgets/git/" -I"C:/Users/Matt/haxe/haxeui-core/git/" -I"src/" -I"" -I"C:\\HaxeToolkit\\haxe\\extraLibs/" -I"C:\\HaxeToolkit\\haxe\\std/cpp/_std/" -I"C:\\HaxeToolkit\\haxe\\std/" Using wxWidgets from: C:\wxWidgets-3.2.1\lib\vc_lib (version: 3.2.1) Link: Main.exe wxbase32u.lib(baselib_utilscmn.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj wxbase32u.lib(baselib_event.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj wxbase32u.lib(baselib_object.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj wxbase32u.lib(baselib_utilsexc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj ...```
    i

    icy-zebra-52882

    04/02/2023, 11:40 AM
    Copy code
    *  Executing task: C:\HaxeToolkit\haxe\haxe.exe hxwidgets.hxml 
    
    haxelib run hxcpp Build.xml haxe -DNO_PRECOMPILED_HEADERS="1" -DPLATFORM_WINDOWS="1" -DWXSTATIC="1" -Dhaxe="4.2.5" -Dhaxe3="1" -Dhaxe4="1" -Dhaxe_ver="4.205" -Dhaxeui-core="1.4.0" -Dhaxeui-hxwidgets="1.4.0" -Dhaxeui_core="1.4.0" -Dhaxeui_hxwidgets="1.4.0" -Dhaxeui_no_ssl="1" -DhxWidgets="1.9.0" -Dhxcpp="4.2.1" -Dhxcpp_api_level="400" -Dhxcpp_smart_strings="1" -Dsource_header="Generated by Haxe 4.2.5" -Dstatic="1" -Dtarget.name="cpp" -Dtarget.static="true" -Dtarget.sys="true" -Dtarget.threaded="true" -Dtarget.unicode="true" -Dtarget.utf16="true" -Dutf16="1" -DwxMAJOR_VERSION="3" -DwxMINOR_VERSION="2" -DwxRELEASE_NUMBER="1" -DwxWidgetsVersion="3.2.1" -I"C:/Users/Matt/haxe/hxcpp/4,2,1/" -I"C:/Users/Matt/haxe/hxWidgets/git/src/" -I"C:/Users/Matt/haxe/haxeui-hxwidgets/git/" -I"C:/Users/Matt/haxe/haxeui-core/git/" -I"src/" -I"" -I"C:\\HaxeToolkit\\haxe\\extraLibs/" -I"C:\\HaxeToolkit\\haxe\\std/cpp/_std/" -I"C:\\HaxeToolkit\\haxe\\std/" 
    Using wxWidgets from: C:\wxWidgets-3.2.1\lib\vc_lib (version: 3.2.1)
    Link: Main.exe
    wxbase32u.lib(baselib_utilscmn.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj
    wxbase32u.lib(baselib_event.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj      
    wxbase32u.lib(baselib_object.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj
    wxbase32u.lib(baselib_utilsexc.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in edf3cd3c_DataViewItem.obj   
    ...
1...161116121613...1687Latest