Is there any function gstreamer support for event handling from ControlP5 ?
in
Contributed Library Questions
•
6 months ago
Hello guys,
I am trying use ControlP5 library to get event handling with gstreamer video library.
I want make my video window in sketch disappear if i click into menu button. the code is something like that ,
void menu() {
//adding menu list//
controlP5 = new ControlP5(this);
l= controlP5.addMultiList("MyList", 680, 150, 100, 12);
//adding new button to list
MultiListButton b;
b = l.add("Menu", 1);
//adding items to a sublist
b.add("level11", 11).setLabel("Video disappear");
}
public void level11(int theValue) {
myMovie.setVisible(true); ///something like that would be great to use
}
Any idea ??
1