| Aut-UI-Wx documentation | view source | Contained in the Aut-UI-Wx distribution. |
new([parent]) --> Aut::UI::Wxmessage_ok(text, [title], [parent]) --> voidask_pass(text,[title],[parent]) --> stringlogin(aut:Aut, [title], [parent]) --> Aut::Ticketlogout(aut:Aut, ticket:Aut::Ticket) --> voidchange_pass(aut:Aut, ticket:Aut::Ticket, [title], [parent]) --> voidadmin(aut::Aut, ticket:Aut::Ticket, [title], [parent]) --> voidAut::UI::Wx - A wxPerl User Interface for the Aut framework.
This module provides a wxPerl User Interface for the authorization framework (see Aut::UI::Console for an interface description).
This User Interface has the same interface as Aut::UI::Console.
Please refere to this interface for more information.
The interface extends the minimal Aut::UI::Console interface.
new([parent]) --> Aut::UI::WxThe new function of this interface accepts a 'parent' window id.
Which is normal for wxWidgets.
message_ok(text, [title], [parent]) --> voidThis function accepts beneath the standard text also a title and
a parent. It will display a messagebox with an OK buttonthat is centered
on the parent.
ask_pass(text,[title],[parent]) --> stringThis function accepts beneath the standard text also a title and
a parent. It will display a dialog asking for a password with a
Cancel and an OK button.
Returns 'undef' in case of a Cancel, or if an empty password
has been given.
login(aut:Aut, [title], [parent]) --> Aut::TicketSee Aut::UI::Console. This function displays
a dialog with a Cancel and a OK button. Cancel will
yield an invalid ticket.
logout(aut:Aut, ticket:Aut::Ticket) --> voidCurrently only invalidates the ticket.
change_pass(aut:Aut, ticket:Aut::Ticket, [title], [parent]) --> voidChanges the password, see Aut::UI::Console.
admin(aut::Aut, ticket:Aut::Ticket, [title], [parent]) --> voidAdministers the accounts, see Aut::UI::Console.
Hans Oesterholt-Dijkema <oesterhol@cpan.org>
(c)2004 Hans Oesterholt-Dijkema, This module is distributed under Artistic license.
| Aut-UI-Wx documentation | view source | Contained in the Aut-UI-Wx distribution. |