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 TGSearchType* GetType() const virtual TClass* IsA() const virtual Bool_t IsClose() const virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) static TGSearchDialog*& SearchDialog() virtual void SetClose(Bool_t on) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void TextEntered(const char* text)

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 TGComboBox* fCombo text entry combobox static TGSearchDialog* fgSearchDialog global singleton

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.

void TextEntered(const char *text)
 emit signal when search text entered

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
 Process search dialog widget messages.



Inline Functions


                    void SetClose(Bool_t on)
                  Bool_t IsClose() const
           TGSearchType* GetType() const
        TGSearchDialog*& SearchDialog()
                 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.12 2005/09/05 13:33:08 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.