diff --git a/Prima/Calendar.pm b/Prima/Calendar.pm index ce63c56f4..4e1cd8705 100644 --- a/Prima/Calendar.pm +++ b/Prima/Calendar.pm @@ -542,10 +542,10 @@ Prima::Calendar - standard calendar widget =head1 DESCRIPTION -Provides interactive selection of date between 1900 and 2099 years. -The main property, L, is a three-integer array, day, month, and year, +Provides interactive selection for dates between the years 1900 and 2099. +The main property, L, is a three-integer array of day, month, and year, in the format of perl localtime ( see L ) - -day can be in range from 1 to 31,month from 0 to 11, year from 0 to 199. +day's range is between 1 and 31, month's 0 to 11, year's from 0 to 199. =head1 API @@ -565,30 +565,30 @@ Called when the L property is changed. =item date DAY, MONTH, YEAR -Accepts three integers in format of C. +Accepts three integers in the format of C. DAY can be from 1 to 31, MONTH from 0 to 11, YEAR from 0 to 199. Default value: today's date. =item day INTEGER -Selects the day in month. +Selects the day in the month. =item firstDayOfWeek INTEGER -Selects the first day of week, an integer between 0 and 6, -where 0 is Sunday is the first day, 1 is Monday etc. +Selects the first day of the week, an integer between 0 and 6, +where 0 is Sunday as the first day, 1 is Monday, etc. Default value: 0 =item month -Selects the month. +Selects the month =item useLocale BOOLEAN If 1, the locale-specific names of months and days of week are used. -These are read by calling C. If invocation of POSIX module +These are read by calling C. If an invocation of the POSIX module fails, the property is automatically assigned to 0. If 0, the English names of months and days of week are used. @@ -609,34 +609,34 @@ Selects the year. =item can_use_locale -Returns boolean value, whether the locale information can be retrieved -by calling C. +Returns a boolean value, whether the locale information can be retrieved +by calling C or not. =item month2str MONTH -Returns MONTH name according to L value. +Returns the MONTH name according to the L value. =item make_months -Returns array of 12 month names according to L value. +Returns an array of the 12 month names according to the L value. =item day_of_week DAY, MONTH, YEAR, [ USE_FIRST_DAY_OF_WEEK = 1 ] -Returns integer value, from 0 to 6, of the day of week on -DAY, MONTH, YEAR date. If boolean USE_FIRST_DAY_OF_WEEK is set, -the value of C property is taken into the account, -so 0 is a Sunday shifted forward by C days. +Returns an integer value between 0 and 6, the day of week on DAY, MONTH, YEAR +date. If boolean USE_FIRST_DAY_OF_WEEK is set, the value of the +C property is taken into account, so f ex the result of 0 means +that this is a Sunday shifted forward by C days. -The switch from Julian to Gregorian calendar is ignored. +The switch from the Julian to the Gregorian calendar is ignored. =item date_as_string [ DAY, MONTH, YEAR ] Returns string representation of date on DAY, MONTH, YEAR according -to L property value. +to the L property value. =item date_from_time SEC, MIN, HOUR, M_DAY, MONTH, YEAR, ... -Copies L from C or C result. This helper method +Copies L from C or C results. This helper method allows the following syntax: $calendar-> date_from_time( localtime( time)); diff --git a/Prima/Classes.pm b/Prima/Classes.pm index 0af1c2589..227fda475 100644 --- a/Prima/Classes.pm +++ b/Prima/Classes.pm @@ -2653,8 +2653,8 @@ Prima::Classes - binder module for the built-in classes. =head1 DESCRIPTION -C and L is a minimal set of perl modules needed for -the toolkit. Since the module provides bindings for the core classes, it is required +C and L form a minimal set of perl modules needed for +the toolkit to run. Since the module provides bindings for the core classes, it is required to be included in every Prima-related module and program. =head1 AUTHOR diff --git a/Prima/ComboBox.pm b/Prima/ComboBox.pm index e68afc38f..1f428651e 100644 --- a/Prima/ComboBox.pm +++ b/Prima/ComboBox.pm @@ -767,22 +767,22 @@ Prima::ComboBox - standard combo box widget =head1 DESCRIPTION -Provides a combo box widget which consists of an input line, list box of possible -selections and eventual drop-down button. The combo box can be either in form -with a drop-down selection list, that is shown by the command of the user, -or in form when the selection list is always visible. - -The combo box is a grouping widget, and contains neither painting nor user-input -code. All such functionality is delegated into the children widgets: input line, list -box and button. C exports a fixed list of methods and properties from -namespaces of L and L. Since, however, it is -possible to tweak the C ( using its L and L -create-only properties ) so the input line and list box would be other classes, -it is not necessarily that all default functionality would work. -The list of exported names is stored in package variables %listProps, %editProps -and %listDynas. These also described in L section. - -The module defines C package for the constants used by L