Displaying 20 results from an estimated 60000 matches similar to: "adding a Image to a Button using Tk and ruby?"
2012 Nov 10
0
JOB: Late-Stage Video Sharing Site, Dev Needed
Hello,
I am seeking a developer to help complete the launch-critical elements of a
new video sharing website. Front-end features and UI are about 90%
complete, so this role will primarily consist of beefing up back-end admin
features, troubleshooting/polishing existing features, and making minor UI
and feature tweaks.
*MUST BE* well versed in: Ruby, Javascript, HTML, CSS, Capistrano, Apache
2010 Oct 18
5
How to create a "like" button
Ive got a like and video model.
On a Video page, Users can click a link ("like") button which will
allow them to like a particular video.
Since my like button/image comes in the form of a link and not an
actual html form. How should this be implemented? Do I need to specify
a ":method => puts" in my link_to tag helper?
What are your thoughts?
--
You received this
2013 Jun 28
0
ruby on rails couldn't find file 'jquery.ui.all'
couldn''t find file ''jquery.ui.all'' which is a known issue, I added
*=require jquery.ui.all to application.css and //= require jquery.ui.all to
application.js but still get the error.
http://bpaste.net/show/1RqTDUte2XLBoj8fdTbf/
Sprockets::FileNotFound in Preorder#index
Showing
/var/www/localhost/htdocs/selfstarter/app/views/layouts/application.html.erb
where line
2010 Nov 24
0
How to select BACK button in "Internet Explorer" using RUBY code with Watir Framework
How to select BACK button in "Internet Explorer" using RUBY code with
Watir Framework
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Nov 18
0
How mix jquery based ui packages and ruby on rails
I am trying to use jqx ui that is based on jquqery I have following
questions
1. How do I generate the right id and name for the element without setting
the element name and id in the format model name [attribute] ? Example
<%= f.text_field :country_id %> generates
sets the element id and name to bank[country_id]
2.how do i set the form element attributes like action ? Do i just use
2001 Feb 03
1
callback environment for Tk buttons
Hi. I'm running into problems with using R functions as callback
commands for buttons in Tk.
The following Tcl/Tk script creates three buttons. If you press hello
it prints hello world. If you press HALLO it prints HALLO WORLD.
Not exciting, but I need an example...
set tt [toplevel .tt]
foreach i {"hello" "HALLO"} {
pack [button $tt.b$i -text $i
2023 Mar 13
1
tcl tk: set the position button
Hi all,
I am using tcltk2 library to show buttons and messages. Everything
work fine but I would like set the tk2button to the right of my screen, by default it display at the left of my screen.
my script example:
library(tcltk2) win1 <- tktoplevel() butOK <- tk2button(win1, text = "TEST", width = 77) tkgrid(butOK)
Thanks in advance
Saludos
Rodrigo?
--
Este correo electr?nico ha
2023 Mar 13
1
tcl tk: set the position button
Dear Rodrigo,
Try tkwm.geometry(win1, "-0+0"), which should position win1 at the top
right.
I hope this helps,
John
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/
On 2023-03-12 8:41 p.m., Rodrigo Badilla wrote:
> Hi all,
> I am using tcltk2 library to show buttons and messages. Everything
> work
2011 Sep 29
1
Tcl/Tk Guidelines
Hello, I wanted to ask if there are any guidelines for Tcl/Tk programming in
R ? I know that there are no strict rules concerning programing. But perhabs
there are some useful tipps how to organise Tcl/Tk code in your R script. I
want to programm a little GUI and I don't want to reprogram the whole GUI in
the middle, when I discover that I have forgotten a little detail for
example.
Thanks
2008 Jul 14
1
Off topic: Tcl/Tk outside R.
I'm trying to learn about the tcltk package and its uses. Floundering
around a bit ... Have discovered Peter Dalgaard's articles in R-News,
which should help. Also James Wettenhall's suite of examples look like
they might be enlightening, even though the indications are that they
are
Windoze oriented.
Be that as it were, I decided to fool around a bit with Tcl/Tk *outside*
of R to
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
Dear list,
Could somebody who is more experienced with the Tcl/Tk interface from R
please help me clarify the issues I've put below with ### --> tags?
Several things go wrong, and it's probably because of messy code, but I
have a difficult time finding out what is the cause.
Thanks very much,
JeeBee.
require(tcltk) || stop("Package tcltk is not available.")
# Add path to
2012 Jun 28
2
Best practice on Javascript and rails
Hi, I get constantly nervy whenever trying to implement any javascript /
jquery in rails, basically because I''m not sure where to put things in
the project!
I know the people at rails have thought long and hard about how to best
structure an app, so I''d like to learn the correct way.
I''m using rails 3.2, ruby 1.9.3
/////////////
1st situation - using a gem to include
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,
2003 Sep 30
3
Adding Tk extensions to R for windows
Hi,
I'm developing an R/TclTk application which uses the BWidget and
Tktable Tk extensions and I'm trying to make it easy to install.
For now, I'm focusing on Windows users who start with nothing.
I have built Tcl/Tk and Tktable for windows using Msys/MinGW.
(BWidget contains only Tcl scripts so does not need building.)
I have then copied Tktable and BWidget into the lib subdirectory
2012 Mar 30
0
Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip
I been working on image upload since long and every time working fine,
Now since i deployed application on server,i am facing strange problem
while image upload.
When i am trying upload image it''s gives error like,
NameError (undefined method path'' for
classActionController::UploadedStringIO''): :10:in synchronize'' passenger
(3.0.9)
2012 Jun 12
2
how to connect rails app using monodb
hi all
i ve installed monodb this is the first time ive installed it and don''t
have any idea how to use it. previously ive used MYSQL for my apps. now i
want to use monodb . can any one help me out how to use monodb . does it
have any interface just as MYSQL. as there is no yml file needed how do i
connect my app
thanks in advance
--
You received this message because you
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
Trying to get jQuery UI to work with my rails 3.1 setup, but i keep
getting errors that i cant see posted anywhere, this is driving my
insane so please have a look =>
[application.js]
// This is a manifest file that''ll be compiled into including all the
files listed below.
// Add new JavaScript/Coffee code in separate files in this directory
and they''ll automatically
// be
2011 May 25
1
trouble using jQuery in Rails 3.0.7
I''ve tried to install JQuery a couple of times now, and I''ve followed
the steps for Rails UJS mentioned here:
https://github.com/rails/jquery-ujs
The last time I went ahead and added jQuery UI as well:
$ rails generate jquery:install --ui
remove public/javascripts/prototype.js
remove public/javascripts/effects.js
remove public/javascripts/dragdrop.js
2009 May 06
0
Modo302, UI delay
Good day, over the last few revisions of wine & ubuntu ive been testing Modo302 from Luxology.
The program works nearly perfectly and appears fully functional, however its suffering from a short delay of upto 2 seconds in the UI when the tools are selected and used.
Ive tried virtually everything I can do, from reg adjustments to swapping in native DLLS from WinXP. None of it appears to
2008 May 25
2
storing data from a txt file in ruby?
Hello Im trying to write a a ruby program that takes a list of books
title ,author so on and i can read in the file with no problem but im
trying to store the list into either a array or hash so i ca say run
different methods view, delete ect..
anyhelp would be great this is what i have so far
IO.foreach("book_list.txt") do |line|
catalog=line.chomp.split(",")