Gtk2::Net::LDAP::Widgets - LDAP-related widget library for Gtk2
use Gtk2::Net::LDAP::Widgets; my $entryPopup = Gtk2::Net::LDAP::Widgets::LdapEntrySelector->new ($parent_window, $ldap_source, 'dc=example,dc=com', 'objectClass=inetorgperson', 'init_interactive_filter' => 'smith', 'single_selection' => 1, 'interactive_filter_type' => 'simple' ); $entryPopup->signal_connect (response => sub { my ($popup, $response) = @_; if($response =~ 'accept') { print "Selected entry DN: ".$entryPopup->get_dn; } else { print "No existing entry selected.\n"; } $_[0]->destroy; }); $entryPopup->show_all;
This is an object oriented collection of LDAP-related Gtk2 widgets.
Featured classes currently include windows and views that allow the user to select or pick entries that result from an LDAP search.
See also:
Gtk2::Net::LDAP::Widgets::LdapEntrySelector Gtk2::Net::LDAP::Widgets::LdapTreeSelector Gtk2::Net::LDAP::Widgets::LdapTreeView
Original author: Aleksander Adamowski <cpan@olo.org.pl>
Copyright 2005,2008 by Aleksander Adamowski
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Gtk2::Net::LDAP::Widgets, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gtk2::Net::LDAP::Widgets
CPAN shell
perl -MCPAN -e shell install Gtk2::Net::LDAP::Widgets
For more information on module installation, please visit the detailed CPAN module installation guide.