Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::API::dev Namespace Reference

Functions

void affinity_execute (window window_handle, const std::function< void()> &)
 
bool set_events (window, const std::shared_ptr< general_events > &)
 
template<typename Scheme >
std::unique_ptr< Scheme > make_scheme ()
 
void set_scheme (window, widget_geometrics *)
 
widget_geometricsget_scheme (window)
 
void set_measurer (window,::nana::dev::widget_content_measurer_interface *)
 Sets a content measurer. More...
 
void attach_drawer (widget &, drawer_trigger &)
 
::nana::detail::native_string_type window_caption (window) noexcept
 
void window_caption (window,::nana::detail::native_string_type)
 
window create_window (window, bool nested, const rectangle &, const appearance &, widget *attached)
 
window create_widget (window, const rectangle &, widget *attached)
 
window create_lite_widget (window, const rectangle &, widget *attached)
 
paint::graphicswindow_graphics (window)
 
void delay_restore (bool)
 
void register_menu_window (window, bool has_keyboard)
 
void set_menubar (window wd, bool attach)
 
void enable_space_click (window, bool enable)
 
bool copy_transparent_background (window, paint::graphics &)
 
bool copy_transparent_background (window, const rectangle &src_r, paint::graphics &, const point &dst_pt)
 
void lazy_refresh ()
 Refreshes a widget surface. More...
 
void draw_shortkey_underline (paint::graphics &, const std::string &text, wchar_t shortkey, std::size_t shortkey_position, const point &text_pos, const color &)
 
void window_draggable (window, bool enabled)
 
bool window_draggable (window)
 

Function Documentation

void nana::API::dev::affinity_execute ( window  window_handle,
const std::function< void()> &  fn 
)
void nana::API::dev::attach_drawer ( widget &  wdg,
drawer_trigger &  dr 
)
bool nana::API::dev::copy_transparent_background ( window  wd,
paint::graphics &  graph 
)
bool nana::API::dev::copy_transparent_background ( window  wd,
const rectangle &  src_r,
paint::graphics &  graph,
const point &  dst_pt 
)
window nana::API::dev::create_lite_widget ( window  parent,
const rectangle &  r,
widget *  attached 
)
window nana::API::dev::create_widget ( window  parent,
const rectangle &  r,
widget *  attached 
)
window nana::API::dev::create_window ( window  owner,
bool  nested,
const rectangle &  r,
const appearance &  ap,
widget *  attached 
)
void nana::API::dev::delay_restore ( bool  enable)
void nana::API::dev::draw_shortkey_underline ( paint::graphics &  graph,
const std::string text,
wchar_t  shortkey,
std::size_t  shortkey_position,
const point &  text_pos,
const color &  line_color 
)
void nana::API::dev::enable_space_click ( window  wd,
bool  enable 
)
widget_geometrics * nana::API::dev::get_scheme ( window  wd)
void nana::API::dev::lazy_refresh ( )

Refreshes a widget surface.

template<typename Scheme >
std::unique_ptr<Scheme> nana::API::dev::make_scheme ( )
void nana::API::dev::register_menu_window ( window  wd,
bool  has_keyboard 
)
bool nana::API::dev::set_events ( window  wd,
const std::shared_ptr< general_events > &  gep 
)
void nana::API::dev::set_measurer ( window  wd,
::nana::dev::widget_content_measurer_interface measurer 
)

Sets a content measurer.

void nana::API::dev::set_menubar ( window  wd,
bool  attach 
)
void nana::API::dev::set_scheme ( window  wd,
widget_geometrics *  wdg_geom 
)
nana::detail::native_string_type nana::API::dev::window_caption ( window  wd)
noexcept
void nana::API::dev::window_caption ( window  wd,
::nana::detail::native_string_type  title 
)
void nana::API::dev::window_draggable ( window  wd,
bool  enabled 
)
bool nana::API::dev::window_draggable ( window  wd)
paint::graphics * nana::API::dev::window_graphics ( window  wd)