Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: Passing multiple user data GLADE

by sam_bakki (Pilgrim)
on Mar 17, 2014 at 08:29 UTC ( #1078578=note: print w/replies, xml ) Need Help??

in reply to Re^2: Passing multiple user data GLADE
in thread Passing multiple user data GLADE


Ok. Then expose the text entry boxes as a global variables like below,

my $GuiBuilder = Gtk2::Builder->new (); $GuiBuilder->add_from_file(''); my $text_ip_entry = $GuiBuilder->get_object('text_ip_entry'); my $text_ssid_entry = $GuiBuilder->get_object('text_ssid_entry'); ..... sub on_some_click { my $widget=shift @_; my $userData = shift @_; my $text_ip = $text_ip_entry->get_text(); }

Thanks & Regards,
Bakkiaraj M
My Perl Gtk2 technology demo project - , contributions are welcome.

Replies are listed 'Best First'.
Re^4: Passing multiple user data GLADE
by hakim-djz (Novice) on Mar 17, 2014 at 17:31 UTC
    Thanks, I got it sorted and updated the post.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078578]
[zentara]: TGIF, I'm blowing my mind watching Casimir Effect & Black Holes - Sixty Symbols I love 60 Symbols. :-)
zentara ..oO the vacuum is teeming with photons and micro-blackholes
zentara .. and probably NSA bugs ;-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-06-23 16:12 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (552 votes). Check out past polls.