library: libGui #include "TGTextEditDialogs.h"

# TGSearchDialog

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

## class TGSearchDialog : public TGTransientFrame

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

        public:

                          TGSearchDialog(const TGWindow* p = 0, const TGWindow* main = 0, UInt_t w = 1, UInt_t h = 1, TGSearchType* sstruct = 0, Int_t* ret_code = 0, UInt_t options = kVerticalFrame)
                          TGSearchDialog(const TGSearchDialog&)
                  virtual ~TGSearchDialog()
           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
          TGCompositeFrame* fF3
          TGCompositeFrame* fF4                 sub frames
             TGLayoutHints* fL1
             TGLayoutHints* fL2
             TGLayoutHints* fL3
             TGLayoutHints* fL4                 layout hints
             TGLayoutHints* fL5
             TGLayoutHints* fL6
             TGLayoutHints* fL21
             TGLayoutHints* fL9                 layout hints
             TGLayoutHints* fL10                layout hints
                  TGButton* fSearchButton       search button
                  TGButton* fCancelButton       cancel button
             TGRadioButton* fDirectionRadio[2]  search direction radio buttons
             TGCheckButton* fCaseCheck          case check box
              TGGroupFrame* fG2                 group frame
               TGTextEntry* fSearch             search text entry widget
              TGTextBuffer* fBSearch            search text buffer
                   TGLabel* fLSearch            label
              TGSearchType* fType               search type structure
                     Int_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.

TGSearchDialog(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, TGSearchType *sstruct, Int_t *ret_code, UInt_t options) : TGTransientFrame(p, main, w, h, options)

     Create a search dialog box. Used to get from the user the required
     search instructions. Ret_code is kTRUE when sstruct has been set,
     kFALSE otherwise (like when dialog was canceled).

~TGSearchDialog()

     Clean up search 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)

     Process search dialog widget messages.

### Inline Functions

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

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. *