Definition at line 23 of file TGtk4Canvas.h.
Public Member Functions | |
| TGtk4Canvas (TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height) | |
| Constructor. | |
| ~TGtk4Canvas () override | |
| Destructor. | |
| TCanvas * | Canvas () const |
| void | Close () override |
| Close canvas - not implemented. | |
| void | ForceUpdate () override |
| Increment canvas version and force sending data to client - do not wait for reply. | |
| void | GetCanvasGeometry (Int_t wid, UInt_t &w, UInt_t &h) override |
| Returns canvas geometry. | |
| Gtk4DrawArea * | GetDrawArea () const |
| UInt_t | GetWindowGeometry (Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override |
| Returns window geometry including borders and menus. | |
| Bool_t | HasEditor () const override |
| Returns kTRUE if web canvas has graphical editor. | |
| Bool_t | HasMenuBar () const override |
| Returns kTRUE if web canvas has menu bar. | |
| Bool_t | HasStatusBar () const override |
| Returns kTRUE if web canvas has status bar. | |
| Bool_t | HasToolBar () const override |
| Bool_t | HasToolTips () const override |
| Returns kTRUE if tooltips are activated in web canvas. | |
| void | Iconify () override |
| Iconify browser window. | |
| Int_t | InitWindow () override |
| Initialize window for the Gtk4 canvas. | |
| virtual TClass * | IsA () const |
| void | RaiseWindow () override |
| Raise browser window. | |
| virtual void | ReallyDelete () |
| virtual Int_t | RequestLocator (Int_t &x, Int_t &y) |
| Request current mouse pointer, redirect to gVirtualX. | |
| void | ResizeCanvasWindow (Int_t) override |
| Resize canvas window, redirect to gVirtualX. | |
| void | SetCanvasSize (UInt_t w, UInt_t h) override |
| Set fixed canvas size - not supported yet in gtk. | |
| void | SetCursor (ECursor cursor) override |
| Set cursor. | |
| virtual void | SetStatusText (const char *text=nullptr, Int_t partidx=0) |
| void | SetWindowPosition (Int_t x, Int_t y) override |
| Set window position of web canvas. | |
| void | SetWindowSize (UInt_t w, UInt_t h) override |
| Set window size of web canvas. | |
| void | SetWindowTitle (const char *newTitle) override |
| Set window title of web canvas. | |
| void | Show () override |
| Show canvas. | |
| void | ShowEditor (Bool_t=kTRUE) override |
| void | ShowMenuBar (Bool_t=kTRUE) override |
| void | ShowStatusBar (Bool_t=kTRUE) override |
| void | ShowToolBar (Bool_t=kTRUE) override |
| void | ShowToolTips (Bool_t=kTRUE) override |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| void | UpdateDisplay (Int_t=0, Bool_t=kFALSE) override |
| Update canvas display, also optionally sleep to wait until operation finished. | |
| virtual void | Warp (Int_t ix, Int_t iy) |
| Change mouse pointer, redirect to gVirtualX. | |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| 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 without gui factory. | |
Protected Member Functions | |
| void | AssignStatusBits (UInt_t bits) |
| Assign clients bits. | |
| TVirtualPadPainter * | CreatePadPainter () override |
| Creates pad painter. | |
| virtual Bool_t | IsLocked () |
| virtual Bool_t | IsWeb () const |
| virtual void | Lock () |
| Bool_t | PerformUpdate (Bool_t async) override |
| if canvas or any subpad was modified, invoke gtk4 queue_draw() which will trigger redraw area | |
| virtual void | Unlock () |
Protected Attributes | |
| TCanvas * | fCanvas {nullptr} |
| Gtk4CanvasWindow * | fCanvasWindow = nullptr |
| UInt_t | fClientBits = 0 |
| ! latest status bits from client like editor visible or not | |
| Gtk4DrawArea * | fDrawArea = nullptr |
| Bool_t | fFixedSize = kFALSE |
| ! true when fixed-size canvas is configured | |
#include <TGtk4Canvas.h>
| TGtk4Canvas::TGtk4Canvas | ( | TCanvas * | c, |
| const char * | name, | ||
| Int_t | x, | ||
| Int_t | y, | ||
| UInt_t | width, | ||
| UInt_t | height ) |
Constructor.
Definition at line 40 of file TGtk4Canvas.cxx.
|
override |
Destructor.
Definition at line 48 of file TGtk4Canvas.cxx.
|
protected |
Assign clients bits.
Definition at line 215 of file TGtk4Canvas.cxx.
|
inlineinherited |
Definition at line 59 of file TCanvasImp.h.
|
staticinherited |
|
inlinestaticconstexprinherited |
Definition at line 99 of file TCanvasImp.h.
|
overridevirtual |
Close canvas - not implemented.
Reimplemented from TCanvasImp.
Definition at line 71 of file TGtk4Canvas.cxx.
|
overrideprotectedvirtual |
|
inlinestaticinherited |
Definition at line 99 of file TCanvasImp.h.
|
overridevirtual |
Increment canvas version and force sending data to client - do not wait for reply.
Reimplemented from TCanvasImp.
Definition at line 289 of file TGtk4Canvas.cxx.
Returns canvas geometry.
Reimplemented from TCanvasImp.
Definition at line 228 of file TGtk4Canvas.cxx.
|
inline |
Definition at line 43 of file TGtk4Canvas.h.
|
overridevirtual |
Returns window geometry including borders and menus.
Reimplemented from TCanvasImp.
Definition at line 245 of file TGtk4Canvas.cxx.
|
overridevirtual |
Returns kTRUE if web canvas has graphical editor.
Reimplemented from TCanvasImp.
Definition at line 87 of file TGtk4Canvas.cxx.
|
overridevirtual |
Returns kTRUE if web canvas has menu bar.
Reimplemented from TCanvasImp.
Definition at line 95 of file TGtk4Canvas.cxx.
|
overridevirtual |
Returns kTRUE if web canvas has status bar.
Reimplemented from TCanvasImp.
Definition at line 103 of file TGtk4Canvas.cxx.
|
inlineoverridevirtual |
Reimplemented from TCanvasImp.
Definition at line 73 of file TGtk4Canvas.h.
|
overridevirtual |
Returns kTRUE if tooltips are activated in web canvas.
Reimplemented from TCanvasImp.
Definition at line 111 of file TGtk4Canvas.cxx.
|
overridevirtual |
Iconify browser window.
Reimplemented from TCanvasImp.
Definition at line 197 of file TGtk4Canvas.cxx.
|
overridevirtual |
Initialize window for the Gtk4 canvas.
Reimplemented from TCanvasImp.
Definition at line 55 of file TGtk4Canvas.cxx.
|
inlinevirtualinherited |
Reimplemented in TRootCanvas, and TWebCanvas.
Definition at line 99 of file TCanvasImp.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TWebCanvas.
Definition at line 47 of file TCanvasImp.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TWebCanvas.
Definition at line 49 of file TCanvasImp.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TWebCanvas.
Definition at line 45 of file TCanvasImp.h.
|
static |
Static method to create TGtk4Canvas instance Used by plugin manager to directly create TGtk4Canvas without gui factory.
Definition at line 319 of file TGtk4Canvas.cxx.
if canvas or any subpad was modified, invoke gtk4 queue_draw() which will trigger redraw area
Reimplemented from TCanvasImp.
Definition at line 267 of file TGtk4Canvas.cxx.
|
overridevirtual |
Raise browser window.
Reimplemented from TCanvasImp.
Definition at line 206 of file TGtk4Canvas.cxx.
|
inlinevirtualinherited |
Reimplemented in TRootCanvas.
Definition at line 81 of file TCanvasImp.h.
Request current mouse pointer, redirect to gVirtualX.
Definition at line 36 of file TCanvasImp.cxx.
|
inlineoverridevirtual |
Resize canvas window, redirect to gVirtualX.
Reimplemented from TCanvasImp.
Definition at line 51 of file TGtk4Canvas.h.
Set fixed canvas size - not supported yet in gtk.
Reimplemented from TCanvasImp.
Definition at line 147 of file TGtk4Canvas.cxx.
|
overridevirtual |
|
inlinevirtualinherited |
Reimplemented in TRootCanvas.
Definition at line 71 of file TCanvasImp.h.
Set window position of web canvas.
Reimplemented from TCanvasImp.
Definition at line 119 of file TGtk4Canvas.cxx.
Set window size of web canvas.
Reimplemented from TCanvasImp.
Definition at line 129 of file TGtk4Canvas.cxx.
|
overridevirtual |
Set window title of web canvas.
Reimplemented from TCanvasImp.
Definition at line 138 of file TGtk4Canvas.cxx.
|
overridevirtual |
Reimplemented from TCanvasImp.
Definition at line 56 of file TGtk4Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 54 of file TGtk4Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 55 of file TGtk4Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 57 of file TGtk4Canvas.h.
Reimplemented from TCanvasImp.
Definition at line 58 of file TGtk4Canvas.h.
|
virtualinherited |
Reimplemented in TRootCanvas, and TWebCanvas.
|
inlineinherited |
Definition at line 99 of file TCanvasImp.h.
|
inlineprotectedvirtualinherited |
Reimplemented in TWebCanvas.
Definition at line 46 of file TCanvasImp.h.
|
inlineoverridevirtual |
Update canvas display, also optionally sleep to wait until operation finished.
Reimplemented from TCanvasImp.
Definition at line 52 of file TGtk4Canvas.h.
Change mouse pointer, redirect to gVirtualX.
Definition at line 27 of file TCanvasImp.cxx.
|
protectedinherited |
Definition at line 35 of file TCanvasImp.h.
|
protected |
Definition at line 27 of file TGtk4Canvas.h.
|
protected |
! latest status bits from client like editor visible or not
Definition at line 31 of file TGtk4Canvas.h.
|
protected |
Definition at line 28 of file TGtk4Canvas.h.
! true when fixed-size canvas is configured
Definition at line 30 of file TGtk4Canvas.h.