Definition at line 19 of file Gtk4DrawArea.h.
|
| void | on_draw (const Cairo::RefPtr< Cairo::Context > &cr, int width, int height) |
| |
| void | on_mouse_click (int n_press, double x, double y) |
| |
| void | on_mouse_enter (double x, double y) |
| |
| void | on_mouse_leave () |
| |
| void | on_mouse_move (double x, double y) |
| |
| void | on_mouse_released (int n_press, double x, double y) |
| |
| bool | on_mouse_scroll (double dx, double dy) |
| |
| bool | on_my_query_tooltip (int x, int y, bool keyboard_tooltip, const Glib::RefPtr< Gtk::Tooltip > &tooltip) |
| |
#include </github/home/ROOT-CI/src/gui/gtk4canvas/src/Gtk4DrawArea.h>
◆ Gtk4DrawArea()
| Gtk4DrawArea::Gtk4DrawArea |
( |
| ) |
|
◆ ~Gtk4DrawArea()
| virtual Gtk4DrawArea::~Gtk4DrawArea |
( |
| ) |
|
|
virtualdefault |
◆ GetCache()
| Cairo::ImageSurface * Gtk4DrawArea::GetCache |
( |
| ) |
const |
|
inline |
◆ GetCanvas()
| TCanvas * Gtk4DrawArea::GetCanvas |
( |
| ) |
const |
|
inline |
◆ GetContext()
| Cairo::Context * Gtk4DrawArea::GetContext |
( |
| ) |
const |
|
inline |
◆ on_draw()
| void Gtk4DrawArea::on_draw |
( |
const Cairo::RefPtr< Cairo::Context > & | cr, |
|
|
int | width, |
|
|
int | height ) |
|
protected |
◆ on_mouse_click()
◆ on_mouse_enter()
◆ on_mouse_leave()
| void Gtk4DrawArea::on_mouse_leave |
( |
| ) |
|
|
protected |
◆ on_mouse_move()
◆ on_mouse_released()
◆ on_mouse_scroll()
◆ on_my_query_tooltip()
| bool Gtk4DrawArea::on_my_query_tooltip |
( |
int | x, |
|
|
int | y, |
|
|
bool | keyboard_tooltip, |
|
|
const Glib::RefPtr< Gtk::Tooltip > & | tooltip ) |
|
protected |
◆ SetCanvas()
| void Gtk4DrawArea::SetCanvas |
( |
TCanvas * | c | ) |
|
|
inline |
◆ ShowContextMenu()
| void Gtk4DrawArea::ShowContextMenu |
( |
Glib::RefPtr< Gio::Menu > | menu_model, |
|
|
const char * | title, |
|
|
int | x, |
|
|
int | y ) |
Shows context menu with provided items and title at specified position.
Definition at line 238 of file Gtk4DrawArea.cxx.
◆ fCanvas
| TCanvas* Gtk4DrawArea::fCanvas = nullptr |
|
protected |
◆ fContext
| Cairo::Context* Gtk4DrawArea::fContext = nullptr |
|
protected |
◆ fDrawingCache
| Cairo::RefPtr<Cairo::ImageSurface> Gtk4DrawArea::fDrawingCache |
|
protected |
◆ fLastMouseX
| double Gtk4DrawArea::fLastMouseX = 0 |
|
protected |
◆ fLastMouseY
| double Gtk4DrawArea::fLastMouseY = 0 |
|
protected |
◆ fShowEventStatus
| bool Gtk4DrawArea::fShowEventStatus = true |
|
protected |
◆ m_click_gesture
| Glib::RefPtr<Gtk::GestureClick> Gtk4DrawArea::m_click_gesture |
|
protected |
◆ m_motion_controller
| Glib::RefPtr<Gtk::EventControllerMotion> Gtk4DrawArea::m_motion_controller |
|
protected |
◆ m_scroll_controller
| Glib::RefPtr<Gtk::EventControllerScroll> Gtk4DrawArea::m_scroll_controller |
|
protected |
◆ m_status_changed
| sigc::signal<void(const char *) Gtk4DrawArea::m_status_changed) |
|
protected |
◆ status_changed
| sigc::signal< void(const char *) Gtk4DrawArea::status_changed) () |
gui/gtk4canvas/src/Gtk4DrawArea.h
gui/gtk4canvas/src/Gtk4DrawArea.cxx