◆ Ptr
◆ DummyView()
◆ addSideWidget()
| void DummyView::addSideWidget |
( |
std::string |
title, |
|
|
GtkWidget * |
w |
|
) |
| |
|
inlineoverridevirtual |
Request that the given widget be added to the sidebar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
◆ addToolButton()
◆ addToToolbar()
| void DummyView::addToToolbar |
( |
GtkToolItem * |
ti | ) |
|
|
inlineoverridevirtual |
Request that the given tool item be added to the toolbar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
◆ create()
◆ createWithoutPresentation()
| static Ptr DummyView::createWithoutPresentation |
( |
| ) |
|
|
inlinestatic |
◆ createWithPresentation()
| static Ptr DummyView::createWithPresentation |
( |
| ) |
|
|
inlinestatic |
◆ getCurrentPresentation()
◆ getProgressInterface()
Return a pointer to the progess interface associated with the View
- Note
- The progress bar should only be manipulated from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
◆ invalidate()
| void DummyView::invalidate |
( |
| ) |
|
|
inlineoverridevirtual |
Request that the window content is redrawn.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
◆ nextStatusMessage()
| std::string DummyView::nextStatusMessage |
( |
| ) |
|
|
inline |
78 boost::mutex::scoped_lock l(
mut);
80 BOOST_REQUIRE(
cond.wait_for(l, boost::chrono::milliseconds(500), [&] { return !statusMessages.empty(); }));
◆ registerPostRenderer()
Register a postrenderer to be updated whenever a redraw occurs. When this happens, the 'render' function gets called on the instance that is passed to the given instance.
Note that the order in which different registered instances get updated is the order in which they register to the view. This order remains constant throughout the view's lifetime.
- See also
- PostRenderer
Implements ViewInterface.
◆ registerSelectionListener()
◆ removeFromToolbar()
| void DummyView::removeFromToolbar |
( |
GtkToolItem * |
ti | ) |
|
|
inlineoverridevirtual |
Request that the given tool item be removed from the toolbar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
◆ removeSideWidget()
| void DummyView::removeSideWidget |
( |
GtkWidget * |
w | ) |
|
|
inlineoverridevirtual |
Request that the given widget be removed from the sidebar.
- Precondition
- Should be called from within a Gdk critical section (i.e. between gdk_threads_enter() and gdk_threads_leave() calls)
Implements ViewInterface.
◆ setStatusMessage()
| void DummyView::setStatusMessage |
( |
const std::string & |
| ) |
|
|
inlineoverridevirtual |
Sets the status message in the status bar of the application.
Implements ViewInterface.
69 boost::mutex::scoped_lock
const l(
mut);
◆ cond
| boost::condition_variable DummyView::cond |
◆ mut
| boost::mutex DummyView::mut |
◆ presentation
◆ reg_post
| int DummyView::reg_post = 0 |
◆ reg_sel
| int DummyView::reg_sel = 0 |
◆ statusMessages
| std::list<std::string> DummyView::statusMessages |
◆ tool_btn
| int DummyView::tool_btn = 0 |
The documentation for this class was generated from the following file: