-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have a perl/tk script in which I am creating a button widget of height 1.
Now when I execute script through citrix xterm client I get button displayed.
Again when I execute script now through xterm client in my PC size of button widget differs.
Can someone explain why is this happening, and…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I'm trying, for the first time, to create a GUI in Ruby using Tk. I've copied a code snippet from one of the numerous web tutorials and try to change the font for one of the labels, but nothing seems to affect how the text is presented.
Here's the code:
require 'tk'
root = TkRoot.new('title'=>'MCIS')
defaultFont…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want something like a canvas, but where i'd be able to manipulate pixels easily in addition to all the provided geometries, that can be drawn on canvas.
Is it possible to embed something like GD::Image into a canvas? So then I maybe could make the image transparent and set some pixels in it (GD::Image-setPixel())…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm not being able to make this line work with Tk
import os
while(1):
ping = os.popen('ping www.google.com -n 1')
result = ping.readlines()
msLine = result[-1].strip()
print msLine.split(' = ')[-1]
I'm trying to create a label and text = msLine.split... but everything freezes
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
It would be interesting/nice to have something portable like TK to be used in Windows and in Linux with Mono like TK. Does anyone know of any bindings? or What would be a good place to start in creating bindings.
>>> More