library: libGui #include "TGTextEditDialogs.h"

# TGGotoDialog

class description - source file - inheritance tree (.pdf)

## class TGGotoDialog : public TGTransientFrame

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
| <- | `TGCompositeFrame`
| <- | `TGMainFrame`
| <- | `TGTransientFrame`
| <- | `TGGotoDialog` |

        public:

                          TGGotoDialog(const TGWindow* p = 0, const TGWindow* main = 0, UInt_t w = 1, UInt_t h = 1, Long_t* ret_code = 0, UInt_t options = kVerticalFrame)
                          TGGotoDialog(const TGGotoDialog&)
                  virtual ~TGGotoDialog()
           static TClass* Class()
             virtual void CloseWindow()
          virtual TClass* IsA() const
           virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          TGCompositeFrame* fF1
          TGCompositeFrame* fF2            sub frames
                  TGButton* fGotoButton    goto button
                  TGButton* fCancelButton  cancel button
             TGLayoutHints* fL1
             TGLayoutHints* fL5
             TGLayoutHints* fL6
             TGLayoutHints* fL21           layout hints
               TGTextEntry* fGoTo          goto line number entry widget
              TGTextBuffer* fBGoTo         goto line number text buffer
                   TGLabel* fLGoTo         goto label
                    Long_t* fRetCode       return code

## Class Description

     TGTextEditDialogs

     This file defines several dialogs that are used by the TGTextEdit
     widget via its associated context popup menu.
     The following dialogs are available: TGSearchDialog, TGGotoDialog
     and TGPrintDialog.

TGGotoDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, Long_t *ret_code, UInt_t options) : TGTransientFrame(p, main, w, h, options)

     Create a dialog to GoTo a specific line number. Returns -1 in
     ret_code in case no valid line number was given or in case
     cancel was pressed. If on input *ret_code is > 0 then this value
     will be used as default value.

~TGGotoDialog()

     Clean up goto dialog

void CloseWindow()

     Close the dialog. On close the dialog will be deleted and cannot be
     re-used.

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)

### Inline Functions

                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
            TGGotoDialog TGGotoDialog(const TGGotoDialog&)

Author: Fons Rademakers 10/7/2000
Last update: root/gui:$Name: $:$Id: TGTextEditDialogs.cxx,v 1.8 2004/12/15 09:27:48 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *