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



Thank you very much for your help, it worked!

Carlos Kassab

El vie, 22-11-2002 a las 07:54, dams idm fr escribió:
Carlos Kassab <ckg glin com mx> said:

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 );

$hbox->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 );

$hbox->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.

use a hbox instead of vbox

-- 
dams
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list





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