Back to the Packages
Constructor
new Win32::GUI::TabStrip(PARENT, %OPTIONS)
Methods
ChangeItem(ITEM, %OPTIONS)
Count()
DeleteItem(ITEM)
GetString(ITEM)
InsertItem(%OPTIONS)
Reset()
Select(INDEX)
SelectedItem()
Events
Change()
Changing()
Creates a new TabStrip object; can also be called as PARENT->AddTabStrip(%OPTIONS). Class specific %OPTIONS are:
-bottom => 0/1 (default 0) -buttons => 0/1 (default 0) -hottrack => 0/1 (default 0) -imagelist => Win32::GUI::ImageList object -justify => 0/1 (default 0) -multiline => 0/1 (default 0) -right => 0/1 (default 0) -vertical => 0/1 (default 0)
Change most of the options used when the item was created (see InsertItem()). Allowed %OPTIONS are:
-image -text
Count() Returns the number of items in the TabStrip. DeleteItem(ITEM) Removes the specified ITEM from the TabStrip. GetString(ITEM) Returns the string associated with the specified ITEM in the TabStrip. InsertItem(%OPTIONS) Adds an item to the TabStrip. Allowed %OPTIONS are: -image => NUMBER the index of an image from the associated ImageList -index => NUMBER the position for the new item (if not specified, the item is added at the end of the control) -text => STRING the text that will appear on the item Reset() Deletes all items from the TabStrip. Select(INDEX) Selects the zero-based INDEX item in the TabStrip. SelectedItem() Returns the zero-based index of the currently selected item.
Returns the number of items in the TabStrip.
DeleteItem(ITEM) Removes the specified ITEM from the TabStrip. GetString(ITEM) Returns the string associated with the specified ITEM in the TabStrip. InsertItem(%OPTIONS) Adds an item to the TabStrip. Allowed %OPTIONS are: -image => NUMBER the index of an image from the associated ImageList -index => NUMBER the position for the new item (if not specified, the item is added at the end of the control) -text => STRING the text that will appear on the item Reset() Deletes all items from the TabStrip. Select(INDEX) Selects the zero-based INDEX item in the TabStrip. SelectedItem() Returns the zero-based index of the currently selected item.
Removes the specified ITEM from the TabStrip.
GetString(ITEM) Returns the string associated with the specified ITEM in the TabStrip. InsertItem(%OPTIONS) Adds an item to the TabStrip. Allowed %OPTIONS are: -image => NUMBER the index of an image from the associated ImageList -index => NUMBER the position for the new item (if not specified, the item is added at the end of the control) -text => STRING the text that will appear on the item Reset() Deletes all items from the TabStrip. Select(INDEX) Selects the zero-based INDEX item in the TabStrip. SelectedItem() Returns the zero-based index of the currently selected item.
Returns the string associated with the specified ITEM in the TabStrip.
InsertItem(%OPTIONS) Adds an item to the TabStrip. Allowed %OPTIONS are: -image => NUMBER the index of an image from the associated ImageList -index => NUMBER the position for the new item (if not specified, the item is added at the end of the control) -text => STRING the text that will appear on the item Reset() Deletes all items from the TabStrip. Select(INDEX) Selects the zero-based INDEX item in the TabStrip. SelectedItem() Returns the zero-based index of the currently selected item.
Adds an item to the TabStrip. Allowed %OPTIONS are:
-image => NUMBER the index of an image from the associated ImageList -index => NUMBER the position for the new item (if not specified, the item is added at the end of the control) -text => STRING the text that will appear on the item
Reset() Deletes all items from the TabStrip. Select(INDEX) Selects the zero-based INDEX item in the TabStrip. SelectedItem() Returns the zero-based index of the currently selected item.
Deletes all items from the TabStrip.
Select(INDEX) Selects the zero-based INDEX item in the TabStrip. SelectedItem() Returns the zero-based index of the currently selected item.
Selects the zero-based INDEX item in the TabStrip.
SelectedItem() Returns the zero-based index of the currently selected item.
Returns the zero-based index of the currently selected item.
Sent when the current selection has changed. Use SelectedItem() to determine the current selection.
Changing() Sent before the current selection changes. Use SelectedItem() to determine the current selection. The event should return 0 to prevent the selection changing, 1 to allow it.
Sent before the current selection changes. Use SelectedItem() to determine the current selection. The event should return 0 to prevent the selection changing, 1 to allow it.
3 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 83) unless the first thing after the =over is an =item
You can't have =items (as at line 108) unless the first thing after the =over is an =item
You can't have =items (as at line 192) unless the first thing after the =over is an =item
To install Win32::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::GUI
CPAN shell
perl -MCPAN -e shell install Win32::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.