Spec-Zone .ru
спецификации, руководства, описания, API
Spec-Zone .ru
спецификации, руководства, описания, API
Библиотека разработчика Mac Разработчик
Поиск

 

Эта страница руководства для  версии 10.9 Mac OS X

Если Вы выполняете различную версию  Mac OS X, просматриваете документацию локально:

Читать страницы руководства

Страницы руководства предназначаются как справочник для людей, уже понимающих технологию.

  • Чтобы изучить, как руководство организовано или узнать о синтаксисе команды, прочитайте страницу руководства для страниц справочника (5).

  • Для получения дополнительной информации об этой технологии, ищите другую документацию в Библиотеке Разработчика Apple.

  • Для получения общей информации о записи сценариев оболочки, считайте Shell, Пишущий сценарий Учебника для начинающих.



ttk::radiobutton(n)                           Tk Themed Widget                           ttk::radiobutton(n)



____________________________________________________________________________________________________________

NAME
       ttk::radiobutton - Mutually exclusive option widget

SYNOPSIS
       ttk::radiobutton pathName ?options?
____________________________________________________________________________________________________________

DESCRIPTION
       ttk::radiobutton  widgets  are  used in groups to show or change a set of mutually-exclusive options.
       Radiobuttons are linked to a Tcl variable, and have  an  associated  value;  when  a  radiobutton  is
       clicked, it sets the variable to its associated value.

STANDARD OPTIONS
       -class                -compound            -cursor
       -image                -state               -style
       -takefocus            -text                -textvariable
       -underline            -width

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

WIDGET-SPECIFIC OPTIONS
       Command-Line Name:-command
       Database Name:  command
       Database Class: Command

              A Tcl script to evaluate whenever the widget is invoked.

       Command-Line Name:-value
       Database Name:  Value
       Database Class: Value

              The value to store in the associated -variable when the widget is selected.

       Command-Line Name:-variable
       Database Name:  variable
       Database Class: Variable

              The name of a global variable whose value is linked to the widget.  Default value is ::select-edButton. ::selectedButton.
              edButton.

WIDGET COMMAND
       In addition to the standard cget, configure, identify, instate, and state commands, radiobuttons sup-port support
       port the following additional widget commands:

       pathname invoke
              Sets  the  -variable to the -value, selects the widget, and evaluates the associated -command.
              Returns the result of the -command, or the empty string if no -command is specified.

WIDGET STATES
       The widget does not respond to user input if the disabled state is set.  The widget sets the selected
       state whenever the linked -variable is set to the widget's -value, and clears it otherwise.  The wid-get widget
       get sets the alternate state whenever the linked -variable is unset.  (The  alternate  state  may  be
       used to indicate a "tri-state" or "indeterminate" selection.)

STANDARD STYLES
       Ttk::radiobutton  widgets  support  the  Toolbutton style in all standard themes, which is useful for
       creating widgets for toolbars.

SEE ALSO
       ttk::widget(n), ttk::checkbutton(n), radiobutton(n)

KEYWORDS
       widget, button, option



Tk                                                   8.5                                 ttk::radiobutton(n)

Сообщение о проблемах

Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:

Ошибки содержания
Ошибки отчета в содержании этой документации к проекту Tk.
Отчеты об ошибках
Сообщите об ошибках в функциональности описанного инструмента или API к Apple через Генератор отчетов Ошибки и к проекту Tk через их страницу создания отчетов ошибки.
Форматирование проблем
Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.