Trait gtk4::prelude::DialogExt

source ·
pub trait DialogExt: IsA<Dialog> + Sealed + 'static {
    // Provided methods
    fn add_action_widget(
        &self,
        child: &impl IsA<Widget>,
        response_id: ResponseType
    ) { ... }
    fn add_button(&self, button_text: &str, response_id: ResponseType) -> Widget { ... }
    fn content_area(&self) -> Box { ... }
    fn header_bar(&self) -> HeaderBar { ... }
    fn widget_for_response(&self, response_id: ResponseType) -> Option<Widget> { ... }
    fn response(&self, response_id: ResponseType) { ... }
    fn set_default_response(&self, response_id: ResponseType) { ... }
    fn set_response_sensitive(&self, response_id: ResponseType, setting: bool) { ... }
    fn use_header_bar(&self) -> i32 { ... }
    fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn emit_close(&self) { ... }
    fn connect_response<F: Fn(&Self, ResponseType) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
👎Deprecated: Since 4.10

Provided Methods§

source

fn add_action_widget(&self, child: &impl IsA<Widget>, response_id: ResponseType)

👎Deprecated: Since 4.10
source

fn add_button(&self, button_text: &str, response_id: ResponseType) -> Widget

👎Deprecated: Since 4.10
source

fn content_area(&self) -> Box

👎Deprecated: Since 4.10
source

fn header_bar(&self) -> HeaderBar

👎Deprecated: Since 4.10
source

fn widget_for_response(&self, response_id: ResponseType) -> Option<Widget>

👎Deprecated: Since 4.10
source

fn response(&self, response_id: ResponseType)

👎Deprecated: Since 4.10
source

fn set_default_response(&self, response_id: ResponseType)

👎Deprecated: Since 4.10
source

fn set_response_sensitive(&self, response_id: ResponseType, setting: bool)

👎Deprecated: Since 4.10
source

fn use_header_bar(&self) -> i32

👎Deprecated: Since 4.10
source

fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

👎Deprecated: Since 4.10
source

fn emit_close(&self)

👎Deprecated: Since 4.10
source

fn connect_response<F: Fn(&Self, ResponseType) + 'static>( &self, f: F ) -> SignalHandlerId

👎Deprecated: Since 4.10

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Dialog>> DialogExt for O