Guest User

Untitled

a guest
Oct 20th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Gtk::FileChooserButton *chooserButton = nullptr;
  2. std::string idChooserButton = commonArray[b]["id"];
  3. builder->get_widget(idChooserButton, chooserButton);
  4. Php::call("var_dump",chooserButton);
  5. if (strcmp(commonArray[b]["action"], "click") == 0) {
  6. Php::Value callback = commonArray[b]["callback"];
  7. chooserButton->signal_selection_changed().connect(
  8. sigc::bind<Php::Value,Php::Value>(
  9. sigc::mem_fun(*this, &ParserGtk::callbacks),
  10. callback,
  11. chooserButton->get_filename()
  12. )
  13. );
  14. }
Add Comment
Please, Sign In to add comment