A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/wx__label__edit__dlg_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/phylo_tree/wx_label_edit_dlg.cpp Source File

40 #include <wx/stattext.h> 41 #include <wx/statline.h> 42 #include <wx/statbox.h> 43 #include <wx/combobox.h> 45 #include <wx/button.h> 46 #include <wx/bitmap.h> 49 #define PHYLO_FEAT_LABEL "label" 79  Create

(parent,

id

, caption, pos,

size

, style);

82 bool CwxLabelEditDlg::Create

( wxWindow* parent, wxWindowID

id

,

const

wxString& caption,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

85 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

86

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

91

GetSizer()->SetSizeHints(

this

);

117

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxHORIZONTAL);

118

itemDialog1->SetSizer(itemBoxSizer2);

120

wxTextCtrl* itemTextCtrl3 =

new

wxTextCtrl( itemDialog1,

ID_TEXTCTRL16

,

wxT

(

""

), wxDefaultPosition, wxDefaultSize, 0 );

121

itemBoxSizer2->Add(itemTextCtrl3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

123

wxStdDialogButtonSizer* itemStdDialogButtonSizer4 =

new

wxStdDialogButtonSizer;

125

itemBoxSizer2->Add(itemStdDialogButtonSizer4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

126

wxButton* itemButton5 =

new

wxButton( itemDialog1, wxID_OK,

wxT

(

"&OK"

), wxDefaultPosition, wxDefaultSize, 0 );

127

itemButton5->SetDefault();

128

itemStdDialogButtonSizer4->AddButton(itemButton5);

130

itemStdDialogButtonSizer4->Realize();

133

itemTextCtrl3->SetValidator( wxTextValidator(wxFILTER_NONE, &

m_Label

) );

170

TransferDataFromWindow();

Tree subclass also has functions and data needed for rendering and selection.

CPhyloTree::TTreeIdx m_NodeIdx

wxBitmap GetBitmapResource(const wxString &name)

void OnOkClick(wxCommandEvent &event)

static bool ShowToolTips()

bool Create(wxWindow *parent, wxWindowID id=10018, const wxString &caption=wxT("Edit Label"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)

void SetParams(CPhyloTree *tree, CPhyloTree::TTreeIdx node_idx)

wxIcon GetIconResource(const wxString &name)

string GetLabel(const CSeq_id &id)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

const struct ncbi::grid::netcache::search::fields::SIZE size

wxString ToWxString(const string &s)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4