Logo ROOT  
Reference Guide
 
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
21{
22 return false; // MAC not yet support ozone and headless mode
23}
24
26{
27 NSView *view = (NSView *)browser->GetHost()->GetWindowHandle();
28 NSWindow *window = [view window];
29 std::string titleStr(title);
31 [window setTitle:str];
32}
33
35{
36 return false;
37}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static bool PlatformResize(CefRefPtr< CefBrowser > browser, int width, int height)
void PlatformTitleChange(CefRefPtr< CefBrowser > browser, const CefString &title)
static bool PlatformInit()