Except fileSelector and optionalEntry, the components of all other composite widgets has the default widget instanceName and ClassName. For example, a text widget consists of three components: an internal-text-widget, a h-scrollbar and a v-scrollbar. The path names for these components are:
text_widget_name.IText text_widget_name.iText text_widget_name.HorizontalScrollbar text_widget_name.horizontalScrollbar text_widget_name.VerticalScrollbar text_widget_name.verticalScrollbar
Components of an OptionalEntry
OptionalEntry presents a unique problem, it contains
a toplevel popup listbox, which is not a descendant
of the the optionalEntry. The builtin name for the
popup listbox is
popup
(ClassName Popup
).
EZwgl provides a configuration option for
optionalEntry, namely, EZ_POPUP_NAME
, to
override this name. The componet names are listed below.
optional_entry_name.entry (ClassName Entry) optional_entry_name.arrowButton (ClassName Button) popup (ClassName Popup) popup.listBox
Components of a FileSelector
Since there are repetitions of buttons and entries
on a fileSelector widget, using the default
widget instanceName is not sufficient in
distinguishing components. The builtin
instanceNames for all components of a
fileSelector is listed below.
file_selector_name.frameA file_selector_name.frameA.filterLabel file_selector_name.frameA.filterEntry file_selector_name.frameB file_selector_name.frameB.frameB1 file_selector_name.frameB.frameB1.directoryLabel file_selector_name.frameB.frameB1.directoryListbox file_selector_name.frameB.paneHandle file_selector_name.frameB.frameB2 file_selector_name.frameB.frameB2.fileLabel file_selector_name.frameB.frameB2.fileListbox file_selector_name.frameC file_selector_name.frameC.selectionLabel file_selector_name.frameC.selectionEntry file_selector_name.frameD file_selector_name.frameD.okButton file_selector_name.frameD.filterButton file_selector_name.frameD.hideButton popupA popupA.listBox popupB popupB.listBox
The instance names for the popup listboxes can be oriverriden
by the configuration option EZ_POPUP_NAME
. EZwgl
appends the letter A
and B
at the end of the
configured name and assign them to the two popups.