logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Tk::ObjEditorDialog - Tk composite widget obj editor popup dialog

Author

       Dominique Dumont.

       Copyright (c) 2001 Dominique Dumont. All rights  reserved.   This  program  is  free  software;  you  can
       redistribute it and/or modify it under the same terms as Perl itself.

Caveats

       Like  Tk::ObjScanner ObjEditor does not detect recursive data structures. It will just keep on displaying
       the tree until the user gets tired of clicking on the HList items.

Constructor Parameters

       •   caller: The ref of the object or hash or array to edit (mandatory).

       •   title: the title of the menu created by the editor (optional)

       •   direct: Set to 1 if you want to perform direct edition.

Description

       This widget is a ObjEditor within a DialogBox widget. I.e. it will appear in its own toplevel window when
       you invoke the Show() method like the FileDialog widget.

Method

Show(grab)
       As  in  Tk::DialogBox,  this method displays the dialog box, until user invokes one of the buttons in the
       bottom frame. If the grab type is specified in grab, then Show uses that grab; otherwise it uses a  local
       grab. Returns the name of the button invoked.

Name

       Tk::ObjEditorDialog - Tk composite widget obj editor popup dialog

See Also

perl(1), Tk, Tk::HList, Tk::ObjScanner, Tk::ObjEditor, Tk::DialogBox

perl v5.36.0                                       2023-11-01                           Tk::ObjEditorDialog(3pm)

Synopsis

         use Tk::ObjEditorDialog;

         my $editor = $mw->ObjEditorDialog( caller => $object,
                                             direct => [1|0],
                                             [title=>"windows"]) ;

         $editor -> Show;

return

See Also