Copyright © 2009 Arndt Roger Schneider

Rtl_symbutton
Prev Chapter 7. Other Templates Next

Name

rtl_symbutton — Create and manipulate rtl_symbutton windows

Synopsis

          # package require rtl_symbutton in Tcl/Tk.
          require 'path to package/rtl_symbutton'
          object = TkRtl_symbutton.new(parent) {
              ?options?
          }
        

Runtime Library Options

-creator

The RTL based option creator is used to instantiate the template rtl_symbutton with a Tk Window. The used creator window must have a -class property.

Acceptable Tk Windows are: toplevel for floating windows, and frame for embedded windows.

Standard Options

-background, -foreground, -borderwidth, -highlightthickness, -highlightcolor, -highlightbackground, -repeatdelay, -activebackground, -activeforeground, -text, -textvariable, -image, -padx, -pady, -width, -height, -state, -relief, -font, -anchor, -takefocus, -justify

See the options manual entry for details on the standard options.

Window-specific Options

Command-Line Name: -repeatintervall, Database Name: repeatintervall, Database Class: -

Undocumented

Command-Line Name: -overrelief, Database Name: overrelief, Database Class: -

Undocumented

Command-Line Name: -imagewidth, Database Name: imagewidth, Database Class: -

Undocumented

Command-Line Name: -side, Database Name: side, Database Class: -

Undocumented

Command-Line Name: -appearance, Database Name: appearance, Database Class: -

Undocumented

Command-Line Name: -command, Database Name: command, Database Class: -

Undocumented

Description

Window Command

A Window created through the rtl_symbutton command exposes various functions. Using these functions has the following general form:

object.option(?arg arg ...?)

PathName is the same as the window path name. Option and the args determine the exact behavior of the command. The following commands are possible for this window:

objectcget(option)

Returns the current value of the configuration option given by option. Option may have any of the values accepted by the rtl_symbutton command.

object.configure(?option?) {?value option value ...?}

Query or modify the configuration options of the window. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given window option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the rtl_symbutton command.

object.init()

Secondary constructor for widgets of class symbutton

object.appear( appear )

object.destroy()

Destructor for widgets of class symbutton

object.update()

object.invoke()

Start associated command

object.pending( type )

Undocumented.

Dependencies

  • rtl


Prev Up Next
Rtl_spinbox Home Index
SourceForge Logo Gestalt Items