ROOT
Version v6.32
master
v6.34
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
▼
gui
►
browsable
►
browserv7
►
canvaspainter
▼
cefdisplay
doc
►
inc
▼
src
►
cef_main.cxx
►
gui_handler.cxx
gui_handler_linux.cxx
gui_handler_mac.mm
gui_handler_win.cc
►
RCefWebDisplayHandle.cxx
simple_app.cxx
doc
►
fitpanel
►
fitpanelv7
►
ged
►
gui
►
guibuilder
►
guihtml
►
qt5webdisplay
►
qt6webdisplay
►
recorder
►
sessionviewer
►
webdisplay
►
webgui6
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
gui_handler_mac.mm
Go to the documentation of this file.
1
// Author: Sergey Linev <S.Linev@gsi.de>
2
// Date: 2017-06-29
3
// Warning: This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
4
5
/*************************************************************************
6
* Copyright (C) 1995-2023, Rene Brun and Fons Rademakers. *
7
* All rights reserved. *
8
* *
9
* For the licensing terms see $ROOTSYS/LICENSE. *
10
* For the list of contributors see $ROOTSYS/README/CREDITS. *
11
*************************************************************************/
12
13
#include "
gui_handler.h
"
14
15
#import <Cocoa/Cocoa.h>
16
17
#include "include/cef_browser.h"
18
19
20
bool
GuiHandler::PlatformInit
()
21
{
22
return
false
;
// MAC not yet support ozone and headless mode
23
}
24
25
void
GuiHandler::PlatformTitleChange
(
CefRefPtr<CefBrowser>
browser
,
const
CefString
&title)
26
{
27
NSView
*view = (
NSView
*)
browser
->GetHost()->GetWindowHandle();
28
NSWindow
*window = [view window];
29
std::string
titleStr
(title);
30
NSString
*str = [
NSString
stringWithUTF8String
:
titleStr
.c_str()];
31
[window
setTitle
:str];
32
}
33
34
bool
GuiHandler::PlatformResize
(
CefRefPtr<CefBrowser>
,
int
,
int
)
35
{
36
return
false
;
37
}
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
GuiHandler::PlatformResize
static bool PlatformResize(CefRefPtr< CefBrowser > browser, int width, int height)
Definition
gui_handler_linux.cxx:127
GuiHandler::PlatformTitleChange
void PlatformTitleChange(CefRefPtr< CefBrowser > browser, const CefString &title)
Definition
gui_handler_linux.cxx:122
GuiHandler::PlatformInit
static bool PlatformInit()
Definition
gui_handler_linux.cxx:117
NSView
NSWindow
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
gui_handler.h
gui
cefdisplay
src
gui_handler_mac.mm
ROOT v6-32 - Reference Guide Generated on Tue Apr 1 2025 15:09:37 (GVA Time) using Doxygen 1.10.0