Struct tk::listbox::TkListbox

source ·
pub struct TkListbox<Inst: TkInstance>(/* private fields */);

Implementations§

source§

impl<Inst: TkInstance> TkListbox<Inst>

source

pub fn configure<Opts>( &self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn cget<Opt>(&self, _name_fn: fn(_: Obj) -> Opt) -> InterpResult<Obj>
where Opt: TkOption + Into<TkListboxOpt>,

source

pub fn grab(&self) -> InterpResult<()>

source

pub fn grab_global(&self) -> InterpResult<()>

source

pub fn grab_set_current(&self) -> InterpResult<()>

source

pub fn grab_release(&self) -> InterpResult<()>

source

pub fn grab_set(&self) -> InterpResult<()>

source

pub fn grab_set_global(&self) -> InterpResult<()>

source

pub fn grab_status(&self) -> InterpResult<()>

source§

impl<Inst: TkInstance> TkListbox<Inst>

source

pub fn active(&self, index: impl Into<Index>) -> InterpResult<()>

source

pub fn curselection(&self) -> Result<Vec<c_int>, Enum2<DeError, InterpError>>

source

pub fn delete(&self, index: impl Into<Index>) -> InterpResult<()>

Deletes one element of the listbox.

Examples
use tcl::*;
use tk::*;
use tk::cmd::*;

fn concat( v: Vec<Obj> ) -> String {
    v.iter().map( |obj| obj.get_string() ).collect::<String>()
}

fn main() -> TkResult<()> {
    let tk = make_tk!()?;
    let root = tk.root();
    tk.set( "items", "a b c d e f g h i" );
    let lbox = root.add_listbox( "lbox" -listvariable("items") )?;

    lbox.delete(1)?;
    assert_eq!( concat( lbox.get_range(..)? ), "acdefghi" );

    Ok(())
}
source

pub fn delete_range(&self, range: impl Into<TkRange<Index>>) -> InterpResult<()>

Deletes one or more elements of the listbox.

Examples
use tcl::*;
use tk::*;
use tk::cmd::*;

fn concat( v: Vec<Obj> ) -> String {
    v.iter().map( |obj| obj.get_string() ).collect::<String>()
}

fn main() -> TkResult<()> {
    let tk = make_tk!()?;
    let root = tk.root();
    tk.set( "items", "a b c d e f g h i" );
    let lbox = root.add_listbox( "lbox" -listvariable("items") )?;

    lbox.delete_range(1..=1)?;
    assert_eq!( concat( lbox.get_range(..)? ), "acdefghi" );

    lbox.delete_range(6..)?;
    assert_eq!( concat( lbox.get_range(..)? ), "acdefg" );

    lbox.delete_range(..=1)?;
    assert_eq!( concat( lbox.get_range(..)? ), "defg" );

    lbox.delete_range(1..=2)?;
    assert_eq!( concat( lbox.get_range(..)? ), "dg" );

    lbox.delete_range(..)?;
    assert_eq!( concat( lbox.get_range(..)? ), "" );

    Ok(())
}
source

pub fn get( &self, index: impl Into<Index> ) -> Result<Obj, Enum2<InterpError, NotList>>

Returns the contents of the listbox element indicated by the index, or an empty string if first refers to a non-existent element.

Examples
use tcl::*;
use tk::*;
use tk::cmd::*;

fn main() -> TkResult<()> {
    let tk = make_tk!()?;
    let root = tk.root();

    tk.set( "items", "alpha beta gamma" );
    let lbox = root.add_listbox( "lbox" -listvariable("items") -height(5) )?.pack(())?;
    let expected = vec![ "alpha".to_owned(), "beta".to_owned(), "gamma".to_owned() ];

    assert_eq!( lbox.get(0)?.get_string(), expected[0] );
    assert_eq!( lbox.get(1)?.get_string(), expected[1] );
    assert_eq!( lbox.get(2)?.get_string(), expected[2] );
    assert_eq!( lbox.get(3)?.get_string(), "" );

    assert_eq!( lbox.get( TkListboxIndex::End )?.get_string(), expected[2] );

    Ok(())
}
source

pub fn get_range( &self, range: impl Into<TkRange<Index>> ) -> Result<Vec<Obj>, Enum2<InterpError, NotList>>

Returns a list whose elements are all of the listbox elements in the range.

Examples
use tcl::*;
use tk::*;
use tk::cmd::*;

fn main() -> TkResult<()> {
    let tk = make_tk!()?;
    let root = tk.root();

    tk.set( "items", "alpha beta gamma" );
    let lbox = root.add_listbox( "lbox" -listvariable("items") -height(5) )?.pack(())?;
    let expected = vec![ "alpha".to_owned(), "beta".to_owned(), "gamma".to_owned() ];

    assert_eq!( &lbox.get_range( ..  )?.iter().map( |obj| obj.get_string() ).collect::<Vec<_>>(), &expected );
    assert_eq!( &lbox.get_range(0..  )?.iter().map( |obj| obj.get_string() ).collect::<Vec<_>>(), &expected );
    assert_eq!( &lbox.get_range( ..=2)?.iter().map( |obj| obj.get_string() ).collect::<Vec<_>>(), &expected );
    assert_eq!( &lbox.get_range(0..=2)?.iter().map( |obj| obj.get_string() ).collect::<Vec<_>>(), &expected );

    assert_eq!( &lbox.get_range(1..=2)?.iter().map( |obj| obj.get_string() ).collect::<Vec<_>>(), &expected[1..=2] );

    Ok(())
}
source

pub fn index(&self, index: impl Into<Index>) -> InterpResult<c_longlong>

source

pub fn insert( &self, index: impl Into<Index>, elements: impl IntoIterator<Item = Obj> ) -> InterpResult<()>

source

pub fn insert_end( &self, elements: impl IntoIterator<Item = Obj> ) -> InterpResult<()>

source

pub fn itemcget<Opt, Val>( &self, index: impl Into<Index>, _name_fn: fn(_: Val) -> Opt ) -> InterpResult<Obj>
where Opt: TkOption + Into<TkListboxItemOpt>, Val: Into<Obj>,

source

pub fn itemconfigure<Opts>( &self, index: impl Into<Index>, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn nearest(&self, y: c_int) -> InterpResult<c_longlong>

source

pub fn scan_mark(&self, x: c_int, y: c_int) -> InterpResult<()>

source

pub fn scan_dragto(&self, x: c_int, y: c_int) -> InterpResult<()>

source

pub fn see(&self, index: impl Into<Index>) -> InterpResult<()>

source

pub fn selection_anchor(&self, index: impl Into<Index>) -> InterpResult<()>

source

pub fn selection_clear(&self, index: impl Into<Index>) -> InterpResult<()>

source

pub fn selection_clear_range( &self, range: impl Into<TkRange<Index>> ) -> InterpResult<()>

source

pub fn selection_includes(&self, index: impl Into<Index>) -> InterpResult<bool>

source

pub fn selection_set(&self, index: impl Into<Index>) -> InterpResult<()>

source

pub fn selection_set_range( &self, range: impl Into<TkRange<Index>> ) -> InterpResult<()>

source

pub fn size(&self) -> InterpResult<c_longlong>

Methods from Deref<Target = Widget<Inst>>§

source

pub fn path(&self) -> &'static str

source

pub fn add_widgets<Widgs, Shape>( &self, path_widgets: PathOptsWidgets<(), Widgs> ) -> InterpResult<CreatedWidgets<Inst>>
where Widgs: ConvertTuple, <Widgs as ConvertTuple>::Output: DomForest<(&'static str, &'static str), OptPair, Shape>,

Adds child widget(s) containing hierachical trees of children widgets, including geometry managers.

Examples
use tk::*;
use tk::cmd::*;

fn main() -> TkResult<()> {
    let tk = make_tk!()?;
    let root = tk.root();

    root.add_widgets(
        -pack(
            -button( -text("hello,tk!") -command("") )
            -pack( -button( -text("oops") ))
            -frame( -pack(
                -button( -text("exit") -command("destroy .") )
                -option_menu( "optmenu1", "my_opt", &[ "ALPHA", "BETA", "GAMMA" ])
            ))
        )
        -pack( -expand(1)
            -button( -text("demo") )
            -button( -text("demo") )
            -option_menu( "optmenu2", "your_opt", &[ "alpha", "beta", "gamma" ])
        )
    )?;

    Ok( main_loop() )
}
source

pub fn pack_configure<Opts>( &self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn pack_forget(&self) -> InterpResult<()>

source

pub fn pack_info(&self) -> InterpResult<HashMap<String, Obj>>

source

pub fn grid_configure<Opts>( &self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn grid_forget(&self) -> InterpResult<()>

source

pub fn grid_info(&self) -> InterpResult<HashMap<String, Obj>>

source

pub fn place_configure<Opts>( &self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn place_forget(&self) -> InterpResult<()>

source

pub fn place_info(&self) -> InterpResult<HashMap<String, Obj>>

source

pub fn grid_slaves<Opts>( &self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> Result<Vec<Widget<Inst>>, Enum3<InterpError, NotList, WidgetNotFound>>

source

pub fn pack_slaves( &self ) -> Result<Vec<Widget<Inst>>, Enum3<InterpError, NotList, WidgetNotFound>>

source

pub fn place_slaves( &self ) -> Result<Vec<Widget<Inst>>, Enum3<InterpError, NotList, WidgetNotFound>>

source

pub fn has_used_input_methods(&self) -> InterpResult<bool>

source

pub fn use_input_methods(&self, should_use: bool) -> InterpResult<()>

source

pub fn inactive(&self) -> InterpResult<c_longlong>

source

pub fn inactive_reset(&self) -> InterpResult<c_longlong>

source

pub fn scaling(&self) -> InterpResult<c_double>

source

pub fn set_scaling(&self, number: c_double) -> InterpResult<()>

source

pub fn lower(&self) -> InterpResult<()>

source

pub fn lower_below(&self, below_this: &Self) -> InterpResult<()>

source

pub fn raise(&self) -> InterpResult<()>

source

pub fn raise_above(&self, above_this: &Self) -> InterpResult<()>

source

pub fn bind( &self, sequence: impl Into<TkEventSeq>, script: impl Into<Obj> ) -> InterpResult<()>

source

pub fn bind_more( &self, sequence: impl Into<TkEventSeq>, script: impl Into<Obj> ) -> InterpResult<()>

source

pub fn bindtags(&self, tags: &[&str]) -> InterpResult<()>

source

pub fn bindedtags(&self) -> Result<Vec<String>, Enum2<InterpError, NotList>>

source

pub fn event_generate<Opts>( &self, event: TkEvent, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

Generates a window event and arranges for it to be processed just as if it had come from the window system. event provides a basic description of the event, such as shift_button_2() or paste(). If Window is empty the whole screen is meant, and coordinates are relative to the screen. Option-value pairs may be used to specify additional attributes of the event, such as the x and y mouse position; see EVENT FIELDS for more. If the -when option is not specified, the event is processed immediately: all of the handlers for the event will complete before the event generate command returns. If the -when option is specified then it determines when the event is processed. Certain events, such as key events, require that the window has focus to receive the event properly.

source

pub fn grid_anchor(&self, anchor: impl Into<Obj>) -> InterpResult<()>

source

pub fn grid_bbox( &self, grids: Grids ) -> Result<TkBBox, Enum2<DeError, InterpError>>

source

pub fn grid_columnconfigure<Opts>( &self, index: impl Into<Obj>, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn grid_location( &self, x: c_int, y: c_int ) -> Result<Grid, Enum2<DeError, InterpError>>

source

pub fn grid_propagate(&self, do_propagate: bool) -> InterpResult<()>

source

pub fn grid_propagated(&self) -> InterpResult<bool>

source

pub fn grid_rowconfigure<Opts>( &self, index: impl Into<Obj>, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn grid_remove(&self) -> InterpResult<()>

source

pub fn grid_size(&self) -> Result<Size, Enum2<DeError, InterpError>>

source

pub fn pack_propagate(&self, do_propagate: bool) -> InterpResult<()>

source

pub fn pack_propagated(&self) -> InterpResult<bool>

source

pub fn focus(&self) -> InterpResult<()>

source

pub fn focus_displayof(&self) -> InterpResult<Obj>

source

pub fn focus_force(&self) -> InterpResult<()>

source

pub fn focus_lastfor(&self) -> InterpResult<Obj>

source

pub fn winfo_atom(&self, name: &str) -> InterpResult<c_longlong>

source

pub fn winfo_atom_name(&self, id: c_longlong) -> InterpResult<String>

source

pub fn winfo_cells(&self) -> InterpResult<c_int>

source

pub fn winfo_children( &self ) -> Result<Vec<Widget<Inst>>, Enum3<InterpError, NotList, WidgetNotFound>>

source

pub fn winfo_class(&self) -> InterpResult<String>

source

pub fn winfo_colormap_full(&self) -> InterpResult<bool>

source

pub fn winfo_containing( &self, root_x: c_int, root_y: c_int ) -> InterpResult<String>

source

pub fn winfo_depth(&self) -> InterpResult<c_int>

source

pub fn winfo_fpixels(&self, number: TkDistance) -> InterpResult<c_double>

source

pub fn winfo_geometry( &self ) -> Result<TkGeometry, Enum2<InterpError, TkGeometryParseError>>

source

pub fn winfo_height(&self) -> InterpResult<c_int>

source

pub fn winfo_id(&self) -> InterpResult<String>

source

pub fn winfo_interps(&self) -> Result<Vec<String>, Enum2<InterpError, NotList>>

Returns a list whose members are the names of all Tcl interpreters (e.g. all Tk-based applications) currently registered for the display of window.

source

pub fn winfo_ismapped(&self) -> InterpResult<bool>

source

pub fn winfo_manager(&self) -> InterpResult<String>

Returns the name of the geometry manager currently responsible for window, or an empty string if window is not managed by any geometry manager. The name is usually the name of the Tcl command for the geometry manager, such as pack or place. If the geometry manager is a widget, such as canvases or text, the name is the widget’s class command, such as canvas.

Examples
use tk::*;
use tk::cmd::*;

fn main() -> TkResult<()> {
    let mut tk = make_tk!()?;
    let root = tk.root();
    let label = root.add_label( -text("lorum") )?.pack(())?;
    Ok( assert_eq!( label.winfo_manager().unwrap().as_str(), "pack" ))
}
source

pub fn winfo_name(&self) -> InterpResult<String>

source

pub fn winfo_parent(&self) -> InterpResult<Option<String>>

source

pub fn winfo_pathname(&self, id: c_ulong) -> InterpResult<String>

source

pub fn winfo_pixels(&self, number: TkDistance) -> InterpResult<c_int>

source

pub fn winfo_pointerx(&self) -> InterpResult<Option<c_int>>

source

pub fn winfo_pointerxy( &self ) -> Result<Option<TkCoord>, Enum2<DeError, InterpError>>

source

pub fn winfo_pointery(&self) -> InterpResult<Option<c_int>>

source

pub fn winfo_reqheight(&self) -> InterpResult<c_int>

source

pub fn winfo_reqwidth(&self) -> InterpResult<c_int>

source

pub fn winfo_rgb( &self, color: TkColor<'_> ) -> Result<TkRGB, Enum2<DeError, InterpError>>

source

pub fn winfo_rootx(&self) -> InterpResult<c_int>

source

pub fn winfo_rooty(&self) -> InterpResult<c_int>

source

pub fn winfo_screen( &self ) -> Result<TkScreenName, Enum2<InterpError, TkScreenNameParseError>>

source

pub fn winfo_screencells(&self) -> InterpResult<c_int>

source

pub fn winfo_screendepth(&self) -> InterpResult<c_int>

source

pub fn winfo_screenheight(&self) -> InterpResult<c_int>

source

pub fn winfo_screenmmheight(&self) -> InterpResult<c_int>

source

pub fn winfo_screenmmwidth(&self) -> InterpResult<c_int>

source

pub fn winfo_screenvisual( &self ) -> Result<TkVisualClass, Enum2<DeError, InterpError>>

source

pub fn winfo_screenwidth(&self) -> InterpResult<c_int>

source

pub fn winfo_server(&self) -> InterpResult<String>

source

pub fn winfo_toplevel(&self) -> InterpResult<TkToplevel<Inst>>

source

pub fn winfo_viewable(&self) -> InterpResult<bool>

source

pub fn winfo_visual(&self) -> Result<TkVisualClass, Enum2<DeError, InterpError>>

source

pub fn winfo_visualid(&self) -> InterpResult<String>

source

pub fn winfo_visualsavailable( &self ) -> Result<Vec<(TkVisualClass, c_int)>, Enum4<DeError, InterpError, NotList, NotSeqOf<(TkVisualClass, c_int)>>>

source

pub fn winfo_visualsavailable_includeids( &self ) -> Result<Vec<(TkVisualClass, c_int, String)>, Enum4<DeError, InterpError, NotList, NotSeqOf<(TkVisualClass, c_int, String)>>>

source

pub fn winfo_vrootheight(&self) -> InterpResult<c_int>

source

pub fn winfo_vrootwidth(&self) -> InterpResult<c_int>

source

pub fn winfo_vrootx(&self) -> InterpResult<c_int>

source

pub fn winfo_vrooty(&self) -> InterpResult<c_int>

source

pub fn winfo_width(&self) -> InterpResult<c_int>

source

pub fn winfo_x(&self) -> InterpResult<c_int>

source

pub fn winfo_y(&self) -> InterpResult<c_int>

source

pub fn set_wm_aspect( &self, min_numer: impl Into<Obj>, min_denom: impl Into<Obj>, max_numer: impl Into<Obj>, max_denom: impl Into<Obj> ) -> InterpResult<()>

source

pub fn wm_aspect( &self ) -> Result<(c_int, c_int, c_int, c_int), Enum2<DeError, InterpError>>

source

pub fn wm_clear_aspect(&self) -> InterpResult<()>

source

pub fn wm_attributes(&self) -> InterpResult<Obj>

source

pub fn set_wm_attributes<Opts>( &self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<()>

source

pub fn set_wm_client(&self, name: &str) -> InterpResult<()>

source

pub fn wm_client(&self) -> InterpResult<String>

source

pub fn set_wm_colormapwindows( &self, windows: Vec<Widget<Inst>> ) -> InterpResult<()>

source

pub fn wm_colormapwindows( &self ) -> Result<Vec<Widget<Inst>>, Enum3<InterpError, NotList, WidgetNotFound>>

source

pub fn set_wm_command(&self, command: impl Into<Obj>) -> InterpResult<()>

source

pub fn wm_command(&self) -> InterpResult<Obj>

source

pub fn wm_deiconify(&self) -> InterpResult<()>

source

pub fn set_wm_focusmodel(&self, focus_model: TkFocusModel) -> InterpResult<()>

source

pub fn wm_focusmodel(&self) -> Result<TkFocusModel, Enum2<DeError, InterpError>>

source

pub fn wm_forget(&self) -> InterpResult<()>

source

pub fn wm_frame(&self) -> InterpResult<String>

source

pub fn set_wm_geometry(&self, geometry: TkGeometry) -> InterpResult<()>

source

pub fn wm_geometry( &self ) -> Result<TkGeometry, Enum2<InterpError, TkGeometryParseError>>

source

pub fn set_wm_grid(&self, acceptable_size: TkAcceptableSize) -> InterpResult<()>

source

pub fn wm_grid( &self ) -> Result<TkAcceptableSize, Enum3<InterpError, NotList, TkAcceptableSizeParseError>>

source

pub fn set_wm_group(&self, leader: Widget<Inst>) -> InterpResult<()>

source

pub fn clear_wm_group(&self) -> InterpResult<()>

source

pub fn wm_group(&self) -> InterpResult<Option<Widget<Inst>>>

source

pub fn set_wm_iconbitmap(&self, bitmap: &str) -> InterpResult<()>

source

pub fn clear_wm_iconbitmap(&self) -> InterpResult<()>

source

pub fn wm_iconbitmap(&self) -> InterpResult<String>

source

pub fn wm_iconify(&self) -> InterpResult<()>

source

pub fn set_wm_iconmask(&self, bitmap: &str) -> InterpResult<()>

source

pub fn clear_wm_iconmask(&self) -> InterpResult<()>

source

pub fn wm_iconmask(&self) -> InterpResult<Option<String>>

source

pub fn set_wm_iconname(&self, name: &str) -> InterpResult<()>

source

pub fn wm_iconname(&self) -> InterpResult<String>

source

pub fn set_wm_iconphoto( &self, image: &str, extra_images: Option<&[&str]> ) -> InterpResult<()>

source

pub fn set_wm_iconposition(&self, x: c_int, y: c_int) -> InterpResult<()>

source

pub fn clear_wm_iconposition(&self) -> InterpResult<()>

source

pub fn wm_iconposition(&self) -> Result<TkCoord, Enum2<DeError, InterpError>>

source

pub fn set_wm_iconwindow(&self, icon_window: Widget<Inst>) -> InterpResult<()>

source

pub fn clear_wm_iconwindow(&self) -> InterpResult<()>

source

pub fn wm_iconwindow(&self) -> InterpResult<Option<Widget<Inst>>>

source

pub fn set_wm_maxsize(&self, width: c_int, height: c_int) -> InterpResult<()>

source

pub fn wm_maxsize(&self) -> Result<TkSize, Enum2<DeError, InterpError>>

source

pub fn set_wm_minsize(&self, width: c_int, height: c_int) -> InterpResult<()>

source

pub fn wm_minsize(&self) -> Result<TkSize, Enum2<DeError, InterpError>>

source

pub fn set_wm_overrideredirect( &self, overrideredirect: bool ) -> InterpResult<()>

source

pub fn wm_overrideredirect(&self) -> InterpResult<bool>

source

pub fn set_wm_positionfrom(&self, who: TkRequester) -> InterpResult<()>

source

pub fn clear_wm_positionfrom(&self) -> InterpResult<()>

source

pub fn wm_positionfrom( &self ) -> Result<Option<TkRequester>, Enum2<InterpError, TkRequesterParseError>>

source

pub unsafe fn set_wm_protocol( &self, name: &str, command: impl Into<Obj> ) -> InterpResult<()>

source

pub fn clear_wm_protocol_command(&self, name: &str) -> InterpResult<Obj>

source

pub unsafe fn wm_protocol_command( &self, name: &str ) -> InterpResult<Option<Obj>>

source

pub fn wm_protocol( &self ) -> Result<Vec<TkHandler>, Enum3<NotSeqOf<TkHandler>, NotList, InterpError>>

source

pub fn set_wm_resizable( &self, width_resizable: bool, height_resizable: bool ) -> InterpResult<()>

source

pub fn wm_resizable( &self ) -> Result<TkResizable, Enum2<InterpError, TkResizableParseError>>

source

pub fn set_wm_sizefrom(&self, who: TkRequester) -> InterpResult<()>

source

pub fn clear_wm_sizefrom(&self) -> InterpResult<()>

source

pub fn wm_sizefrom( &self ) -> Result<Option<TkRequester>, Enum2<InterpError, TkRequesterParseError>>

source

pub fn wm_stackorder( &self ) -> Result<Vec<Widget<Inst>>, Enum3<InterpError, NotList, WidgetNotFound>>

source

pub fn wm_stackorder_isabove(&self, widget: &Widget<Inst>) -> InterpResult<bool>

source

pub fn wm_stackorder_isbelow(&self, widget: &Widget<Inst>) -> InterpResult<bool>

source

pub fn set_wm_state(&self, new_state: TkState) -> InterpResult<()>

source

pub fn wm_state(&self) -> Result<TkState, Enum2<DeError, InterpError>>

source

pub fn set_wm_title(&self, title: impl Into<Obj>) -> InterpResult<()>

source

pub fn wm_title(&self) -> InterpResult<String>

source

pub fn set_wm_transient(&self, master: &TkToplevel<Inst>) -> InterpResult<()>

source

pub fn clear_wm_transient(&self) -> InterpResult<()>

source

pub fn wm_transient(&self) -> InterpResult<Option<TkToplevel<Inst>>>

source

pub fn wm_withdraw(&self) -> InterpResult<()>

source

pub fn font_actual<'a, Opt, Opts>( &self, font: Font<'a, Opts>, _option: Opt, ch: Option<char> ) -> InterpResult<Obj>

Returns the value of the actual attributes that are obtained when font is used on window’s display; the actual attribute obtained may differ from the attribute requested due to platform-dependent limitations, such as the availability of font families and point sizes. If the char argument is supplied, the font attributes returned will be those of the specific font used to render that character, which will be different from the base font if the base font does not contain the given character.

source

pub fn font_actual_get_all<'a, Opts>( &self, font: Font<'a, Opts> ) -> InterpResult<Obj>

Returns a list of all the atual attributes and their values that are obtained when font is used on window’s display; the actual attributes obtained may differ from the attributes requested due to platform-dependent limitations, such as the availability of font families and point sizes. If the char argument is supplied, the font attributes returned will be those of the specific font used to render that character, which will be different from the base font if the base font does not contain the given character.

source

pub fn font_families(&self) -> Result<Vec<String>, Enum2<InterpError, NotList>>

source

pub fn font_measure<'a, Opts>( &self, font: Font<'a, Opts>, text: impl Into<String> ) -> InterpResult<c_longlong>

source

pub fn font_metrics<'a, Opt, Opts>( &self, font: Font<'a, Opts>, _opt: Opt ) -> InterpResult<Obj>

source

pub fn font_metrics_get_all<'a, Opts>( &self, font: Font<'a, Opts> ) -> Result<Vec<OptPair>, Enum3<InterpError, NotList, NotSeqOf<OptPair>>>

Trait Implementations§

source§

impl<Inst: Clone + TkInstance> Clone for TkListbox<Inst>

source§

fn clone(&self) -> TkListbox<Inst>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Inst: TkInstance> Deref for TkListbox<Inst>

§

type Target = Widget<Inst>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<Inst: TkInstance> From<TkListbox<Inst>> for Obj

source§

fn from(widget: TkListbox<Inst>) -> Obj

Converts to this type from the input type.
source§

impl<Inst: TkInstance> TkBBoxTrait<Inst> for TkListbox<Inst>

§

type Index = Index

source§

fn bbox( &self, index: Self::Index ) -> Result<TkBBox, Enum2<DeError, InterpError>>

source§

impl<Inst: TkInstance> TkGridSlave for TkListbox<Inst>

source§

fn grid<Opts, Inst: TkInstance>( self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<Self>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkGridOpt> + IntoHomoTuple<OptPair>,

source§

impl<Inst: TkInstance> TkPackSlave for TkListbox<Inst>

source§

fn pack<Opts, Inst: TkInstance>( self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<Self>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkPackOpt> + IntoHomoTuple<OptPair>,

source§

impl<Inst: TkInstance> TkPlaceSlave for TkListbox<Inst>

source§

fn place<Opts, Inst: TkInstance>( self, opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<Self>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkPlaceOpt> + IntoHomoTuple<OptPair>,

source§

impl<TK: TkInstance> TkXView<TK> for TkListbox<TK>

source§

impl<TK: TkInstance> TkXViewIndex<TK> for TkListbox<TK>

§

type Index = Index

source§

fn xview_index(&self, index: Self::Index) -> InterpResult<()>

source§

impl<TK: TkInstance> TkYView<TK> for TkListbox<TK>

source§

impl<TK: TkInstance> TkYViewIndex<TK> for TkListbox<TK>

§

type Index = Index

source§

fn yview_index(&self, index: Self::Index) -> InterpResult<()>

source§

impl<Inst: TkInstance> UpcastFrom<Inst> for TkListbox<Inst>

source§

fn upcast_from(upcastable_widget: UpcastableWidget<Inst>) -> Option<Self>

source§

impl<Inst: Copy + TkInstance> Copy for TkListbox<Inst>

Auto Trait Implementations§

§

impl<Inst> RefUnwindSafe for TkListbox<Inst>
where Inst: RefUnwindSafe,

§

impl<Inst> !Send for TkListbox<Inst>

§

impl<Inst> !Sync for TkListbox<Inst>

§

impl<Inst> Unpin for TkListbox<Inst>
where Inst: Unpin,

§

impl<Inst> UnwindSafe for TkListbox<Inst>
where Inst: UnwindSafe,

Blanket Implementations§

source§

impl<Widg, Inst> AddHBox for Widg
where Widg: Deref<Target = Widget<Inst>>, Inst: TkInstance,

source§

fn add_hbox<Opts, Inst: TkInstance>( &self, initial_ratio: f64, hbox_resize: HBoxResize, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<HBox<Inst>>
where Self: Sized + Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkFrameOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkButton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_button<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkButton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkButtonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkCanvas for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_canvas<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkCanvas<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkCanvasOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkCheckbutton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_checkbutton<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkCheckbutton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkCheckbuttonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkEntry for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_entry<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkEntry<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkEntryOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkFrame for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_frame<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkFrame<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkFrameOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkLabel for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_label<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkLabel<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkLabelOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkLabelframe for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_labelframe<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkLabelframe<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkLabelframeOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkListbox for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_listbox<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkListbox<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkListboxOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkMenu for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_menu<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkMenu<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkMenuOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkMenubutton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_menubutton<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkMenubutton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkMenubuttonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkMessage for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_message<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkMessage<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkMessageOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkOptionMenu for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_option_menu<Inst: TkInstance>( &self, path_seg: &'static str, var_name: &str, items: &[&str] ) -> InterpResult<TkOptionMenu<Inst>>
where Self: Deref<Target = Widget<Inst>>,

Creates an option menubutton whose name is path_seg, plus an associated menu. Together they allow the user to select one of the items given by the item arguments. The current item will be stored in the global variable whose name is given by var_name and it will also be displayed as the label in the option menubutton. The user can click on the menubutton to display a menu containing all of the values and thereby select a new item. Once a new item is selected, it will be stored in the variable and appear in the option menubutton. The current value can also be changed by setting the variable. Read more
source§

impl<Widg, Inst> AddTkPanedwindow for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_panedwindow<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkPanedwindow<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkPanedwindowOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkRadiobutton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_radiobutton<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkRadiobutton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkRadiobuttonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkScale for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_scale<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkScale<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkScaleOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkScrollbar for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_scrollbar<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkScrollbar<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkScrollbarOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkSpinbox for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_spinbox<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkSpinbox<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkSpinboxOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkText for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_text<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkText<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkTextOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTkToplevel for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_toplevel<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkToplevel<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkToplevelOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkButton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_button<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkButton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkButtonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkCheckbutton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_checkbutton<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkCheckbutton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkCheckbuttonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkCombobox for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_combobox<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkCombobox<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkComboboxOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkEntry for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_entry<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkEntry<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkEntryOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkFrame for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_frame<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkFrame<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkFrameOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkLabel for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_label<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkLabel<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkLabelOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkLabelframe for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_labelframe<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkLabelframe<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkLabelframeOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkMenubutton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_menubutton<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkMenubutton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkMenubuttonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkNotebook for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_notebook<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkNotebook<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkNotebookOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkPanedwindow for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_panedwindow<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkPanedwindow<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkPanedwindowOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkProgressbar for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_progressbar<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkProgressbar<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkProgressbarOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkRadiobutton for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_radiobutton<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkRadiobutton<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkRadiobuttonOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkScale for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_scale<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkScale<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkScaleOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkScrollbar for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_scrollbar<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkScrollbar<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkScrollbarOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkSeparator for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_separator<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkSeparator<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkSeparatorOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkSizegrip for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_sizegrip<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkSizegrip<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkSizegripOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkSpinbox for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_spinbox<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkSpinbox<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkSpinboxOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddTtkTreeview for Widg
where Inst: TkInstance, Widg: Deref<Target = Widget<Inst>>,

source§

fn add_ttk_treeview<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TtkTreeview<Inst>>
where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkTreeviewOpt> + IntoHomoTuple<OptPair>,

source§

impl<Widg, Inst> AddVBox for Widg
where Widg: Deref<Target = Widget<Inst>>, Inst: TkInstance,

source§

fn add_vbox<Opts, Inst: TkInstance>( &self, initial_ratio: f64, vbox_resize: VBoxResize, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<VBox<Inst>>
where Self: Sized + Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TtkFrameOpt> + IntoHomoTuple<OptPair>,

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Enum> Error for Enum

source§

fn error<T, Dest, Index>(self) -> Result<T, Dest>
where Self: Sized + ExchangeInto<Dest, Index>,

source§

impl<_I0, _T0, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0,)>> for Dest
where Src: Proto<Type = __1<_T0>>, Dest: ExchangeFrom<_T0, _I0>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _T0, _T1, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1)>> for Dest
where Src: Proto<Type = __2<_T0, _T1>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _T0, _T1, _T2, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2)>> for Dest
where Src: Proto<Type = __3<_T0, _T1, _T2>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _T0, _T1, _T2, _T3, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3)>> for Dest
where Src: Proto<Type = __4<_T0, _T1, _T2, _T3>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _T0, _T1, _T2, _T3, _T4, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4)>> for Dest
where Src: Proto<Type = __5<_T0, _T1, _T2, _T3, _T4>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _T0, _T1, _T2, _T3, _T4, _T5, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5)>> for Dest
where Src: Proto<Type = __6<_T0, _T1, _T2, _T3, _T4, _T5>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _T0, _T1, _T2, _T3, _T4, _T5, _T6, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6)>> for Dest
where Src: Proto<Type = __7<_T0, _T1, _T2, _T3, _T4, _T5, _T6>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7)>> for Dest
where Src: Proto<Type = __8<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8)>> for Dest
where Src: Proto<Type = __9<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9)>> for Dest
where Src: Proto<Type = __10<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10)>> for Dest
where Src: Proto<Type = __11<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11)>> for Dest
where Src: Proto<Type = __12<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12)>> for Dest
where Src: Proto<Type = __13<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13)>> for Dest
where Src: Proto<Type = __14<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12> + ExchangeFrom<_T13, _I13>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14)>> for Dest
where Src: Proto<Type = __15<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12> + ExchangeFrom<_T13, _I13> + ExchangeFrom<_T14, _I14>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14, _I15, _T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15, Src, Dest> ExchangeFrom<Src, EnumToEnum<(_I0, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8, _I9, _I10, _I11, _I12, _I13, _I14, _I15)>> for Dest
where Src: Proto<Type = __16<_T0, _T1, _T2, _T3, _T4, _T5, _T6, _T7, _T8, _T9, _T10, _T11, _T12, _T13, _T14, _T15>>, Dest: ExchangeFrom<_T0, _I0> + ExchangeFrom<_T1, _I1> + ExchangeFrom<_T2, _I2> + ExchangeFrom<_T3, _I3> + ExchangeFrom<_T4, _I4> + ExchangeFrom<_T5, _I5> + ExchangeFrom<_T6, _I6> + ExchangeFrom<_T7, _I7> + ExchangeFrom<_T8, _I8> + ExchangeFrom<_T9, _I9> + ExchangeFrom<_T10, _I10> + ExchangeFrom<_T11, _I11> + ExchangeFrom<_T12, _I12> + ExchangeFrom<_T13, _I13> + ExchangeFrom<_T14, _I14> + ExchangeFrom<_T15, _I15>,

source§

fn exchange_from(src: Src) -> Dest

source§

impl<Src, Dest, Index> ExchangeInto<Dest, Index> for Src
where Dest: ExchangeFrom<Src, Index>,

source§

fn exchange_into(self) -> Dest

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Enum, Variant, Index> IntoEnum<Enum, Index> for Variant
where Enum: FromVariant<Variant, Index>,

source§

fn into_enum(self) -> Enum

source§

impl<Src, Dest> IntoTuple<Dest> for Src
where Dest: FromTuple<Src>,

source§

fn into_tuple(self) -> Dest

source§

impl<T, E> Ret<Result<T, E>, _WrapOk> for T

source§

fn ret(self) -> Result<T, E>

source§

impl<T, E, A> RetLog<Result<T, E>, A, _WrapOk> for T
where A: LogAgent,

source§

fn ret_log(self, _item: impl Fn() -> <A as LogAgent>::Item) -> Result<T, E>

source§

impl<T, E, F, I> Throw<Result<T, F>, _WrapErr<I>> for E
where E: ExchangeInto<F, I>,

source§

fn throw(self) -> Result<T, F>

source§

impl<T, E, F, A, I> ThrowLog<Result<T, F>, A, _ToLog<I>> for E
where A: LogAgent, E: ToLog<A>, Log<E, A>: ExchangeInto<F, I>,

source§

fn throw_log(self, item: impl Fn() -> <A as LogAgent>::Item) -> Result<T, F>

source§

impl<T> TkAboveFn for T
where T: Into<Obj>,

§

type Output = TkAbove

source§

fn output(self) -> <T as TkAboveFn>::Output

source§

impl<T> TkAcceleratorFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveBitmapFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveBorderWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveDashFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveFillFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveForegroundFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveImageFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveOutlineFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveOutlineStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveStyleFn for T
where T: Into<Obj>,

source§

impl<T> TkActiveWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkAfterFn for T
where T: Into<Obj>,

§

type Output = TkAfter

source§

fn output(self) -> <T as TkAfterFn>::Output

source§

impl<T> TkAlignFn for T
where T: Into<Obj>,

§

type Output = TkAlign

source§

fn output(self) -> <T as TkAlignFn>::Output

source§

impl<T> TkAlphaFn for T
where T: Into<Obj>,

§

type Output = TkAlpha

source§

fn output(self) -> <T as TkAlphaFn>::Output

source§

impl<T> TkAnchorFn for T
where T: Into<Obj>,

source§

impl<T> TkAngleFn for T
where T: Into<Obj>,

§

type Output = TkAngle

source§

fn output(self) -> <T as TkAngleFn>::Output

source§

impl<T> TkArrowFn for T
where T: Into<Obj>,

§

type Output = TkArrow

source§

fn output(self) -> <T as TkArrowFn>::Output

source§

impl<T> TkArrowShapeFn for T
where T: Into<Obj>,

source§

impl<T> TkAscentFn for T
where T: Into<Obj>,

source§

impl<T> TkAspectFn for T
where T: Into<Obj>,

source§

impl<T> TkAutoSeperatorsFn for T
where T: Into<Obj>,

source§

impl<T> TkBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkBdFn for T
where T: Into<Obj>,

§

type Output = TkBd

source§

fn output(self) -> <T as TkBdFn>::Output

source§

impl<T> TkBeforeFn for T
where T: Into<Obj>,

source§

impl<T> TkBgFn for T
where T: Into<Obj>,

§

type Output = TkBg

source§

fn output(self) -> <T as TkBgFn>::Output

source§

impl<T> TkBgStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkBigIncrementFn for T
where T: Into<Obj>,

source§

impl<T> TkBitmapFn for T
where T: Into<Obj>,

source§

impl<T> TkBlockCursorFn for T
where T: Into<Obj>,

source§

impl<T> TkBorderModeFn for T
where T: Into<Obj>,

source§

impl<T> TkBorderWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkButtonBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkButtonCursorFn for T
where T: Into<Obj>,

source§

impl<T> TkButtonDownReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkButtonFn for T
where T: Into<Obj>,

source§

impl<T> TkButtonUpReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkCapStyleFn for T
where T: Into<Obj>,

source§

impl<T> TkChannelFn for T
where T: Into<Obj>,

source§

impl<T> TkClassFn for T
where T: Into<Obj>,

§

type Output = TkClass

source§

fn output(self) -> <T as TkClassFn>::Output

source§

impl<T> TkCloseEnoughFn for T
where T: Into<Obj>,

source§

impl<T> TkColorMapFn for T
where T: Into<Obj>,

source§

impl<T> TkColorModeFn for T
where T: Into<Obj>,

source§

impl<T> TkColumnBreakFn for T
where T: Into<Obj>,

source§

impl<T> TkColumnFn for T
where T: Into<Obj>,

source§

impl<T> TkColumnSpanFn for T
where T: Into<Obj>,

source§

impl<T> TkColumnsFn for T
where T: Into<Obj>,

source§

impl<T> TkCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkCompositingruleFn for T
where T: Into<Obj>,

source§

impl<T> TkCompoundFn for T
where T: Into<Obj>,

source§

impl<T> TkConfineFn for T
where T: Into<Obj>,

source§

impl<T> TkConfirmOverwriteFn for T
where T: Into<Obj>,

source§

impl<T> TkContainerFn for T
where T: Into<Obj>,

source§

impl<T> TkCountFn for T
where T: Into<Obj>,

§

type Output = TkCount

source§

fn output(self) -> <T as TkCountFn>::Output

source§

impl<T> TkCreateFn for T
where T: Into<Obj>,

source§

impl<T> TkCursorFn for T
where T: Into<Obj>,

source§

impl<T> TkDashFn for T
where T: Into<Obj>,

§

type Output = TkDash

source§

fn output(self) -> <T as TkDashFn>::Output

source§

impl<T> TkDashOffsetFn for T
where T: Into<Obj>,

source§

impl<T> TkDataFn for T
where T: Into<Obj>,

§

type Output = TkData

source§

fn output(self) -> <T as TkDataFn>::Output

source§

impl<T> TkDefaultExtensionFn for T
where T: Into<Obj>,

source§

impl<T> TkDefaultFn for T
where T: Into<Obj>,

source§

impl<T> TkDeltaFn for T
where T: Into<Obj>,

§

type Output = TkDelta

source§

fn output(self) -> <T as TkDeltaFn>::Output

source§

impl<T> TkDescentFn for T
where T: Into<Obj>,

source§

impl<T> TkDetailFn for T
where T: Into<Obj>,

source§

impl<T> TkDigitsFn for T
where T: Into<Obj>,

source§

impl<T> TkDirectionFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledBitmapFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledDashFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledFillFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledForegroundFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledImageFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledOutlineFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledOutlineStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkDisabledWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkDisplayColumnsFn for T
where T: Into<Obj>,

source§

impl<T> TkElementBorderWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkElideFn for T
where T: Into<Obj>,

§

type Output = TkElide

source§

fn output(self) -> <T as TkElideFn>::Output

source§

impl<T> TkEndlineFn for T
where T: Into<Obj>,

source§

impl<T> TkExpandFn for T
where T: Into<Obj>,

source§

impl<T> TkExportSelectionFn for T
where T: Into<Obj>,

source§

impl<T> TkExtentFn for T
where T: Into<Obj>,

source§

impl<T> TkFamilyFn for T
where T: Into<Obj>,

source§

impl<T> TkFgStrippleFn for T
where T: Into<Obj>,

source§

impl<T> TkFileFn for T
where T: Into<Obj>,

§

type Output = TkFile

source§

fn output(self) -> <T as TkFileFn>::Output

source§

impl<T> TkFileTypesFn for T
where T: Into<Obj>,

source§

impl<T> TkFillFn for T
where T: Into<Obj>,

§

type Output = TkFill

source§

fn output(self) -> <T as TkFillFn>::Output

source§

impl<T> TkFixedFn for T
where T: Into<Obj>,

§

type Output = TkFixed

source§

fn output(self) -> <T as TkFixedFn>::Output

source§

impl<T> TkFocusFn for T
where T: Into<Obj>,

§

type Output = TkFocus

source§

fn output(self) -> <T as TkFocusFn>::Output

source§

impl<T> TkFontFn for T
where T: Into<Obj>,

§

type Output = TkFont

source§

fn output(self) -> <T as TkFontFn>::Output

source§

impl<T> TkFontMapFn for T
where T: Into<Obj>,

source§

impl<T> TkForegroundFn for T
where T: Into<Obj>,

source§

impl<T> TkFormatFn for T
where T: Into<Obj>,

source§

impl<T> TkFromFn for T
where T: Into<Obj>,

§

type Output = TkFrom

source§

fn output(self) -> <T as TkFromFn>::Output

source§

impl<T> TkFullScreenFn for T
where T: Into<Obj>,

source§

impl<T> TkGammaFn for T
where T: Into<Obj>,

§

type Output = TkGamma

source§

fn output(self) -> <T as TkGammaFn>::Output

source§

impl<T> TkGrayscaleFn for T
where T: Into<Obj>,

source§

impl<T> TkHandlePadFn for T
where T: Into<Obj>,

source§

impl<T> TkHandleSizeFn for T
where T: Into<Obj>,

source§

impl<T> TkHeightFn for T
where T: Into<Obj>,

source§

impl<T> TkHideFn for T
where T: Into<Obj>,

§

type Output = TkHide

source§

fn output(self) -> <T as TkHideFn>::Output

source§

impl<T> TkHideMarginFn for T
where T: Into<Obj>,

source§

impl<T> TkHighlightBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkHighlightColorFn for T
where T: Into<Obj>,

source§

impl<T> TkHighlightThicknessFn for T
where T: Into<Obj>,

source§

impl<T> TkIPadXFn for T
where T: Into<Obj>,

§

type Output = TkIPadX

source§

fn output(self) -> <T as TkIPadXFn>::Output

source§

impl<T> TkIPadYFn for T
where T: Into<Obj>,

§

type Output = TkIPadY

source§

fn output(self) -> <T as TkIPadYFn>::Output

source§

impl<T> TkIconFn for T
where T: Into<Obj>,

§

type Output = TkIcon

source§

fn output(self) -> <T as TkIconFn>::Output

source§

impl<T> TkIdFn for T
where T: Into<Obj>,

§

type Output = TkId

source§

fn output(self) -> <T as TkIdFn>::Output

source§

impl<T> TkImageFn for T
where T: Into<Obj>,

§

type Output = TkImage

source§

fn output(self) -> <T as TkImageFn>::Output

source§

impl<T> TkImargin1Fn for T
where T: Into<Obj>,

source§

impl<T> TkImargin2Fn for T
where T: Into<Obj>,

source§

impl<T> TkImarginColorFn for T
where T: Into<Obj>,

source§

impl<T> TkInFn for T
where T: Into<Obj>,

§

type Output = TkIn

source§

fn output(self) -> <T as TkInFn>::Output

source§

impl<T> TkInactiveSelectBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkIncrementFn for T
where T: Into<Obj>,

source§

impl<T> TkIndicatorOnFn for T
where T: Into<Obj>,

source§

impl<T> TkInitialColorFn for T
where T: Into<Obj>,

source§

impl<T> TkInitialDirFn for T
where T: Into<Obj>,

source§

impl<T> TkInitialFileFn for T
where T: Into<Obj>,

source§

impl<T> TkInsertBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkInsertBorderWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkInsertOffTimeFn for T
where T: Into<Obj>,

source§

impl<T> TkInsertOnTimeFn for T
where T: Into<Obj>,

source§

impl<T> TkInsertUnfocussedFn for T
where T: Into<Obj>,

source§

impl<T> TkInsertWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkInvCmdFn for T
where T: Into<Obj>,

source§

impl<T> TkInvalidCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkJoinStyleFn for T
where T: Into<Obj>,

source§

impl<T> TkJumpFn for T
where T: Into<Obj>,

§

type Output = TkJump

source§

fn output(self) -> <T as TkJumpFn>::Output

source§

impl<T> TkJustifyFn for T
where T: Into<Obj>,

source§

impl<T> TkKeyCodeFn for T
where T: Into<Obj>,

source§

impl<T> TkKeySymFn for T
where T: Into<Obj>,

source§

impl<T> TkLabelAnchorFn for T
where T: Into<Obj>,

source§

impl<T> TkLabelFn for T
where T: Into<Obj>,

§

type Output = TkLabel

source§

fn output(self) -> <T as TkLabelFn>::Output

source§

impl<T> TkLabelWidgetFn for T
where T: Into<Obj>,

source§

impl<T> TkLengthFn for T
where T: Into<Obj>,

source§

impl<T> TkLinespaceFn for T
where T: Into<Obj>,

source§

impl<T> TkListVariableFn for T
where T: Into<Obj>,

source§

impl<T> TkMaskDataFn for T
where T: Into<Obj>,

source§

impl<T> TkMaskFileFn for T
where T: Into<Obj>,

source§

impl<T> TkMaxUndoFn for T
where T: Into<Obj>,

source§

impl<T> TkMaximumFn for T
where T: Into<Obj>,

source§

impl<T> TkMenuFn for T
where T: Into<Obj>,

§

type Output = TkMenu

source§

fn output(self) -> <T as TkMenuFn>::Output

source§

impl<T> TkMessageFn for T
where T: Into<Obj>,

source§

impl<T> TkMinSizeFn for T
where T: Into<Obj>,

source§

impl<T> TkMinWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkModeFn for T
where T: Into<Obj>,

§

type Output = TkMode

source§

fn output(self) -> <T as TkModeFn>::Output

source§

impl<T> TkModifiedFn for T
where T: Into<Obj>,

source§

impl<T> TkMultipleFn for T
where T: Into<Obj>,

source§

impl<T> TkMustExistFn for T
where T: Into<Obj>,

source§

impl<T> TkNameFn for T
where T: Into<Obj>,

§

type Output = TkName

source§

fn output(self) -> <T as TkNameFn>::Output

source§

impl<T> TkNotifyFn for T
where T: Into<Obj>,

source§

impl<T> TkOffReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkOffValueFn for T
where T: Into<Obj>,

source§

impl<T> TkOffsetFn for T
where T: Into<Obj>,

source§

impl<T> TkOnValueFn for T
where T: Into<Obj>,

source§

impl<T> TkOpaqueResizeFn for T
where T: Into<Obj>,

source§

impl<T> TkOpenFn for T
where T: Into<Obj>,

§

type Output = TkOpen

source§

fn output(self) -> <T as TkOpenFn>::Output

source§

impl<T> TkOrientFn for T
where T: Into<Obj>,

source§

impl<T> TkOutlineFn for T
where T: Into<Obj>,

source§

impl<T> TkOutlineOffsetFn for T
where T: Into<Obj>,

source§

impl<T> TkOutlineStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkOverReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkOverrideFn for T
where T: Into<Obj>,

source§

impl<T> TkOverstrikeFgFn for T
where T: Into<Obj>,

source§

impl<T> TkOverstrikeFn for T
where T: Into<Obj>,

source§

impl<T> TkPadFn for T
where T: Into<Obj>,

§

type Output = TkPad

source§

fn output(self) -> <T as TkPadFn>::Output

source§

impl<T> TkPaddingFn for T
where T: Into<Obj>,

source§

impl<T> TkPadxFn for T
where T: Into<Obj>,

§

type Output = TkPadX

source§

fn output(self) -> <T as TkPadxFn>::Output

source§

impl<T> TkPadyFn for T
where T: Into<Obj>,

§

type Output = TkPadY

source§

fn output(self) -> <T as TkPadyFn>::Output

source§

impl<T> TkPageAnchorFn for T
where T: Into<Obj>,

source§

impl<T> TkPageHeightFn for T
where T: Into<Obj>,

source§

impl<T> TkPageWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkPageXFn for T
where T: Into<Obj>,

§

type Output = TkPageX

source§

fn output(self) -> <T as TkPageXFn>::Output

source§

impl<T> TkPageYFn for T
where T: Into<Obj>,

§

type Output = TkPageY

source§

fn output(self) -> <T as TkPageYFn>::Output

source§

impl<T> TkPaletteFn for T
where T: Into<Obj>,

source§

impl<T> TkParentFn for T
where T: Into<Obj>,

source§

impl<T> TkPhaseFn for T
where T: Into<Obj>,

§

type Output = TkPhase

source§

fn output(self) -> <T as TkPhaseFn>::Output

source§

impl<T> TkPlaceFn for T
where T: Into<Obj>,

§

type Output = TkPlace

source§

fn output(self) -> <T as TkPlaceFn>::Output

source§

impl<T> TkPostCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkProxyBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkProxyBorderWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkProxyReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkRMarginColorFn for T
where T: Into<Obj>,

source§

impl<T> TkRMarginFn for T
where T: Into<Obj>,

source§

impl<T> TkReadOnlyBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkRelHeightFn for T
where T: Into<Obj>,

source§

impl<T> TkRelWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkRelXFn for T
where T: Into<Obj>,

§

type Output = TkRelX

source§

fn output(self) -> <T as TkRelXFn>::Output

source§

impl<T> TkRelYFn for T
where T: Into<Obj>,

§

type Output = TkRelY

source§

fn output(self) -> <T as TkRelYFn>::Output

source§

impl<T> TkReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkRepeatDelayFn for T
where T: Into<Obj>,

source§

impl<T> TkRepeatIntervalFn for T
where T: Into<Obj>,

source§

impl<T> TkResolutionFn for T
where T: Into<Obj>,

source§

impl<T> TkRootFn for T
where T: Into<Obj>,

§

type Output = TkRoot

source§

fn output(self) -> <T as TkRootFn>::Output

source§

impl<T> TkRootxFn for T
where T: Into<Obj>,

§

type Output = TkRootX

source§

fn output(self) -> <T as TkRootxFn>::Output

source§

impl<T> TkRootyFn for T
where T: Into<Obj>,

§

type Output = TkRootY

source§

fn output(self) -> <T as TkRootyFn>::Output

source§

impl<T> TkRotateFn for T
where T: Into<Obj>,

source§

impl<T> TkRowFn for T
where T: Into<Obj>,

§

type Output = TkRow

source§

fn output(self) -> <T as TkRowFn>::Output

source§

impl<T> TkRowSpanFn for T
where T: Into<Obj>,

source§

impl<T> TkSashCursorFn for T
where T: Into<Obj>,

source§

impl<T> TkSashPadFn for T
where T: Into<Obj>,

source§

impl<T> TkSashReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkSashWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkScreenFn for T
where T: Into<Obj>,

source§

impl<T> TkScrollRegionFn for T
where T: Into<Obj>,

source§

impl<T> TkSelectBackgroundFn for T
where T: Into<Obj>,

source§

impl<T> TkSelectBorderWidthFn for T
where T: Into<Obj>,

source§

impl<T> TkSelectColorFn for T
where T: Into<Obj>,

source§

impl<T> TkSelectForegroundFn for T
where T: Into<Obj>,

source§

impl<T> TkSelectImageFn for T
where T: Into<Obj>,

source§

impl<T> TkSelectModeFn for T
where T: Into<Obj>,

source§

impl<T> TkSendEventFn for T
where T: Into<Obj>,

source§

impl<T> TkSerialFn for T
where T: Into<Obj>,

source§

impl<T> TkSetGridFn for T
where T: Into<Obj>,

source§

impl<T> TkSettingsFn for T
where T: Into<Obj>,

source§

impl<T> TkShowFn for T
where T: Into<Obj>,

§

type Output = TkShow

source§

fn output(self) -> <T as TkShowFn>::Output

source§

impl<T> TkShowHandleFn for T
where T: Into<Obj>,

source§

impl<T> TkShowValueFn for T
where T: Into<Obj>,

source§

impl<T> TkShrinkFn for T
where T: Into<Obj>,

source§

impl<T> TkSideFn for T
where T: Into<Obj>,

§

type Output = TkSide

source§

fn output(self) -> <T as TkSideFn>::Output

source§

impl<T> TkSizeFn for T
where T: Into<Obj>,

§

type Output = TkSize

source§

fn output(self) -> <T as TkSizeFn>::Output

source§

impl<T> TkSlantFn for T
where T: Into<Obj>,

§

type Output = TkSlant

source§

fn output(self) -> <T as TkSlantFn>::Output

source§

impl<T> TkSlideReliefFn for T
where T: Into<Obj>,

source§

impl<T> TkSliderLengthFn for T
where T: Into<Obj>,

source§

impl<T> TkSmoothFn for T
where T: Into<Obj>,

source§

impl<T> TkSpacing1Fn for T
where T: Into<Obj>,

source§

impl<T> TkSpacing2Fn for T
where T: Into<Obj>,

source§

impl<T> TkSpacing3Fn for T
where T: Into<Obj>,

source§

impl<T> TkSplineStepsFn for T
where T: Into<Obj>,

source§

impl<T> TkStartFn for T
where T: Into<Obj>,

§

type Output = TkStart

source§

fn output(self) -> <T as TkStartFn>::Output

source§

impl<T> TkStartlineFn for T
where T: Into<Obj>,

source§

impl<T> TkStateFn for T
where T: Into<Obj>,

§

type Output = TkState

source§

fn output(self) -> <T as TkStateFn>::Output

source§

impl<T> TkStickyFn for T
where T: Into<Obj>,

source§

impl<T> TkStippleFn for T
where T: Into<Obj>,

source§

impl<T> TkStretchFn for T
where T: Into<Obj>,

source§

impl<T> TkStyleFn for T
where T: Into<Obj>,

§

type Output = TkStyle

source§

fn output(self) -> <T as TkStyleFn>::Output

source§

impl<T> TkSubWindowFn for T
where T: Into<Obj>,

source§

impl<T> TkSubsampleFn for T
where T: Into<Obj>,

source§

impl<T> TkTabStyleFn for T
where T: Into<Obj>,

source§

impl<T> TkTabsFn for T
where T: Into<Obj>,

§

type Output = TkTabs

source§

fn output(self) -> <T as TkTabsFn>::Output

source§

impl<T> TkTagsFn for T
where T: Into<Obj>,

§

type Output = TkTags

source§

fn output(self) -> <T as TkTagsFn>::Output

source§

impl<T> TkTakeFocusFn for T
where T: Into<Obj>,

source§

impl<T> TkTearOffCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkTearOffFn for T
where T: Into<Obj>,

source§

impl<T> TkTextFn for T
where T: Into<Obj>,

§

type Output = TkText

source§

fn output(self) -> <T as TkTextFn>::Output

source§

impl<T> TkTextVariableFn for T
where T: Into<Obj>,

source§

impl<T> TkTickIntervalFn for T
where T: Into<Obj>,

source§

impl<T> TkTimeFn for T
where T: Into<Obj>,

§

type Output = TkTime

source§

fn output(self) -> <T as TkTimeFn>::Output

source§

impl<T> TkTitleFn for T
where T: Into<Obj>,

§

type Output = TkTitle

source§

fn output(self) -> <T as TkTitleFn>::Output

source§

impl<T> TkTitlePathFn for T
where T: Into<Obj>,

source§

impl<T> TkToFn for T
where T: Into<Obj>,

§

type Output = TkTo

source§

fn output(self) -> <T as TkToFn>::Output

source§

impl<T> TkToolWindowFn for T
where T: Into<Obj>,

source§

impl<T> TkTopmostFn for T
where T: Into<Obj>,

source§

impl<T> TkTransparentColorFn for T
where T: Into<Obj>,

source§

impl<T> TkTransparentFn for T
where T: Into<Obj>,

source§

impl<T> TkTristateImageFn for T
where T: Into<Obj>,

source§

impl<T> TkTristateValueFn for T
where T: Into<Obj>,

source§

impl<T> TkTroughColorFn for T
where T: Into<Obj>,

source§

impl<T> TkTypeFn for T
where T: Into<Obj>,

§

type Output = TkType

source§

fn output(self) -> <T as TkTypeFn>::Output

source§

impl<T> TkTypeVariableFn for T
where T: Into<Obj>,

source§

impl<T> TkUnderlineFgFn for T
where T: Into<Obj>,

source§

impl<T> TkUnderlineFn for T
where T: Into<Obj>,

source§

impl<T> TkUndoFn for T
where T: Into<Obj>,

§

type Output = TkUndo

source§

fn output(self) -> <T as TkUndoFn>::Output

source§

impl<T> TkUniformFn for T
where T: Into<Obj>,

source§

impl<T> TkUseFn for T
where T: Into<Obj>,

§

type Output = TkUse

source§

fn output(self) -> <T as TkUseFn>::Output

source§

impl<T> TkValidateCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkValidateFn for T
where T: Into<Obj>,

source§

impl<T> TkValueFn for T
where T: Into<Obj>,

§

type Output = TkValue

source§

fn output(self) -> <T as TkValueFn>::Output

source§

impl<T> TkValuesFn for T
where T: Into<Obj>,

source§

impl<T> TkVariableFn for T
where T: Into<Obj>,

source§

impl<T> TkVisibleFn for T
where T: Into<Obj>,

source§

impl<T> TkVisualFn for T
where T: Into<Obj>,

source§

impl<T> TkWarpFn for T
where T: Into<Obj>,

§

type Output = TkWarp

source§

fn output(self) -> <T as TkWarpFn>::Output

source§

impl<T> TkWeightFn for T
where T: Into<Obj>,

source§

impl<T> TkWhenFn for T
where T: Into<Obj>,

§

type Output = TkWhen

source§

fn output(self) -> <T as TkWhenFn>::Output

source§

impl<T> TkWidthFn for T
where T: Into<Obj>,

§

type Output = TkWidth

source§

fn output(self) -> <T as TkWidthFn>::Output

source§

impl<T> TkWindowFn for T
where T: Into<Obj>,

source§

impl<T> TkWrapFn for T
where T: Into<Obj>,

§

type Output = TkWrap

source§

fn output(self) -> <T as TkWrapFn>::Output

source§

impl<T> TkWrapLengthFn for T
where T: Into<Obj>,

source§

impl<T> TkXFn for T
where T: Into<Obj>,

§

type Output = TkX

source§

fn output(self) -> <T as TkXFn>::Output

source§

impl<T> TkXScrollCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkXScrollIncrementFn for T
where T: Into<Obj>,

source§

impl<T> TkYFn for T
where T: Into<Obj>,

§

type Output = TkY

source§

fn output(self) -> <T as TkYFn>::Output

source§

impl<T> TkYScrollCommandFn for T
where T: Into<Obj>,

source§

impl<T> TkYScrollIncrementFn for T
where T: Into<Obj>,

source§

impl<T> TkZoomFn for T
where T: Into<Obj>,

§

type Output = TkZoom

source§

fn output(self) -> <T as TkZoomFn>::Output

source§

impl<T> TkZoomedFn for T
where T: Into<Obj>,

source§

impl<Inner, Agent> ToLog<Agent> for Inner
where Agent: LogAgent,

source§

fn new_log(self) -> Log<Inner, Agent>

source§

fn to_log(self, item: <Agent as LogAgent>::Item) -> Log<Inner, Agent>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.