Form to entry data, i am new, please help..



Hi:


i know perl but I am new with programing perl with gtk.

I want to do a entry data form but i can not 

i tried with this:

$label = new Gtk::Label( "name" );
$vbox->pack_start( $label, $true, $true, 0 );
$label->show();

# Create the Entry
$entry = new Gtk::Entry( 50 );
$entry->signal_connect( "activate", \&enter_callback, $entry );
$entry->set_text( "Carlos" );
$entry->append_text( " Kassab" );
$entry->select_region( 0, length( $entry->get_text() ) );
$vbox->pack_start( $entry, $true, $true, 0 );
$entry->show();

but the text is above and the entry data is below, how can i do that the
text is to the left and the entry data is to the right.


Thank you for your help in advance

Carlos Kassab




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]