ALBA
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Alba_Release
Source
Gui
albaGUIScrolledPanel.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ALBA (Agile Library for Biomedical Applications)
4
Module: albaGUIScrolledPanel
5
Authors: Silvano Imboden
6
7
Copyright (c) BIC
8
All rights reserved. See Copyright.txt or
9
10
11
This software is distributed WITHOUT ANY WARRANTY; without even
12
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13
PURPOSE. See the above copyright notice for more information.
14
15
=========================================================================*/
16
#ifndef __albaGUIScrolledPanel_H__
17
#define __albaGUIScrolledPanel_H__
18
//----------------------------------------------------------------------------
19
// Include:
20
//----------------------------------------------------------------------------
21
22
//----------------------------------------------------------------------------
23
// albaGUIScrolledPanel :
29
//----------------------------------------------------------------------------
30
class
ALBA_EXPORT
albaGUIScrolledPanel
:
public
wxScrolledWindow
31
{
32
public
:
33
albaGUIScrolledPanel
(wxWindow* parent,wxWindowID
id
= -1);
34
virtual
~albaGUIScrolledPanel
();
35
37
void
Add
(wxWindow* window,
int
option = 0,
int
flag = wxEXPAND,
int
border = 0);
38
40
void
Add
(wxSizer* sizer,
int
option = 0,
int
flag = wxEXPAND,
int
border = 0);
41
43
bool
Remove
(wxWindow* window);
44
46
bool
Remove
(wxSizer* sizer );
47
51
void
FitInside
();
52
54
virtual
bool
Layout
();
55
56
57
protected
:
58
wxBoxSizer *
m_Sizer
;
59
60
DECLARE_EVENT_TABLE()
61
};
62
#endif
albaGUIScrolledPanel
albaGUIScrolledPanel is a Panel on which is possible to add child-widget.
Definition:
albaGUIScrolledPanel.h:31
albaGUIScrolledPanel::Remove
bool Remove(wxSizer *sizer)
Remove a sizer from the scrolled panel.
albaGUIScrolledPanel::Add
void Add(wxWindow *window, int option=0, int flag=wxEXPAND, int border=0)
Add a window into the scrolled panel.
albaGUIScrolledPanel::Remove
bool Remove(wxWindow *window)
Remove a window from the scrolled panel.
albaGUIScrolledPanel::albaGUIScrolledPanel
albaGUIScrolledPanel(wxWindow *parent, wxWindowID id=-1)
albaGUIScrolledPanel::m_Sizer
wxBoxSizer * m_Sizer
Definition:
albaGUIScrolledPanel.h:58
albaGUIScrolledPanel::~albaGUIScrolledPanel
virtual ~albaGUIScrolledPanel()
albaGUIScrolledPanel::Add
void Add(wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0)
Add a sizer into the scrolled panel.
albaGUIScrolledPanel::Layout
virtual bool Layout()
Redraw the scrolled window.
albaGUIScrolledPanel::FitInside
void FitInside()
Adjust the ScrollBar Settings.
Generated by
1.9.5