User Profile

Collapse

Profile Sidebar

Collapse
stiffyamit
stiffyamit
Last Activity: Apr 9 '12, 05:16 AM
Joined: Mar 1 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stiffyamit
    started a topic updating label using thread
    in Perl

    updating label using thread

    Code:
    use Thread;
    use warnings;
    use Tk;
    my $x=10;
    my $mw=new MainWindow;
    $mw->Label(-text=>"honeywell")->place(-x=>$x,-y=>50);
    my $thr = new Thread \&sub1;
    sub sub1 { 
      for($i=0;$i<20;$i++){
          $x+=20;
          sleep(2);			
          $mw->update;
    	}
    }
    	MainLoop;
    I am trying to update the label so that the text appears...
    See more | Go to post
    Last edited by numberwhun; Mar 13 '12, 03:37 AM. Reason: Please use code tags!

  • stiffyamit
    started a topic Moving cursor position by offset value
    in Perl

    Moving cursor position by offset value

    $text->SetCursor( position );
    this is used to move cursor at the given posoiton.

    Is there any way so that i can move the cursor by a given offset value??

    thanks,
    See more | Go to post

  • stiffyamit
    started a topic using highlighted text and using pop up menus
    in Perl

    using highlighted text and using pop up menus

    hi,
    i have created a text field in perl.Now i want to add a functionality to it.The data in text field are all hexadecimal numbers.I want to select(highligh t) some of the number and then automatically a pop-up should appear which should contain their decimal value.
    can any one please explain me how to add this funtionality.

    thanks,
    amit
    See more | Go to post
No activity results to display
Show More
Working...