Hi,
> Impossible to say: you have not provided enough information in your post, n=
> or enough context to make sense of the fluid fragments.
sorry for inconvenience.
In fact I'm not using fluid. I work currently on a software called ZynAddSubFx
to give a better interface. The problem is :
I have a class ADnoteVoice
class ADvoicelistitem {open : {public Fl_Group}
} {
Function {make_window()} {open private
} {
Fl_Window ADnoteVoiceListItem {open
private xywh {262 736 615 100} type Double box UP_FRAME
class Fl_Group visible
} {... etc
That work perfectly. I have a button
Fl_Button {} {
label {Show Voice Parameters}
callback {ADnoteVoice->show();}
xywh {5 400 170 25} labelsize 12
}
If I click on this the ADnoteVoice load in a separate window.
This work perfectly too.
I want the ADnoteVoice window not show as separate window but in main windows.
I have created a Fl_group named test :
Fl_Group test {
label {VOICE PARAMETERS} open
xywh {540 5 768 657} box UP_FRAME labeltype EMBOSSED_LABEL labelfont 1
labelsize 13 align 17
}
And modified the callback of the button
Fl_Button {} {
..
callback
{ADnoteVoice->position(541,35);test->add(ADnoteVoice);ADnoteVoice->show();}
..
}
This work perfectly. If I click on the button The ADnoteVoice show embedded in
the FL_group test.
The problem is that I want this ADnoteVoice automatically show when the main
window start without clicking on the button
I have tested this code for the FL_Group :
Fl_Group test {
label {VOICE PARAMETERS} open
xywh {540 5 768 657} box UP_FRAME labeltype EMBOSSED_LABEL
labelfont 1 labelsize 13 align 17
code {ADnoteVoice->position(541,35);
test->add(ADnoteVoice);
ADnoteVoice->show();}
}
But the software hang. I'm not understand really what append.
Thanks in advance for your answer
Best Regards
Pierrotlo
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk