Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Gtk4Window.cxx
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#include "Gtk4Window.h"
12
13
14/** \class Gtk4Window
15 \ingroup gtk4canvas
16*/
17
18
19Gtk4Window::Gtk4Window(TCanvas *canv, unsigned width, unsigned height)
20: m_Content(canv)
21{
22 set_title("canvas widget");
23 set_default_size(width, height);
24
25 set_child(m_Content);
26
28}
29
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
void SetParentWindow(Gtk::Window *window)
Gtk4CanvasContent m_Content
Definition Gtk4Window.h:32
Gtk4Window(TCanvas *canv=nullptr, unsigned width=400, unsigned height=200)
virtual ~Gtk4Window()
The Canvas class.
Definition TCanvas.h:23