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
4/*************************************************************************
5 * Copyright (C) 1995-2023, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#include "gui_handler.h"
13
14#import <Cocoa/Cocoa.h>
15
16#include "include/cef_browser.h"
17
19{
20}
21
23{
24 NSView *view = (NSView *)browser->GetHost()->GetWindowHandle();
25 NSWindow *window = [view window];
26 std::string titleStr(title);
28 [window setTitle:str];
29}
30
32{
33 return false;
34}
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 void PlatformInit()