11#ifndef ROOT_TGtk4Canvas
12#define ROOT_TGtk4Canvas
20namespace Experimental {
46 void Close()
override;
bool Bool_t
Boolean (0=false, 1=true) (bool)
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t cursor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize wid
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void SetCursor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Int_t InitWindow() override
Initialize window for the Gtk4 canvas.
void ShowToolBar(Bool_t=kTRUE) override
void Show() override
Show canvas.
void GetCanvasGeometry(Int_t wid, UInt_t &w, UInt_t &h) override
Returns canvas geometry.
void ShowStatusBar(Bool_t=kTRUE) override
Bool_t HasStatusBar() const override
Returns kTRUE if web canvas has status bar.
void RaiseWindow() override
Raise browser window.
void ResizeCanvasWindow(Int_t) override
Resize canvas window, redirect to gVirtualX.
void AssignStatusBits(UInt_t bits)
Assign clients bits.
TGtk4Canvas(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
Constructor.
Bool_t HasToolTips() const override
Returns kTRUE if tooltips are activated in web canvas.
void Close() override
Close canvas - not implemented.
Bool_t HasEditor() const override
Returns kTRUE if web canvas has graphical editor.
void Iconify() override
Iconify browser window.
void UpdateDisplay(Int_t=0, Bool_t=kFALSE) override
Update canvas display, also optionally sleep to wait until operation finished.
static TCanvasImp * NewCanvas(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height)
Static method to create TGtk4Canvas instance Used by plugin manager to directly create TGtk4Canvas wi...
~TGtk4Canvas() override
Destructor.
UInt_t GetWindowGeometry(Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
Returns window geometry including borders and menus.
UInt_t fClientBits
! latest status bits from client like editor visible or not
void SetWindowPosition(Int_t x, Int_t y) override
Set window position of web canvas.
Bool_t HasMenuBar() const override
Returns kTRUE if web canvas has menu bar.
void ForceUpdate() override
Increment canvas version and force sending data to client - do not wait for reply.
void SetWindowTitle(const char *newTitle) override
Set window title of web canvas.
void ShowToolTips(Bool_t=kTRUE) override
Gtk4CanvasWindow * fCanvasWindow
Bool_t HasToolBar() const override
TVirtualPadPainter * CreatePadPainter() override
Creates pad painter.
Bool_t fFixedSize
! true when fixed-size canvas is configured
void SetCanvasSize(UInt_t w, UInt_t h) override
Set fixed canvas size - not supported yet in gtk.
Gtk4DrawArea * GetDrawArea() const
void ShowEditor(Bool_t=kTRUE) override
void SetWindowSize(UInt_t w, UInt_t h) override
Set window size of web canvas.
void ShowMenuBar(Bool_t=kTRUE) override
Bool_t PerformUpdate(Bool_t async) override
if canvas or any subpad was modified, invoke gtk4 queue_draw() which will trigger redraw area
ABC describing GUI independent main window (with menubar, scrollbars and a drawing area).
To make it possible to use GL for 2D graphic in a TPad/TCanvas.