mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Added TabIface C++ wrapper for GUI::Tab C++ class,
exported the TabIface to Perl.
This commit is contained in:
parent
1d10a2293a
commit
09c9f6bdc3
9 changed files with 33 additions and 0 deletions
|
@ -170,6 +170,10 @@ sub _init_tabpanel {
|
|||
print "PRESETS_CHANGED_EVENT: ", $event->GetString, "\n";
|
||||
});
|
||||
Slic3r::GUI::create_preset_tabs(wxTheApp->{preset_bundle}, wxTheApp->{app_config}, $VALUE_CHANGE_EVENT, $PRESETS_CHANGED_EVENT);
|
||||
$self->{options_tabs2}{print} = Slic3r::GUI::get_preset_tab("Print");
|
||||
$self->{options_tabs2}{filament} = Slic3r::GUI::get_preset_tab("Filament");
|
||||
$self->{options_tabs2}{printer} = Slic3r::GUI::get_preset_tab("Printer");
|
||||
# $self->{options_tabs2}{print}->rebuild_page_tree();
|
||||
|
||||
if ($self->{plater}) {
|
||||
$self->{plater}->on_select_preset(sub {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue