Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
GTK4 Canvas Display

Classes for canvas display using GTK4.

CAUTION! Highly experimental, constantly changing code

Provides alternative graphics implementation in the ROOT. Allows non-GL painting in GTK4. Implementes:

To use this class one need to compile ROOT with -Dgtk4canv=ON flag. GTK4 library should be installed on the system. To activate GTK4 canvas in ROOT application one should create .rootrc file with following entries:

Gui.Factory: gtk4
Root.PadEditor: gtk4

For compilation on windows one can use vcpkg to download all necessary gtk4 libraries. When calling cmake, one can provide following arguments:

 -DCMAKE_TOOLCHAIN_FILE="C:\git\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows

Classes

class  Gtk4CanvasWindow
 
class  Gtk4DrawArea
 
class  Gtk4MethodDialog
 Specialized dialog to enter arguments for method exection. More...
 
class  TGtk4Canvas
 Basic TCanvasImp ABI implementation for Gtk4. More...
 
class  TGtk4ContextMenu
 This class provides an interface to context-sensitive popup menus. More...
 
class  TGtk4GedEditor
 TVirtualPadEditor ABI implementation for GTK4. More...
 
class  TGtk4GuiFactory
 This class is a factory for ROOT GUI components. More...
 
class  TGtk4PadPainter
 Implement TVirtualPadPainter for Gtk4 graphics. More...