ROOT
master
Reference Guide
Loading...
Searching...
No Matches
Gtk4Window.h
Go to the documentation of this file.
1
// Author: Sergey Linev, GSI 30/11/2026
2
3
/*************************************************************************
4
* Copyright (C) 1995-2026, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_Gtk4Window
12
#define ROOT_Gtk4Window
13
14
#include <gtkmm.h>
15
16
#include "
Gtk4DrawArea.h
"
17
#include "
Gtk4CanvasContent.h
"
18
#include <vector>
19
#include <string>
20
21
class
TCanvas
;
22
23
class
Gtk4Window
:
public
Gtk::Window {
24
public
:
25
Gtk4Window
(
TCanvas
*canv =
nullptr
,
unsigned
width
= 400,
unsigned
height
= 200);
26
virtual
~Gtk4Window
();
27
28
Gtk4CanvasContent
*
GetContent
() {
return
&
m_Content
; }
29
30
private
:
31
// Child widgets:
32
Gtk4CanvasContent
m_Content
;
33
};
34
35
#endif
Gtk4CanvasContent.h
Gtk4DrawArea.h
width
Option_t Option_t width
Definition
TGWin32VirtualXProxy.cxx:59
height
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Definition
TGWin32VirtualXProxy.cxx:167
Gtk4CanvasContent
Definition
Gtk4CanvasContent.h:22
Gtk4Window
Definition
Gtk4Window.h:23
Gtk4Window::m_Content
Gtk4CanvasContent m_Content
Definition
Gtk4Window.h:32
Gtk4Window::Gtk4Window
Gtk4Window(TCanvas *canv=nullptr, unsigned width=400, unsigned height=200)
Definition
Gtk4Window.cxx:19
Gtk4Window::~Gtk4Window
virtual ~Gtk4Window()
Definition
Gtk4Window.cxx:30
Gtk4Window::GetContent
Gtk4CanvasContent * GetContent()
Definition
Gtk4Window.h:28
TCanvas
The Canvas class.
Definition
TCanvas.h:23
gui
gtk4canvas
src
Gtk4Window.h
ROOTmaster - Reference Guide Generated on Sat Dec 5 2026 03:19:49 (GVA Time) using Doxygen 1.10.0