Take tcl window to the foreground
This commit is contained in:
parent
e9c5f887ab
commit
5c4947232a
@ -17,6 +17,7 @@ copyMusoExamleTo <- function(example = NULL, destination = NULL){
|
|||||||
tcltk::tclRequire("BWidget")
|
tcltk::tclRequire("BWidget")
|
||||||
tcltk::tktitle(choiceWin) <- "Choose an example!"
|
tcltk::tktitle(choiceWin) <- "Choose an example!"
|
||||||
tcltk::tcl("wm","geometry",choiceWin,"200x50")
|
tcltk::tcl("wm","geometry",choiceWin,"200x50")
|
||||||
|
tcl("wm", "attributes", base, topmost=TRUE)
|
||||||
choiceValues <- basename(list.dirs(system.file("examples","",package = "RBBGCMuso"),recursive = FALSE))
|
choiceValues <- basename(list.dirs(system.file("examples","",package = "RBBGCMuso"),recursive = FALSE))
|
||||||
choices <- tcltk::tkwidget(choiceWin,"ComboBox",
|
choices <- tcltk::tkwidget(choiceWin,"ComboBox",
|
||||||
editable = FALSE, values = choiceValues,
|
editable = FALSE, values = choiceValues,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user