pub struct IFrnPopup { /* private fields */ }Implementations§
Methods from Deref<Target = IFrnWindowBase>§
Sourcepub fn get_frame_size(&self) -> Result<FrnSize, HResult>
pub fn get_frame_size(&self) -> Result<FrnSize, HResult>
IFrnWindowBase::GetFrameSize
Sourcepub fn set_frame_theme_variant(
&self,
mode: FrnPlatformThemeVariant,
) -> Result<(), HResult>
pub fn set_frame_theme_variant( &self, mode: FrnPlatformThemeVariant, ) -> Result<(), HResult>
IFrnWindowBase::SetFrameThemeVariant
Sourcepub fn set_parent(&self, parent: Option<&IFrnWindowBase>) -> Result<(), HResult>
pub fn set_parent(&self, parent: Option<&IFrnWindowBase>) -> Result<(), HResult>
IFrnWindowBase::SetParent
Sourcepub fn show(&self, activate: bool, is_dialog: bool) -> Result<(), HResult>
pub fn show(&self, activate: bool, is_dialog: bool) -> Result<(), HResult>
IFrnWindowBase::Show
Sourcepub fn set_min_max_size(
&self,
min_size: FrnSize,
max_size: FrnSize,
) -> Result<(), HResult>
pub fn set_min_max_size( &self, min_size: FrnSize, max_size: FrnSize, ) -> Result<(), HResult>
IFrnWindowBase::SetMinMaxSize
Sourcepub fn resize(
&self,
width: f64,
height: f64,
reason: FrnPlatformResizeReason,
) -> Result<(), HResult>
pub fn resize( &self, width: f64, height: f64, reason: FrnPlatformResizeReason, ) -> Result<(), HResult>
IFrnWindowBase::Resize
Sourcepub fn begin_move_drag(&self) -> Result<(), HResult>
pub fn begin_move_drag(&self) -> Result<(), HResult>
IFrnWindowBase::BeginMoveDrag
Sourcepub fn begin_resize_drag(&self, edge: FrnWindowEdge) -> Result<(), HResult>
pub fn begin_resize_drag(&self, edge: FrnWindowEdge) -> Result<(), HResult>
IFrnWindowBase::BeginResizeDrag
Sourcepub fn get_position(&self) -> Result<FrnPoint, HResult>
pub fn get_position(&self) -> Result<FrnPoint, HResult>
IFrnWindowBase::GetPosition
IFrnWindowBase::SetMainMenu
Sourcepub fn obtain_ns_window_handle(&self) -> Result<*mut c_void, HResult>
pub fn obtain_ns_window_handle(&self) -> Result<*mut c_void, HResult>
IFrnWindowBase::ObtainNSWindowHandle
Sourcepub fn obtain_ns_window_handle_retained(&self) -> Result<*mut c_void, HResult>
pub fn obtain_ns_window_handle_retained(&self) -> Result<*mut c_void, HResult>
IFrnWindowBase::ObtainNSWindowHandleRetained
Sourcepub fn get_frame_size_from(&self, initial: FrnSize) -> Result<FrnSize, HResult>
pub fn get_frame_size_from(&self, initial: FrnSize) -> Result<FrnSize, HResult>
GetFrameSize with the value the caller starts the result with:
the native side leaves the result as it is when the window has no
frame yet (it is not shown), and the reference starts it at
(-1, -1) to tell that apart (WindowImplBase.FrameSize). The
generated get_frame_size starts it at
zero, which reads as a frame of no size.
Methods from Deref<Target = IFrnTopLevel>§
Sourcepub fn get_client_size(&self) -> Result<FrnSize, HResult>
pub fn get_client_size(&self) -> Result<FrnSize, HResult>
IFrnTopLevel::GetClientSize
Sourcepub fn get_scaling(&self) -> Result<f64, HResult>
pub fn get_scaling(&self) -> Result<f64, HResult>
IFrnTopLevel::GetScaling
Sourcepub fn invalidate(&self) -> Result<(), HResult>
pub fn invalidate(&self) -> Result<(), HResult>
IFrnTopLevel::Invalidate
Sourcepub fn point_to_client(&self, point: FrnPoint) -> Result<FrnPoint, HResult>
pub fn point_to_client(&self, point: FrnPoint) -> Result<FrnPoint, HResult>
IFrnTopLevel::PointToClient
Sourcepub fn point_to_screen(&self, point: FrnPoint) -> Result<FrnPoint, HResult>
pub fn point_to_screen(&self, point: FrnPoint) -> Result<FrnPoint, HResult>
IFrnTopLevel::PointToScreen
Sourcepub fn set_cursor(&self, cursor: Option<&IFrnCursor>) -> Result<(), HResult>
pub fn set_cursor(&self, cursor: Option<&IFrnCursor>) -> Result<(), HResult>
IFrnTopLevel::SetCursor
Sourcepub fn create_gl_render_target(
&self,
context: Option<&IFrnGlContext>,
) -> Result<Option<ComPtr<IFrnGlSurfaceRenderTarget>>, HResult>
pub fn create_gl_render_target( &self, context: Option<&IFrnGlContext>, ) -> Result<Option<ComPtr<IFrnGlSurfaceRenderTarget>>, HResult>
IFrnTopLevel::CreateGlRenderTarget
Sourcepub fn create_software_render_target(
&self,
) -> Result<Option<ComPtr<IFrnSoftwareRenderTarget>>, HResult>
pub fn create_software_render_target( &self, ) -> Result<Option<ComPtr<IFrnSoftwareRenderTarget>>, HResult>
IFrnTopLevel::CreateSoftwareRenderTarget
Sourcepub fn create_metal_render_target(
&self,
device: Option<&IFrnMetalDevice>,
) -> Result<Option<ComPtr<IFrnMetalRenderTarget>>, HResult>
pub fn create_metal_render_target( &self, device: Option<&IFrnMetalDevice>, ) -> Result<Option<ComPtr<IFrnMetalRenderTarget>>, HResult>
IFrnTopLevel::CreateMetalRenderTarget
Sourcepub fn obtain_ns_view_handle(&self) -> Result<*mut c_void, HResult>
pub fn obtain_ns_view_handle(&self) -> Result<*mut c_void, HResult>
IFrnTopLevel::ObtainNSViewHandle
Sourcepub fn obtain_ns_view_handle_retained(&self) -> Result<*mut c_void, HResult>
pub fn obtain_ns_view_handle_retained(&self) -> Result<*mut c_void, HResult>
IFrnTopLevel::ObtainNSViewHandleRetained
Sourcepub fn create_native_control_host(
&self,
) -> Result<Option<ComPtr<IFrnNativeControlHost>>, HResult>
pub fn create_native_control_host( &self, ) -> Result<Option<ComPtr<IFrnNativeControlHost>>, HResult>
IFrnTopLevel::CreateNativeControlHost
Sourcepub fn get_input_method(
&self,
) -> Result<Option<ComPtr<IFrnTextInputMethod>>, HResult>
pub fn get_input_method( &self, ) -> Result<Option<ComPtr<IFrnTextInputMethod>>, HResult>
IFrnTopLevel::GetInputMethod
Sourcepub fn set_transparency_mode(
&self,
mode: FrnWindowTransparencyMode,
) -> Result<(), HResult>
pub fn set_transparency_mode( &self, mode: FrnWindowTransparencyMode, ) -> Result<(), HResult>
IFrnTopLevel::SetTransparencyMode
Sourcepub fn get_current_display_id(&self) -> Result<u32, HResult>
pub fn get_current_display_id(&self) -> Result<u32, HResult>
IFrnTopLevel::GetCurrentDisplayId
Sourcepub unsafe fn begin_drag_and_drop_operation(
&self,
effects: FrnDragDropEffects,
point: FrnPoint,
source: Option<&IFrnClipboardDataSource>,
callback: Option<&IFrnDndResultCallback>,
source_handle: *mut c_void,
) -> Result<(), HResult>
pub unsafe fn begin_drag_and_drop_operation( &self, effects: FrnDragDropEffects, point: FrnPoint, source: Option<&IFrnClipboardDataSource>, callback: Option<&IFrnDndResultCallback>, source_handle: *mut c_void, ) -> Result<(), HResult>
IFrnTopLevel::BeginDragAndDropOperation
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnPopup
impl Deref for IFrnPopup
Source§type Target = IFrnWindowBase
type Target = IFrnWindowBase
Source§fn deref(&self) -> &IFrnWindowBase
fn deref(&self) -> &IFrnWindowBase
Source§impl<T: IFrnPopupImpl> ImplementedBy<T> for IFrnPopup
impl<T: IFrnPopupImpl> ImplementedBy<T> for IFrnPopup
const VTBL: &'static IFrnPopupVtbl
Source§impl Interface for IFrnPopup
impl Interface for IFrnPopup
type Vtbl = IFrnPopupVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnPopup
impl !Sync for IFrnPopup
impl Freeze for IFrnPopup
impl RefUnwindSafe for IFrnPopup
impl Unpin for IFrnPopup
impl UnsafeUnpin for IFrnPopup
impl UnwindSafe for IFrnPopup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more