similar to: tk mouse cursor icon widget tkwinfo tkfocus questions

Displaying 20 results from an estimated 400 matches similar to: "tk mouse cursor icon widget tkwinfo tkfocus questions"

2001 Feb 03
1
tk non-widget commands (esp. update and winfo)
Hi, I've been playing with the tcltk package. It's very nice to have access to buttons, menus etc. now. Thank you! Alas, I also have questions: In Tcl everything is a string [*]. This is not the case in R, of course. So why are return values of tk commands still strings? (Is there any other reason than speed or "package is work in progress"?) Example: > tt <-
2005 Feb 28
1
Getting width of Tk text widget via tcltk
Dear list members, Is it possible via a suitable tcltk command to get the *current* width, in characters, of a Tk text widget that has been resized with the mouse? In the following code, the reported width of the text widget doesn't change, even though it has been resized. I can, however, get the current width in pixels: > library(tcltk) > top <- tktoplevel() > textWindow <-
2009 Oct 19
1
Problem with geometry manager in TclTK
Hello, everyone. I have the following problem with TclTk: I create some windows and want to change their position with geometry manage (sometimes they will be centered, sometimes not). If the toplevel is created and its dimensions are gathered via 'tkwinfo', I get (usually) correct values. However, if this window is created by a function (in the following example, by 'ask.format')
2007 Jul 11
0
tkfocus issue
Dear All: I am stuck with this issue: I have a button on a TK window, once click it, it pops up a individual plot device: individual_plot <- function() { tkconfigure(overlay.button, state="normal") options(locatorBell = FALSE) plotfuntype() trellis.focus("panel", 1, 1,highlight=FALSE) panel.identify(labels=colnames(dataplot)) } Now I have
2009 Jul 09
1
Changing text in a tkentry widget
I searched the web and the list archives for a solution to this, but didn't see anything, so here goes. I'm new to tcltk. I'm trying to change the contents of a tkentry widget when a button is pressed. Once I get that working, the widget will be read only to the user. Here is some toy code: ############### require(tcltk) thisEnv=environment() tt<-tktoplevel() Name <-
2001 Feb 20
2
tcltk: testing for widgets?
Hallo! I want to test if a widget exists. Using Perl/Tk i can call the function tkexists(). How can I realise this function with R/tclTk ? Thanks -- Frank Gerrit Zoellner -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2008 Oct 30
3
using yscrollcommand in tkcanvas crashes R (PR#13231)
Full_Name: Sundar Dorai-Raj Version: 2.8.0 OS: Windows Submission from: (NULL) (76.220.41.126) The following code crashes R: library(tcltk) tt <- tktoplevel() tc <- tkcanvas(tt, yscrollcommand = function(...) tkset(ts, ...)) > sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
2009 Apr 14
0
disappearing dialog boxes when using tcltk
Dear all, I'm trying to use tcltk to build a small user-interface and couter the problem: It seems that sometimes the dialog box will be minimized automatically though I want it to be on top of the screen all the time. For example, when runing the following code, if you type in "a1", "a2", "a3", etc when being asked for an integer, the program is supposed to
2003 Jun 06
4
stuck tcltk scrollbars under Windows XP
Dear R-devel list members, I've encountered a problem with my Rcmdr package under Windows XP and could use some advice: The Rcmdr package uses the tcltk package to create menus and dialog boxes. My standard procedure when a dialog is created is to grab the focus -- e.g., by tkfocus(top) tkgrab(top) (Here, top is a top-level window -- say, containing one or more scrollbars.)
2008 Jul 18
0
Retrieving data from a tcl /tk function
Hello, I am sorry if this is an answered question, but I did my homework for a long while and couldn't figure out a way to retrieve data entry from a model dialog. In one of the examples compiled by James Wettenhall: odalDialog <- function(title, question, entryInit, entryWidth = 20, returnValOnCancel = "ID_CANCEL") { dlg <- tktoplevel() tkwm.deiconify(dlg)
2012 Nov 19
6
tcltk freezing using MS Windows for R-2.14+
I am the maintainer of a Bioconductor package (affylmGUI) which uses tcltk. It freezes inconsistently on MS Windows, but not Mac or Unix. see details below. After considerable testing I have reduced the problem from a few thousand lines of code to 30 lines! If you paste the following lines of code into an R window: testGUI <- function(){ require(tcltk) MainWindow <-
2006 Apr 12
1
rails api for dashboard widget like ruby rdoc widgets
hi guys, has someone here implemented rails api for dashboard widget like ruby rdoc widget? http://www.apple.com/downloads/dashboard/developer/rubyrdocwidget.html -- sig "kind regards" :name => " Arie Kusuma Atmaja ", :callme => " Arie ", :ym => " riyari3 ", :email => " ariekusumaatmaja@gmail.com ".chop!, :blog => "
2013 Jan 21
1
R Tcl/Tk: How to put widgets in text widget?
Dear all, please excuse the somewhat special question: >From within R I create a Tk windows with a list of checkboxes, which can bekome too long for the screen. The obvious solution would be to put all checkboxes into a frame and make that scrollable. Alas, there are (for whatever reason!) no scrollable frames in Tk :-( The usual workaround is to put widgets (my checkboxes) into a textbox,
2006 Dec 20
2
OSX Dashboard Widget for managing mongrels...
Hey everyone - I recently switched to using a Mac and have several different rails projects going and was getting tired of starting/stopping mongrels via the shell so wrote my first dashboard widget to do it for me. More details at the URL below... http://blog.pjkh.com/2006/12/20/mongrel-rails-dashboard-widget Hope those of you on OSX find it handy... feels good to finally give something
2006 Jul 30
1
javascript ''point to file'' widget (as seen in dreamweaver)
hi all. I''m planning a rails app and am wondering if anyone knows if there''s a javascript widget with the same functionality as dreamweavers ''point to file'' tool for those who have not seen this it is basically a small, four pointing arrow which you can click and hold on, and then drag and hold to a file or directory to select that file as a link
2006 Jun 22
1
Anybody got a character counting widget?
Just demo''d my app for marketing and they asked whether, on the big text fields, I could give a dynamic character counter so that as they approach the guideline maximum they''ll know. Seems like something that could be written by looking for key click events in the text field. Before I go writing one, though, I thought I''d check and see if anybody knows of such a
2006 Apr 18
0
custom content widget design
Hello all, I am trying to design a reusable widget content system, where I can easily lay out a bundle of widgets on a page and allow a user with proper administrative rights to click and change them. For the database storage, I don''t want to have to create a new table for every different classification of widget (ie, list, text body, image, etc). I would like to create a central
2003 Dec 13
1
widget hierarchy - program variables
Hi! During developing my little program, I''ve noticed, that the objects have a hierarchy, but now I don''t know what to do, if a widget initiates an event which has an effect to the parent, grandfather/brother/other relatives. Is there a tutorial for this aspect? Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ |
2008 Apr 14
1
[Bug 15498] New: mlb.com gameday widget does not render
http://bugs.freedesktop.org/show_bug.cgi?id=15498 Summary: mlb.com gameday widget does not render Product: swfdec Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: plugin AssignedTo: swfdec at lists.freedesktop.org ReportedBy:
2006 Feb 18
2
select widget in partial, can it use :index?
I know I can use :index => collection_counter with text_fields, but do they work with any version of select form helpers? Thanks! Ian