NAME
Gtk2::Net::LDAP::Widgets - LDAP-related widget library for Gtk2
SYNOPSIS
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;
DESCRIPTION
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
AUTHORS
Original author: Aleksander Adamowski <cpan@olo.org.pl>
COPYRIGHT AND LICENSE
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.