Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
ElemAccessDir Class Reference

#include "stage/interact/elem-access-dir.hpp"

Description

Low-level service to navigate the internals of the Lumiera GTK UI.

Todo:
mostly not yet implemented as of 4/2018 – need to learn more about aforementioned internals.

Definition at line 59 of file elem-access-dir.hpp.

Public Member Functions

 ElemAccessDir (WindowLocator &windowLocatorService, PanelLocator &panelLocatorService)
 
RawResult performAccessTo (UICoord::Builder &target, size_t limitCreation) override
 
- Public Member Functions inherited from ElementAccess
virtual ~ElementAccess ()
 this is an interface
 
template<class TAR >
lib::Result< TAR & > access (UICoord const &destination)
 Navigate the UI topology to access the designated component.
 
UICoord locate_or_create (UICoord const &destination, size_t limitCreation=LUMIERA_MAX_ORDINAL_NUMBER)
 Navigate to the designated component, possibly create the element and parents.
 

Private Attributes

WindowLocatorwindowLoc_
 
PanelLocatorpanelLoc_
 

Additional Inherited Members

- Protected Types inherited from ElementAccess
using RawResult = lib::Variant< Types< model::Tangible *, Gtk::Widget * > >
 

Constructor & Destructor Documentation

◆ ElemAccessDir()

ElemAccessDir ( WindowLocator windowLocatorService,
PanelLocator panelLocatorService 
)
inlineexplicit

Definition at line 67 of file elem-access-dir.hpp.

Member Function Documentation

◆ performAccessTo()

RawResult performAccessTo ( UICoord::Builder ,
size_t  limitCreation 
)
inlineoverridevirtual

drill down according to coordinates, maybe create element

Implements ElementAccess.

Definition at line 77 of file elem-access-dir.hpp.

Member Data Documentation

◆ windowLoc_

WindowLocator& windowLoc_
private

Definition at line 62 of file elem-access-dir.hpp.

◆ panelLoc_

PanelLocator& panelLoc_
private

Definition at line 63 of file elem-access-dir.hpp.

+ Inheritance diagram for ElemAccessDir:
+ Collaboration diagram for ElemAccessDir:

The documentation for this class was generated from the following file: