[#25936] [Bug:1.9] [rubygems] $LOAD_PATH includes bin directory — Nobuyoshi Nakada <nobu@...>

Hi,

10 messages 2009/10/05

[#25943] Disabling tainting — Tony Arcieri <tony@...>

Would it make sense to have a flag passed to the interpreter on startup that

16 messages 2009/10/05

[#26028] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error — Marc-Andre Lafortune <redmine@...>

Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error

14 messages 2009/10/10

[#26222] [Bug #2250] IO::for_fd() objects' finalization dangerously closes underlying fds — Mike Pomraning <redmine@...>

Bug #2250: IO::for_fd() objects' finalization dangerously closes underlying fds

11 messages 2009/10/22

[#26244] [Bug #2258] Kernel#require inside rb_require() inside rb_protect() inside SysV context fails — Suraj Kurapati <redmine@...>

Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails

24 messages 2009/10/22

[#26361] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine — Suraj Kurapati <redmine@...>

Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine

42 messages 2009/10/27

[#26371] [Bug #2295] segmentation faults — tomer doron <redmine@...>

Bug #2295: segmentation faults

16 messages 2009/10/27

[ruby-core:26167] ruby tk problem

From: hamid i. <al_caponeiran@...>
Date: 2009-10-19 17:41:06 UTC
List: ruby-core #26167
hello

 

ive got a problem and i dont have a solution...

 

im working with ruby tk and this is my code:

 

 

 

 
require 'little_helpers_spezial'
require 'tk'

root = TkRoot.new
root.title = "RUBY GUI f Confluence"

entry1 = TkEntry.new(root)
entry2 = TkEntry.new(root)
entry3 = TkEntry.new(root)
entry4 = TkEntry.new(root)
entry5 = TkEntry.new(root)

variable1 = TkVariable.new
variable2 = TkVariable.new
variable3 = TkVariable.new
variable4 = TkVariable.new
variable5 = TkVariable.new

----------------------------------
entry1.textvariable = variable1
entry2.textvariable = variable2
entry3.textvariable = variable3
entry4.textvariable = variable4
entry5.textvariable = variable5
-----------------------------------


variable1.value = "Source"
variable2.value = "Depth"
variable3.value = "Destination"
variable4.value = "Destination-Space"
variable5.value = "ParentID"

--------------------------------
  source = entry1.textvariable
  depth = entry2.textvariable
-------------------------------
  


x = Little_Helpers_spezial.make_ready_for_export(confluence, source, depth)


-------------------------------------
  destination = entry3.textvariable 
  dest_space = entry4.textvariable
  parentId = entry5.textvariable 

-------------------------------------


  Little_Helpers_spezial.save(confluence, x, destination, dest_space, parentId)

}



Tk.mainloop

 

 

 

the point is that i dont know how i commit the variable entry1.textvariable,entry2.textvariable which i get from my GUI to my function 

Little_Helpers_spezial.make_ready_for_export and Little_Helpers_spezial.save . can anybody show me the correct way??? 

 

thanks
 		 	   		  
_________________________________________________________________
Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmailョ.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009

In This Thread

Prev Next