Lines Matching refs:m_pWindow
431 GDK_WINDOW_XWINDOW(m_pWindow->window), in ~GtkSalFrame()
441 if( m_pWindow ) in ~GtkSalFrame()
443 g_object_set_data( G_OBJECT( m_pWindow ), "SalFrame", NULL ); in ~GtkSalFrame()
444 gtk_widget_destroy( m_pWindow ); in ~GtkSalFrame()
458 m_pWindow, in moveWindow()
462 gtk_window_move( GTK_WINDOW(m_pWindow), nX, nY ); in moveWindow()
468 gtk_widget_set_size_request( m_pWindow, nWidth, nHeight ); in resizeWindow()
470 gtk_window_resize( GTK_WINDOW(m_pWindow), nWidth, nHeight ); in resizeWindow()
529 g_signal_connect( G_OBJECT(m_pWindow), "style-set", G_CALLBACK(signalStyleSet), this ); in InitCommon()
530 g_signal_connect( G_OBJECT(m_pWindow), "button-press-event", G_CALLBACK(signalButton), this ); in InitCommon()
531 g_signal_connect( G_OBJECT(m_pWindow), "button-release-event", G_CALLBACK(signalButton), this ); in InitCommon()
532 g_signal_connect( G_OBJECT(m_pWindow), "expose-event", G_CALLBACK(signalExpose), this ); in InitCommon()
533 g_signal_connect( G_OBJECT(m_pWindow), "focus-in-event", G_CALLBACK(signalFocus), this ); in InitCommon()
534 g_signal_connect( G_OBJECT(m_pWindow), "focus-out-event", G_CALLBACK(signalFocus), this ); in InitCommon()
535 g_signal_connect( G_OBJECT(m_pWindow), "map-event", G_CALLBACK(signalMap), this ); in InitCommon()
536 g_signal_connect( G_OBJECT(m_pWindow), "unmap-event", G_CALLBACK(signalUnmap), this ); in InitCommon()
537 g_signal_connect( G_OBJECT(m_pWindow), "configure-event", G_CALLBACK(signalConfigure), this ); in InitCommon()
538 g_signal_connect( G_OBJECT(m_pWindow), "motion-notify-event", G_CALLBACK(signalMotion), this ); in InitCommon()
539 g_signal_connect( G_OBJECT(m_pWindow), "key-press-event", G_CALLBACK(signalKey), this ); in InitCommon()
540 g_signal_connect( G_OBJECT(m_pWindow), "key-release-event", G_CALLBACK(signalKey), this ); in InitCommon()
541 g_signal_connect( G_OBJECT(m_pWindow), "delete-event", G_CALLBACK(signalDelete), this ); in InitCommon()
542 g_signal_connect( G_OBJECT(m_pWindow), "window-state-event", G_CALLBACK(signalState), this ); in InitCommon()
543 g_signal_connect( G_OBJECT(m_pWindow), "scroll-event", G_CALLBACK(signalScroll), this ); in InitCommon()
544 g_signal_connect( G_OBJECT(m_pWindow), "leave-notify-event", G_CALLBACK(signalCrossing), this ); in InitCommon()
545 g_signal_connect( G_OBJECT(m_pWindow), "enter-notify-event", G_CALLBACK(signalCrossing), this ); in InitCommon()
546 …g_signal_connect( G_OBJECT(m_pWindow), "visibility-notify-event", G_CALLBACK(signalVisibility), th… in InitCommon()
547 g_signal_connect( G_OBJECT(m_pWindow), "destroy", G_CALLBACK(signalDestroy), this ); in InitCommon()
566 gtk_widget_set_app_paintable( m_pWindow, sal_True ); in InitCommon()
567 gtk_widget_set_double_buffered( m_pWindow, FALSE ); in InitCommon()
568 gtk_widget_set_redraw_on_allocate( m_pWindow, FALSE ); in InitCommon()
569 gtk_widget_add_events( m_pWindow, in InitCommon()
578 gtk_container_add( GTK_CONTAINER(m_pWindow), GTK_WIDGET(m_pFixedContainer) ); in InitCommon()
584 gtk_widget_realize( m_pWindow ); in InitCommon()
590 m_aSystemData.aWindow = GDK_WINDOW_XWINDOW(m_pWindow->window); in InitCommon()
592 m_aSystemData.pWidget = m_pWindow; in InitCommon()
642 GDK_WINDOW_XWINDOW(m_pWindow->window), in InitCommon()
776 m_pWindow = gtk_event_box_new(); in Init()
781 m_pWindow, 0, 0 ); in Init()
786 m_pWindow = gtk_widget_new( GTK_TYPE_WINDOW, "type", eWinType, "visible", FALSE, NULL ); in Init()
787 g_object_set_data( G_OBJECT( m_pWindow ), "SalFrame", this ); in Init()
793 if( m_pParent && m_pParent->m_pWindow && ! isChild() ) in Init()
794 …gtk_window_set_screen( GTK_WINDOW(m_pWindow), gtk_window_get_screen( GTK_WINDOW(m_pParent->m_pWind… in Init()
810 gtk_window_set_role( GTK_WINDOW(m_pWindow), "splashscreen" ); in Init()
816 gtk_window_set_skip_taskbar_hint( GTK_WINDOW(m_pWindow), true ); in Init()
821 lcl_set_accept_focus( GTK_WINDOW(m_pWindow), sal_False, true ); in Init()
833 gtk_window_set_keep_above( GTK_WINDOW(m_pWindow), true ); in Init()
836 gtk_window_set_type_hint( GTK_WINDOW(m_pWindow), eType ); in Init()
838 gtk_window_set_decorated( GTK_WINDOW(m_pWindow), FALSE ); in Init()
839 gtk_window_set_gravity( GTK_WINDOW(m_pWindow), GDK_GRAVITY_STATIC ); in Init()
841 gtk_window_set_transient_for( GTK_WINDOW(m_pWindow), GTK_WINDOW(m_pParent->m_pWindow) ); in Init()
845 gtk_window_set_type_hint( GTK_WINDOW(m_pWindow), GDK_WINDOW_TYPE_HINT_UTILITY ); in Init()
861 lcl_set_user_time(GTK_WIDGET(m_pWindow)->window, nUserTime); in Init()
866 …gtk_window_set_resizable( GTK_WINDOW(m_pWindow), (nStyle & SAL_FRAME_STYLE_SIZEABLE) ? sal_True : … in Init()
868 lcl_set_accept_focus( GTK_WINDOW(m_pWindow), sal_False, false ); in Init()
913 m_pWindow = gtk_plug_new( pSysData->aWindow ); in Init()
915 GTK_WIDGET_SET_FLAGS( m_pWindow, GTK_CAN_FOCUS | GTK_SENSITIVE | GTK_CAN_DEFAULT ); in Init()
916 gtk_widget_set_sensitive( m_pWindow, true ); in Init()
920 m_pWindow = gtk_window_new( GTK_WINDOW_POPUP ); in Init()
935 gtk_window_resize( GTK_WINDOW(m_pWindow), w, h ); in Init()
936 gtk_window_move( GTK_WINDOW(m_pWindow), 0, 0 ); in Init()
940 GDK_WINDOW_XWINDOW(m_pWindow->window), in Init()
974 if( GTK_WIDGET_REALIZED( m_pWindow ) ) in SetExtendedFrameStyle()
981 GDK_WINDOW_XWINDOW(m_pWindow->window), in SetExtendedFrameStyle()
986 gtk_window_set_wmclass( GTK_WINDOW(m_pWindow), in SetExtendedFrameStyle()
995 if( m_pWindow ) in GetGraphics()
1004 m_aGraphics[i].pGraphics = new GtkSalGraphics( m_pWindow ); in GetGraphics()
1005 … m_aGraphics[i].pGraphics->Init( this, GDK_WINDOW_XWINDOW(m_pWindow->window), m_nScreen ); in GetGraphics()
1036 if( m_pWindow && ! isChild() ) in SetTitle()
1037 …gtk_window_set_title( GTK_WINDOW(m_pWindow), rtl::OUStringToOString( rTitle, RTL_TEXTENCODING_UTF8… in SetTitle()
1108 || ! m_pWindow ) in SetIcon()
1182 gtk_window_set_icon_list( GTK_WINDOW(m_pWindow), pIcons ); in SetIcon()
1282 if( (m_nStyle & SAL_FRAME_STYLE_DEFAULT) && m_pWindow ) in SetDefaultSize()
1283 gtk_window_maximize( GTK_WINDOW(m_pWindow) ); in SetDefaultSize()
1300 if( m_pWindow ) in Show()
1304 gtk_window_set_keep_above( GTK_WINDOW(m_pWindow), bVisible ); in Show()
1318 …if( m_pParent && m_pParent->m_nWorkArea != m_nWorkArea && GTK_WIDGET_MAPPED(m_pParent->m_pWindow) ) in Show()
1369 lcl_set_user_time( GTK_WIDGET(m_pWindow)->window, nUserTime ); in Show()
1374 gtk_widget_show( m_pWindow ); in Show()
1396 gtk_widget_hide( m_pWindow ); in Show()
1427 if( m_pWindow && ! isChild() ) in setMinMaxSize()
1465 gtk_window_set_geometry_hints( GTK_WINDOW(m_pWindow), in setMinMaxSize()
1478 if( GTK_WIDGET_MAPPED( m_pWindow ) ) in SetMaxClientSize()
1487 if( m_pWindow ) in SetMinClientSize()
1489 gtk_widget_set_size_request( m_pWindow, nWidth, nHeight ); in SetMinClientSize()
1491 if( GTK_WIDGET_MAPPED( m_pWindow ) ) in SetMinClientSize()
1499 if( !m_pWindow || isChild( true, false ) ) in SetPosSize()
1516 gtk_widget_set_size_request( m_pWindow, nWidth, nHeight ); in SetPosSize()
1518 gtk_window_resize( GTK_WINDOW(m_pWindow), nWidth, nHeight ); in SetPosSize()
1588 if( m_pWindow && !(m_nState & GDK_WINDOW_STATE_ICONIFIED) ) in GetClientSize()
1609 if( ! m_pWindow || ! pState || isChild( true, false ) ) in SetWindowState()
1666 gtk_window_maximize( GTK_WINDOW(m_pWindow) ); in SetWindowState()
1668 gtk_window_unmaximize( GTK_WINDOW(m_pWindow) ); in SetWindowState()
1679 gtk_window_iconify( GTK_WINDOW(m_pWindow) ); in SetWindowState()
1681 gtk_window_deiconify( GTK_WINDOW(m_pWindow) ); in SetWindowState()
1738 gtk_window_set_screen( GTK_WINDOW(m_pWindow), pScreen ); in moveToScreen()
1740 gtk_widget_realize( m_pWindow ); in moveToScreen()
1743 m_aSystemData.aWindow = GDK_WINDOW_XWINDOW(m_pWindow->window); in moveToScreen()
1754 … m_aGraphics[i].pGraphics->SetDrawable( GDK_WINDOW_XWINDOW(m_pWindow->window), m_nScreen ); in moveToScreen()
1773 if( m_pWindow && ! isChild() ) in SetScreenNumber()
1783 bool bVisible = GTK_WIDGET_MAPPED(m_pWindow); in SetScreenNumber()
1789 gtk_window_move( GTK_WINDOW(m_pWindow), maGeometry.nX, maGeometry.nY ); in SetScreenNumber()
1798 gtk_window_move( GTK_WINDOW(m_pWindow), maGeometry.nX, maGeometry.nY ); in SetScreenNumber()
1805 if( m_pWindow && ! isChild() ) in ShowFullScreen()
1815 bool bVisible = GTK_WIDGET_MAPPED(m_pWindow); in ShowFullScreen()
1826 gtk_window_resize( GTK_WINDOW(m_pWindow), in ShowFullScreen()
1829 gtk_window_move( GTK_WINDOW(m_pWindow), in ShowFullScreen()
1840 …->getWMAdaptor()->setFullScreenMonitors( GDK_WINDOW_XWINDOW( GTK_WIDGET(m_pWindow)->window ), nScr… in ShowFullScreen()
1842 gtk_window_set_resizable( GTK_WINDOW(m_pWindow), sal_True ); in ShowFullScreen()
1843 gtk_window_fullscreen( GTK_WINDOW( m_pWindow ) ); in ShowFullScreen()
1850 bool bVisible = GTK_WIDGET_MAPPED(m_pWindow); in ShowFullScreen()
1852 gtk_window_unfullscreen( GTK_WINDOW(m_pWindow) ); in ShowFullScreen()
1859 gtk_window_resize( GTK_WINDOW(m_pWindow), in ShowFullScreen()
1862 gtk_window_move( GTK_WINDOW(m_pWindow), in ShowFullScreen()
1876 gtk_window_set_resizable( GTK_WINDOW(m_pWindow), TRUE ); in ShowFullScreen()
1877 gtk_window_fullscreen( GTK_WINDOW(m_pWindow) ); in ShowFullScreen()
1887 gtk_window_unfullscreen( GTK_WINDOW(m_pWindow) ); in ShowFullScreen()
1889 gtk_window_set_resizable( GTK_WINDOW(m_pWindow), FALSE ); in ShowFullScreen()
1909 GdkScreen *pScreen = gtk_window_get_screen( GTK_WINDOW(m_pWindow) ); in setAutoLock()
2058 GDK_WINDOW_XID(m_pWindow->window)); in StartPresentation()
2080 if( m_pWindow ) in ToTop()
2083 gtk_widget_grab_focus( m_pWindow ); in ToTop()
2084 else if( GTK_WIDGET_MAPPED( m_pWindow ) ) in ToTop()
2087 gtk_window_present( GTK_WINDOW(m_pWindow) ); in ToTop()
2093 gdk_window_focus( m_pWindow->window, nUserTime ); in ToTop()
2105 …XSetInputFocus( getDisplay()->GetDisplay(), GDK_WINDOW_XWINDOW( m_pWindow->window ), RevertToParen… in ToTop()
2113 gtk_window_present( GTK_WINDOW(m_pWindow) ); in ToTop()
2120 if( m_pWindow && ePointerStyle != m_ePointerStyle ) in SetPointer()
2124 gdk_window_set_cursor( m_pWindow->window, pCursor ); in SetPointer()
2137 if( m_pWindow ) in grabPointer()
2159 gdk_pointer_grab( m_pWindow->window, bOwnerEvents, in grabPointer()
2172 GDK_WINDOW_XWINDOW( m_pWindow->window), in grabPointer()
2205 GdkScreen *pScreen = gtk_window_get_screen( GTK_WINDOW(pFrame->m_pWindow) ); in SetPointerPos()
2220 gdk_window_get_pointer( pFrame->m_pWindow->window, &x, &y, &mask ); in SetPointerPos()
2302 if( !m_pWindow ) in SnapShot()
2306 GdkWindow *pWin = m_pWindow->window; in SnapShot()
2318 if( ! m_pWindow ) in UpdateSettings()
2361 gtk_window_set_transient_for( GTK_WINDOW(m_pWindow), in SetParent()
2362 … (m_pParent && ! m_pParent->isChild(true,false)) ? GTK_WINDOW(m_pParent->m_pWindow) : NULL in SetParent()
2368 bool bWasVisible = GTK_WIDGET_MAPPED(m_pWindow); in createNewWindow()
2416 if( m_pWindow ) in createNewWindow()
2417 gtk_widget_destroy( m_pWindow ); in createNewWindow()
2441 … m_aGraphics[i].pGraphics->SetDrawable( GDK_WINDOW_XWINDOW(m_pWindow->window), m_nScreen ); in createNewWindow()
2442 m_aGraphics[i].pGraphics->SetWindow( m_pWindow ); in createNewWindow()
2470 if( m_pWindow ) in ResetClipRegion()
2471 gdk_window_shape_combine_region( m_pWindow->window, NULL, 0, 0 ); in ResetClipRegion()
2497 if( m_pWindow && m_pRegion ) in EndSetClipRegion()
2498 gdk_window_shape_combine_region( m_pWindow->window, m_pRegion, 0, 0 ); in EndSetClipRegion()
2512 m_nWorkArea = pAdaptor->getWindowWorkArea( GDK_WINDOW_XWINDOW( m_pWindow->window) ); in Dispatch()
2520 … gtk_window_resize( GTK_WINDOW(m_pWindow), pEvent->xconfigure.width, pEvent->xconfigure.height ); in Dispatch()
2539 GDK_WINDOW_XWINDOW( m_pWindow->window), in Dispatch()
2554 pEvent->xclient.window == GDK_WINDOW_XWINDOW(m_pWindow->window) && in Dispatch()
2566 aEvent.window = m_pWindow->window; in Dispatch()
2569 signalFocus( m_pWindow, &aEvent, this ); in Dispatch()
2581 GDK_WINDOW_XWINDOW(m_pWindow->window), in SetBackgroundBitmap()
2594 GDK_WINDOW_XWINDOW(m_pWindow->window), in SetBackgroundBitmap()
2610 GDK_WINDOW_XWINDOW(m_pWindow->window), in SetBackgroundBitmap()
2783 gdk_window_get_pointer( GTK_WIDGET(pThis->m_pWindow)->window, &x, &y, &mask ); in signalMotion()
2868 aEvent.xclient.window = GDK_WINDOW_XWINDOW(m_pWindow->window); in IMPL_LINK()
2918 GDK_WINDOW_XWINDOW( GTK_WIDGET(pThis->m_pWindow)->window), in signalMap()
2966 GDK_WINDOW_XWINDOW(GTK_WIDGET(pThis->m_pWindow)->window), in signalConfigure()
3000 gdk_window_get_frame_extents( GTK_WIDGET(pThis->m_pWindow)->window, &aRect ); in signalConfigure()
3267 if( GTK_WIDGET( pObj ) == pThis->m_pWindow ) in signalDestroy()
3270 pThis->m_pWindow = NULL; in signalDestroy()
3315 gtk_im_context_set_client_window( m_pIMContext, GTK_WIDGET(m_pFrame->m_pWindow)->window ); in createIMContext()