Trait gtk::HeaderBarExt [−][src]
pub trait HeaderBarExt {
fn get_custom_title(&self) -> Option<Widget>;
fn get_show_close_button(&self) -> bool;
fn get_subtitle(&self) -> Option<String>;
fn get_title(&self) -> Option<String>;
fn pack_end<P: IsA<Widget>>(&self, child: &P);
fn pack_start<P: IsA<Widget>>(&self, child: &P);
fn set_custom_title<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
title_widget: Q
);
fn set_show_close_button(&self, setting: bool);
fn set_subtitle<'a, P: Into<Option<&'a str>>>(&self, subtitle: P);
fn set_title<'a, P: Into<Option<&'a str>>>(&self, title: P);
fn get_property_custom_title(&self) -> Option<Widget>;
fn set_property_custom_title<P: IsA<Widget> + IsA<Object> + SetValueOptional>(
&self,
custom_title: Option<&P>
);
fn get_property_show_close_button(&self) -> bool;
fn set_property_show_close_button(&self, show_close_button: bool);
fn get_property_spacing(&self) -> i32;
fn set_property_spacing(&self, spacing: i32);
fn get_property_subtitle(&self) -> Option<String>;
fn set_property_subtitle(&self, subtitle: Option<&str>);
fn get_property_title(&self) -> Option<String>;
fn set_property_title(&self, title: Option<&str>);
fn get_child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType;
fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType);
fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32;
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32);
fn connect_property_custom_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_show_close_button_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
fn get_custom_title(&self) -> Option<Widget>
fn get_subtitle(&self) -> Option<String>
fn get_title(&self) -> Option<String>
fn pack_end<P: IsA<Widget>>(&self, child: &P)
fn pack_start<P: IsA<Widget>>(&self, child: &P)
fn set_custom_title<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
title_widget: Q
)
&self,
title_widget: Q
)
fn set_subtitle<'a, P: Into<Option<&'a str>>>(&self, subtitle: P)
fn set_title<'a, P: Into<Option<&'a str>>>(&self, title: P)
fn get_property_custom_title(&self) -> Option<Widget>
fn set_property_custom_title<P: IsA<Widget> + IsA<Object> + SetValueOptional>(
&self,
custom_title: Option<&P>
)
&self,
custom_title: Option<&P>
)
fn get_property_spacing(&self) -> i32
fn set_property_spacing(&self, spacing: i32)
fn get_property_subtitle(&self) -> Option<String>
fn set_property_subtitle(&self, subtitle: Option<&str>)
fn get_property_title(&self) -> Option<String>
fn set_property_title(&self, title: Option<&str>)
fn get_child_pack_type<T: IsA<Widget>>(&self, item: &T) -> PackType
fn set_child_pack_type<T: IsA<Widget>>(&self, item: &T, pack_type: PackType)
fn get_child_position<T: IsA<Widget>>(&self, item: &T) -> i32
fn set_child_position<T: IsA<Widget>>(&self, item: &T, position: i32)
fn connect_property_custom_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId