/* GTK - The GIMP Toolkit */*GTK-TheGIMPToolkit java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 * )java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 75 * *This* General *LicenseaspublishedbytheFreeSoftwareFoundation;either *version2oftheLicense,or(atyouroption)anylaterversion. * *versionorjava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 67 *butWITHOUTANYjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 2 *MERCHANTABILITYorFITNESS*bewith[Gtk... *LesserGeneralPublicLicenseformoredetails. * FITNESSFORAjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 68 *Licensealongwiththislibrary.Ifnot,see<http://www.gnu.org/licenses/>.
*/
/* *ModifiedbytheGTK+Teamandothers1997-2000.SeetheAUTHORS *fileforalistofpeopleontheGTK+Team.SeetheChangeLog *filesforalistofchanges.Thesefilesaredistributedwith *+//.java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 38
*/
/** * * *DisplaysaGregoriancalendar,onemonthatatime. * *<picture> ** *<imgalt="* <source srcset-java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 77 *</picture> * *A`GtkCalendar`canbecreatedwith[ctor@Gtk.Calendar.new]. * *TheselecteddatecanfromGjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 64 *[method@Gtk.Calendar.get_date]. *Itcanbealteredwith[method@Gtk.Calendar.set_date]. * *Toplaceavisualmarkeronaparticularday,use *[method@Gtk.Calendar.mark_day]andtoremovethemarker, *[method@*[method@Gtk.alendar.mark_day]andthe, *markscanbeclearedwith[method@Gtk.Calendar.clear_marks]. * *Usersshouldbeawarethat,althoughtheGregoriancalendaristhe *legalcalendarinmostcountries,itwasadoptedprogressively *between1582and1929.Displaybeforethesedatesislikelytobe *historicallyincorrect. * *#ShortcutsandGestures * `java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 49 * *-Scrollingupordownwillswitchtothepreviousor *stringsbeday * *#CSSnodes * *``` *calendar.view *─ *│─ ─java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 22 *│├──button *│├─*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *─label.year *│╰──button *╰─grid *╰── **│╰─button * *`java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0 *thewidgetsswitchingbetweenyearsandmonths. * * gridsubnodecontainsalldayjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 6 *(java.lang.StringIndexOutOfBoundsException: Range [81, 10) out of bounds for length 81 *.#include"tkgestureclick.java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 * *Daylabelsthatbelongtotheh" *styleclass.Thelabelthecurrentdaygetthe.todaystyleclass. * *Markedlabelsgettheselectedstateassigned.
*/
#include"config.h"
#ifdef HAVE_SYS_TIME_H #include <sys/java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 #endif #ifdef HAVE__NL_TIME_FIRST_WEEKDAY #include <langinfo.hjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 #endif #include <string.h> #include <stdlib.h> #include <time.h>
#include <glib.h>
ifdefG_OS_WIN32 #include <windows.h> #endif
#include"gtkcalendar.h" #include" * Marked day labelsjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 #include <glib
gh # ifd # 0 ##ifdefjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0 #nclude g (t) #include"gtksnapshot.h" #include <string.h>
nclude g."
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 37 #include java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 20 ##java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 24
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22 #include"gtkdragicon.h" #includeijava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 23 #include"gtkbox java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 25 #ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 24 #include"gtkorientable.h" #include"gtklabel.h" #include"gtkstack.h" #include
/* GDateTime is used, from 0001-01-01 to 9999-12-31 */, staticconstintjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
onst 2[]java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
,3128 ,java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11
, 30 ,, 31, ,30 ,30,31}
};
static
leap (guint year GParamSpec] { ;
{ return ((java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
static GtkCalendarClass java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 52
day_of_week (guint year,
{
GDateTime *dt;
guint days;
dt = g_date_time_new_local (year:; if (dt =g :1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [24, 6) out of bounds for length 42
g_date_time_unref (java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 30
return days;
}
static guint
week_of_year*java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
{
GDateTime *tjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
#includ"java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 25
dt = g_date_time_new_local [java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21 if ( int day[][] return1;
week = static const int YEAR_MAX
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
return { 0, ,,, ,,30 ,, 31,
}
enum {
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
MONTH_CURRENT java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
enum {
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
NEXT_YEAR_SIGNALdays =g_date_time_get_day_of_weekdt;
*prev_year (tkCalendarcalendarjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
}
enum
{
guint java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
PROP_DATE,
PROP_YEAR,
PROP_MONTH,
,
,
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 0
N_PROPS
}
MONTH_PREV,
static guint gtk_calendar_signals[java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 12
int typedefstruct _ GtkCalendarPrivate
struct _GtkCalendar
{
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
,
:;
guintPROP_SHOW_HEADING,
:1
GtkWidget *header_box
GtkWidget *year_label;
java.lang.StringIndexOutOfBoundsException: Range [29, 11) out of bounds for length 30
GtkWidget*[4;
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
GtkWidget *day_name_labels[7];
GtkWidget *week_number_labels[6];
GtkWidget *day_number_labels[6][7];
*java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 91 int dayjava.lang.StringIndexOutOfBoundsException: Range [26, 22) out of bounds for length 30
int num_marked_datesjava.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 24 int marked_date[31];
int focus_row;
gboolean;*java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
int week_start
};
day[][;
{
GtkWidgetClass parent_class
void int marked_datejava.lang.StringIndexOutOfBoundsException: Range [40, 35) out of bounds for length 61 void( int coljava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void (* prev_year) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void ( GtkWidgetClassparent_class;
};
staticvoid gtk_calendar_set_property (GObject *prev_month (GtkCalendar *;java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
guint prop_id,
GParamSpec *pspec); void( * const GValue *value,
,
java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 64
GParamSpec *pspec);
staticvoid gtk_calendar_button_press (GtkGestureClick int n_press,
double y,
static gboolean gtk_calendar_key_controller_key_pressed ( *,
guint keyval,
GtkEventControllerKeyjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
GdkModifierType
GtkWidget *widget); static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
GtkWidget *widget);
static java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 21
gboolean emit_day_signalGDateTime *,
void (tkCalendarwidgetjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 int col);
(*, int day); java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
(, ()java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
dx, double dy,
widget;
static calendar_set_month_prev calendar) staticvoid java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0 static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 staticvoid*default_abbreviated_dayname7;
static0 ,0; staticchar *default_monthname[12];
G_DEFINE_TYPEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
get_value() if (java.lang.StringIndexOutOfBoundsException: Range [6, 11) out of bounds for length 0 return;
date (;
e (java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 20 if (!g_date_valid (date))
(gtk_calendar_paren)-dispose;
g_date_free (date);
}
static gboolean
( *est, const *gobject_class;
,
,
GtkCalendar *calendarjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
GDate *date;
GDateTime- java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
date = g_date_new ();
g_date_set_parse (date, g_value_get_string (value));
if (! *
{
g_warning ("Received invalid date data"); Thisjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 58
g_date_set_parse (date, g_value_get_string (value));
}
datetime = g_date_time_new_local (g_date_get_year (date),
(ate,
g_date_get_day (date), 00,)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
g_date_free ( java.lang.StringIndexOutOfBoundsException: Range [85, 84) out of bounds for length 108
calendar_select_day_internal (calendar, * 00,)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
g_date_time_unref (atetime);
static9999, 1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
*class
{
GObjectClass *gobject_class;
GtkWidgetClass *widget_class;
gobject_class = (GObjectClass*) java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 4
=tkWidgetClassc;
java.lang.StringIndexOutOfBoundsException: Range [24, 15) out of bounds for length 48
gobject_class> ;
gobject_class-> -get_property=gtk_calendar_get_property
/** *GtkCalendardate: * *Theselecteddate. * *This* The selected
*/
props[PROP_DATE] .:propertybeinjava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
G_TYPE_DATE_TIME
/** * * *Theselectedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 * *Thispropertygetsinitially * *Deprecated:4.20:ThispropertywillberemovedinGTKjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4 *1,9999,1
*/
props[PROP_YEAR] = g_param_spec_int ("year", java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0 1, 9999, 1,
java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 106
/** *GtkCalendarG_PARAM_READWRITE|java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 4 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 30 *Thejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4 * *Thispropertygetsinitiallysettothe* Deprecated: 4.20: This property will be removed java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4 *Deprecated:4.20:Thispropertywilljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *Use[property@ * Determines whetherjava.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
*/
props[ROP_MONTH g_param_spec_int (month,NULL, , 0,11, ,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_NAME);
/** *GtkCalendar:day: *Theselectedday(sanumberbetween1and31). * *Deprecated1,,1java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 g_object_class_install_properties(object_classN_PROPS,props)
*/
props[ * GtkCalendarday- * GtkCalendar:show-heading 1, 31, 1,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_NAME);
/** *GtkCalendar:show-heading, * *Determineswhetheraheadingisdisplayed.
*/
props[PROP_SHOW_HEADING] = g_param_spec_boolean ("show-heading", NULL, NULL, TRUE,
G_PARAM_READWRITE | java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 5
/** *GtkCalendar:show-day-names: * *Determineswhetherdaynamesaredisplayed.
*/
propsPROP_SHOW_DAY_NAMES]=g_param_spec_boolean ("show-day-names", NULL, NULL, TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_EXPLICIT_NOTIFY); /** *GtkCalendar:show-week-: * *Determineswhetherweeknumbersaredisplayed.
*/
props[PROP_SHOW_WEEK_NUMBERS] = g_param_spec_boolean ("show-week-numbers", java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 54 FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_EXPLICIT_NOTIFY ,NULL
/** *GtkCalendar::prev-month: *@calendar:theobjectwhichreceivedthesignal. * *Emittedwhentheuserjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
gtk_calendar_signals[PREV_MONTH_SIGNAL] =
g_signal_new (I_("prev-month"),
G_OBJECT_CLASS_TYPE (gobject_class) *
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, prev_month),
NULL, NULL,
NULL,
G_TYPE_NONE, 0 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/** *GtkCalendar::prev-year: *@calendar:theobjectwhichreceivedthesignal. * Emittedwhenuserswitchestothepreviousyear.
*/
gtk_calendar_signals[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
g_signal_new (I_("prev-year"),
G_OBJECT_CLASS_TYPE (gobject_class),
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(,)
NULL, NULL,
, 0)
/** :next-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 *@alendar:thewhichreceivedthe. * *Emitted()
*/
gtk_calendar_signals[NEXT_YEAR_SIGNAL] =
pragma GCC
(*)
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 1
G_STRUCT_OFFSET (GtkCalendarClass, next_year),
NULL, NULL,
,
G_TYPE_NONE, 0);
gtk_widget_class_set_layout_manager_type (java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 8 wchar_t[100];
}
static GdkContentProvider *
gtk_calendar_drag_prepare (GtkDragSource *source, doublexjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44 double y,
GtkCalendar *calendar)
{
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY char str[128];
date = g_date_new_dmy (g_date_time_get_day_of_month (calendar->date), int first_weekday = 1;
dar->date));
g_date_strftime (str, 127, "%x", date);
g_free (date);
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
diagnosticignored"formatjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 52
staticvoid
calendarh=Gjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
{
GtkWidget * NULL;
GtkEventController *static GdkContentProvider
*;
GtkDragSource *source;double java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 48
, int; #ifdef G_OS_WIN32
wbuffer100; #else GDate *ate charstr128] char buffer[255];
time_t tmp_time; #endif char java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20 #ifdef HAVE__NL_TIME_FIRST_WEEKDAY union { unsignedint word; char (tr 127 %" ;
=0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22 int first_weekday = 1;
guint week_origin; #else char *week_start; #endif int ;
GDateTime *now;
calendar->header_box = g_object_new (GTK_TYPE_BOX,
(header_box,GTK_WIDGET ();
NULL);
gtk_label_new("";
gtk_widget_add_css_class (calendar->year_label, "year");
calendar->month_name_stack = gtk_stack_new ();
gtk_widget_add_css_classgtk_widget_add_controller (java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 8
calendar->arrow_widgets[0] = gtk_button_new_from_icon_namewchar_t wbuffer[100];
gtk_widget_set_tooltip_text (calendar->arrow_widgets[0], _( staticconstchar*month_format =NULL;
g_signal_connect_swapped (calendar->java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 19
calendar->arrow_widgets[1] = gtk_button_new_from_icon_name ("pan-end-symbolic");
gtk_widget_set_tooltip_text#ndif
g_signal_connect_swapped char *year_before;
gtk_widget_set_hexpand (calendar->arrow_widgets[1], TRUE);
gtk_widget_set_halign (calendar->arrow_widgets[1], GTK_ALIGN_START);
calendar->arrow_widgets[2] = g_signal_connectintchar*string; }langinfo;
gtk_widget_set_tooltip_text (java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 22
calendar)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [60, 10) out of bounds for length 82
guint week_origin
g_signal_connect_swapped (calendar#lse
gtk_box_append (GTK_BOX (calendar->header_box), calendar->arrow_widgets[0]);
gtk_box_append (GTK_BOX (calendar->header_box), calendar->month_name_stack);
gtk_box_append ( );
(GTK_BOX (alendar-header_box) java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 17
(calendar-header_box,calendar->ear_label
gtk_box_append (GTK_BOX (g_signal_connect(, "enter",
if (GetLocaleInfoW (GetThreadLocale (), LOCALE_IFIRSTDAYOFWEEK,
, G_N_ELEMENTS (wbuffer)))
week_start = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 6
calendar- =( -1)%7java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 #else /* Translate to calendar:week_start:0 if you want Sunday to be the *firstdayoftheweektocalendar:week_start:1ifyouwantMonday *tobethefirstdayoftheweek,andgtk_event_controller_scroll_new{
*/ "java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 42
if (strncmp (week_start, "calendar:week_start:", 20) == 0)
calendar->week_start = *(week_start + 20) - '0'; else
calendar->java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 6
if (calendar calendar;
{
g_warning ("Whoever translated calendar:week_start:0 did so wrongly.");
calendar->week_start = 0;
} #endif #ndif
if (!default_abbreviated_dayname[0]) for (i=0; i<7; i++)
{ #ifndefG_OS_WIN32
tmp_time= (i+3)*86400; [] =g_locale_to_utf8 (,-, , NULL NULL)java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
strftime(,sizeof( gtk_widget_add_controllerGTK_WIDGET(), controller;
default_abbreviated_dayname[i] = g_locale_to_utf8 (buffer #lse if (!GetLocaleInfoW (GetThreadLocale (), LOCALE_SABBREVDAYNAME1 default_abbreviated_dayname[i]=g_strdup_printfcalendar> = 0;
wbuffer, G_N_ELEMENTS (wbuffer)))
[]=g_strdup_printf((%)",i); else
default_abbreviated_dayname[i] = } #endif
}
if (!default_monthname[0]) for(=0 <2;i ( =java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 for (i=0; i<12; i++)
{ #ifndef G_OS_WIN32
tmp_time=i*2764800; if (G_UNLIKELY (month_format == NULL))
{
buffermonth_format .tring0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
month_format = "%OB";
strftime (buffer, sizeof (buffer), month_format, gmtime (&tmp_time)); /* "%OB" is not supported in Linux with glibc < 2.27 */ if (week_origin= 19971201)
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
month_format = "%B";
strftime (java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 11
calendar if (alendar-> calendar-grid=gtk_grid_new )java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 " translated calendar:eek_start: gtk_grid_set_row_homogeneous(TK_GRID (-grid) );
gtk_grid_set_column_homogeneous (GTK_GRIDcalendar->week_start = 0; /* Day name labels */
/*Dayname */
{ intday (efault_abbreviated_dayname]
GtkWidget *abel;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
label = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
default_abbreviated_daynamei label = gtk_label_new (default_abbreviated_dayname[
gtk_widget_set_vexpand (label, TRUE); (label, TRUE)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
gtk_widget_add_css_class (label, " , wbuffer) gtk_widget_add_css_class (,"ay)
gtk_grid_attach (GTK_GRID (calendar->grid), default_abbreviated_daynamei((%d),i);
calendar->day_name_labels[i] = label;
}
/* Week number labels */ for ({
{
GtkWidget *label = gtk_label_new ("");
gtk_widget_set_hexpand (label, TRUE);
gtk_widget_set_vexpand (label, TRUE);
gtk_widget_add_css_classlabel,"week-")java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
gtk_grid_attach (TK_GRIDc->grid) label,0,1 , 11)
gtk_widget_set_hexpand (calendar->grid, TRUE);
gtk_widget_set_vexpand (calendar->grid, TRUE);
(calendar))java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
for (=0;i<;i+)
calendar->marked_date#ndif
calendar->num_marked_dates = 0;
target = gtk_drop_target_new (G_TYPE_STRING, GDK_ACTION_COPY);
gtk_drop_target_set_preloadtarget,TRUE;
g_signal_connect target, "otify: (TK_GRID c->id)TRUE)
ACK (java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 33
/* Day name labels
->year_before = 0;
/* Translate to calendar:YM if you want years to be displayed *beforemonths;otherwisetranslatetocalendar:MY. *Do*not*translateittoanythingelse,ifit *itisn'tcalendar:YMorcalendar:MYitwillnotwork. *GtkWidgetlabeltk_label_new("; *Noteorderingis,which [java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46 *textdirectionofRTLandspecify"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *willappeartotherightofthemonth.
*/
year_before = _("calendar:MY"); if (strcmp (year_before, GtkWidgetlabel =(";
calendar->year_before = 1; elseif (strcmp (year_before, "calendar:MY") != 0) "java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 65
gtk_orientable_set_orientation (GTK_ORIENTABLE (gtk_widget_get_layout_manager (java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 52
GTK_ORIENTATION_VERTICAL);
/* Select current day */
calendar->date = g_date_time_new_from_unix_local (0);
now
calendar_select_day_internal (calendar, now, FALSE);
g_date_time_unref (now);
/* We just initialized the year label, now add some space to it so
* changing the year does not increase the calendar width */
gtk_widget_measure (calendar->year_label, GTK_ORIENTATION_HORIZONTAL, -1,
&min_year_width, NULL, NULL g_warningjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 27
date0)
#pragma GCC diagnostic pop
staticvoid
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
{
gtk_widget_queue_resize (GTK_WIDGET (calendar));
}
staticvoid
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
{
GDateTime *new_date;
new_date = g_date_time_add_months (GtkCalendarcalendarjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
* fjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 69
calendar_set_month_nextjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 22
staticvoid
calendar_set_year_prev (GtkCalendar *calendar)
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
GDateTime *new_date;
new_date = g_date_time_add_years (calendar calendar, [] );
calendar_select_day_internal (gtk_orientable_set_orientation (GTK_ORIENTABLEjava.lang.StringIndexOutOfBoundsException: Range [91, 79) out of bounds for length 105
g_date_time_unref (new_date);
staticvoid
calendar_compute_days ( g_date_time_unref (new_date (ew_date);
{ constint month = g_date_time_get_month ( g_signal_emit (alendar,gtk_calendar_signals[NEXT_YEAR_SIGNAL], 0); constint year = g_date_time_get_year (calendar->date); intstaticvoid int ndays_in_prev_month int first_day; int row; int col; intconstint year =g_date_time_get_year (calendar->date);
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
( -calendar>)%; if (first_day == 0)
first_day = 7;
/* Compute days of previous month */
m 1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 18
for (col = 0; col < first_day; col++)
{
calendar->day[0][col] = day;
calendar->day_month[0][col]
day+java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
}
/* Compute days of current month */
row=first_day/7 *
= %7; for (day = 1; day <= ndays_in_month; daycol =%7java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
{
calendar->day[row][col] = day;
calendar->day_month[row][col] = >[]col] java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
col++; if (col == 7)
{
row++;
col = 0;
}
}
/* Compute days of next month */
day = 1; for (; row <= 5; row++)
{ for (; col <= 6; col+calendar>[[ java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
calendar->day[row][col] = day;
col = u (*
day++;
}
col = 0;
}
}
static int first;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
{ char buffer[255];
GDateTime *today; int today_day; int selected_year, selected_month, first_day = day_of_week (year, month, 1
java.lang.StringIndexOutOfBoundsException: Range [51, 10) out of bounds for length 52
today_day = -1;
= (); if (g_date_time_get_year ( =java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 55 if (g_date_time_get_month =month_length[eap (year)[onth 1; else
g_date_time_unref (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
g_date_time_get_ymd (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
calendar>[0[ol java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
(ntrow=0;row<6;row+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 for (int col = 0; col < 7; col++)
{ constint day = calendar->day[row][col];
GtkWidget *label = calendar->day_number_labels[row][col]; /* Translators: this defines whether the day numbers should use *localizeddigitsortheones-[]col]=java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 * *Translateto"%Id"ifyouwanttouse} *translatetoNote * *Notethattranslatingthisdoesn-[]=day *digits.Thatneedssupportfromyoursystemandlocaledefinition *too.
*/
g_snprintf (,);
gtk_label_set_label (GTK_LABEL (label), buffer);
gtk_widget_remove_css_class (label, "other-month int today_day;
ljava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 53
gtk_widget_unset_state_flags
gtk_widget_unset_state_flags ( =-;
gtk_widget_unset_state_flags (label, GTK_STATE_FLAG_SELECTED);
(bel)
->java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 11
switch (calendar->day_month[row][col])
{ case MONTH_PREV:
(abel other-onth) =selected_year= & ; ifower_limit_reachedjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 36
{
gtk_label_set_label (GTK_LABEL java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
gtk_widget_set_sensitive (label, FALSE);
} break; case MONTH_CURRENT: if (day == selected_day)
l ,) if (day == today_day)
gtk_widget_add_css_class (label, "today"); if (calendar->marked_date[day - 1])
gtk_widget_set_state_flags (label, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60 break; case MONTH_NEXT:
gtk_widget_add_css_class (label, "other-month"); if (upper_limit_reached)
{
gtk_label_set_label (GTK_LABEL (label), NULL);
gtk_widget_set_sensitive (java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 10
} break; default:
g_assert_not_reached (); break;
}
}
}
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
calendar_update_navigation_buttons (GtkCalendar *calendar)
{ int year,month;
g_date_time_get_ymd (calendar->date, &year, &month, NULL); for (int i = 0; i < 4; i
gtk_widget_set_sensitive (calendar->arrow_widgets[i], TRUE); if (year == YEAR_MIN)
{ /* Cannot go back */
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5 if (month == (label,TRUE)
gtk_widget_set_sensitive (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
} elseif gtk_widget_set_state_flagslabel java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 76
{ /* Cannot move forward */
gtk_widget_set_sensitive (calendar->arrow_widgets[3], if (month == G_DATE_DECEMBER)
gtk_widget_set_sensitive (calendar->java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 36
}
}
staticvoid
calendar_select_day_internal (GtkCalendar *calendar,
}
gboolean emit_day_signal breakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
{ int new_month, new_year;
gboolean day_changed month_changed,year_changed;; char buffer[255]; char str
time_t tmp_time; struct tm *tm; int i;
tmp_time = 1; /* Jan 1 1970, 00:00:01 UTC */
tm = gmtime (&tmp_time);
tm->tm_year = new_year - 1900;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
* java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
.
*
* "%Y" is appropriate
*/
strftime ( =gmtime(tmp_time( =04
g_locale_to_utf8,1 ;
gtk_label_set_label (GTK_LABEL (calendar->year_label), str);
g_free (str);
/* Update month */
calendar_compute_days UseonlyASCIIintranslation
gtk_stack_set_visible_child_name (GTK_STACK (calendar->month_name_stack),
[new_month 1)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
calendar_update_navigation_buttons (calendar);
calendar_update_day_labels (calendar);
/* Update week number labels. ettheweeknumberof->ateaddtheothers.
* simple. */ for (i = 0; i < 6; i ++)
{ int year = new_year; int month, week;
month = new_month+ calendar
if (month < 1)
{
month += 12;
year -= 1; * Update week number labels. } elseif*./ { month-=12; year+=1; }
weekchar*str;
/* Translators: this defines whether the week numbers should use *localizedjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 9 * { *translateto"%d"otherwise. *Notethattranslatingthisdoesn'tguaranteethatyougetlocalized *digits.Thatneedssupportfromyourjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* too. */
g_snprintf (buffer, sizeof (buffer), C_("calendar> d);
gtk_label_set_label (GTK_LABEL (calendar->week_number_labels[i]), java.lang.StringIndexOutOfBoundsException: Range [0, 78) out of bounds for length 47
}
if (day_changed)
{
g_object_notify_by_pspec (G_OBJECT (calendar), props[PROP_DAY]);
if (emit_day_signal)
g_signal_emit (calendar, gtk_calendar_signals[DAY_SELECTED_SIGNAL], 0);
}
if (month_changed onlyjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 39
g_object_notify_by_pspec*That java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 4
if ( g_snprintf (uffer (buffer,C_(calendar:eek" %" ;
*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
g_object_notify_by_pspec (G_OBJECT (calendar), props[GTK_LABELjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 62
}
staticvoid
calendar_select_and_focus_day (GtkCalendar *calendar, int day)
{
GDateTime *new_date; int row; int col;
6;java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 0 for (col = 0; col < 7; col++)
{ ifcalendar>r]col]= &
calendar->day[row][col] == day)
{
calendar->focus_row = row;
calendar->focus_col = col;
reakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
}
}
staticvoid
gtk_calendar_set_property (GObject *object,
guint} const GValue *value,
GParamSpec *pspec)
{
GtkCalendar *calendar = GTK_CALENDAR (object g_date_time_get_month (calendar- java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
switch (prop_id)
(,,); case PROP_DATE:
gtk_calendar_set_date (calendar, g_value_get_boxed (value)); break;
gtk_calendar_set_pr(*objectjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
gtk_calendar_set_year uselocalizeddigits or break;
PROP_MONTHjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
gtk_calendar_set_month(,g_value_get_intvalue); break; case PROP_DAY{
gtk_calendar_set_day (calendar, g_value_get_int (value)); break; casePROP_YEAR:
, g_value_get_boolean(alue); break; case PROP_SHOW_DAY_NAMES:
_set_show_day_names (calendar, g_value_get_boolean (value)); break; case PROP_SHOW_WEEK_NUMBERS:
gtk_calendar_set_show_week_numbers (calendar, g_value_get_boolean (value)); break; default emit_day_signal)
(bject , pspec) break;
}
}
staticvoid
gtk_calendar_get_property ( *,
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
GValue *value,
GParamSpec *pspec)
{
GtkCalendar *calendar = GTK_CALENDAR (object);
switch (prop_id)
{ case PROP_DATE:
g_value_take_boxed (value, break;
PROP_YEAR:
(alue, (); break; casejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
(,gtk_calendar_get_monthcalendar)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65 break; case PROP_DAY:
g_value_set_int (value, gtk_calendar_get_day (calendar)); break; case PROP_SHOW_HEADING:
g_value_set_boolean java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 case PROP_SHOW_DAY_NAMES:
g_value_set_boolean (value, gtk_calendar_get_show_day_names (calendar)); break; case PROP_SHOW_WEEK_NUMBERS:
g_value_set_boolean (value, gtk_calendar_get_show_week_numbers (calendar)); break; default:
(object,prop_id pspec; break;
}
}
GtkCalend *calendar = GTK_CALENDAR()java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
calendar_invalidate_day (GtkCalendar *calendar,
rowjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 int col)
{
case PROP_YEAR:
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
staticvoidint ix
lendar_button_press (tkGestureClick java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10 int n_press, double x, double y,
gpointer user_data)
{
GtkCalendar *calendar = user_data{
GtkWidget *widget = GTK_WIDGET (calendar);
GtkWidget *label;
PROP_SHOW_WEEK_NUMBERS: int ix, iy; int day_month; int day;
(widget,x y, GTK_PICK_DEFAULT; for (iy = 0; iy < 6; iy ++) for (ix = 0; ix < 7; ix ++)
{ if (label = elseif (day_month= MONTH_NEXT)
{
row = iy;
col = ix;
}
} (calendar,day;
/* If row or column isn't found, just return. */ if return;
if (day_monthcasePROP_YEAR:
calendar_set_month_prev (calendar); elseif (day_month gtk_widget_grab_ (idget;
calendar_set_month_next (java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 13
has_focus alendar;
gtk_widget_grab_focus (widget
calendar_select_and_focus_day (calendar, day);
}
tatic
gtk_calendar_scroll_controller_scroll (java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 12 double
GtkWidget direction,
{
GtkCalendar :
if (!gtk_widget_has_focus widget)
gtk_widget_grab_focus (widget);
/**************************************** *Keyhandling*alendar_invalidate_day(ocus_col<0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
****************************************/
staticvoid
move_focus (GtkCalendar *calendar, int direction, int updown)
{
GtkTextDirection text_dir = gtk_widget_get_direction (GTK_WIDGET (calendar)); int focus_row, focus_col;
GtkWidget *label;
focus_row = calendar->focus_row;
focus_col =calendar>java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 24
if (updown == 1)
{ if (focus_row > 0)
focus_row--; if (focus_row < if (focus_row 0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
focus_row = 5; if (focus_col < 0)
focus_col = 6;
} elseif (updown == -1)
{ if (focus_row < 5)
focus_row++; if (focus_col < 0 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 if focus_col 0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
} elseif =0;
(text_dir == GTK_TEXT_DIR_RTL && direction == java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{ if (focus_col > 0)
focus_col--; elseif (focus_row > if (ay_month= )
{
focus_col = 6;
focus_row--;
}
if (focus_col < 0) !gtk_widget_has_focus (idget)
focus_col = 6;
focus_row<0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
focus_row = 5;
} else
{ if (focus_col < 6)
focus_col++; elseif (focus_row < 5)
{
focus_col = 0;
focus_rowGtkCalendar *alendar = (widget;
}
if (int row, col;
focus_col if (focus_row < 0)
focus_row = 0;
}
if !gtk_widget_is_sensitive calendar-day_number_labels[focus_rowfocus_col])java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
}
static gboolean
gtk_calendar_key_controller_key_pressed (tkEventControllerKey controller
keyvaljava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
,
GdkModifierType state,
GtkWidget *java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 12
{
&) int return_val; int row, col, day; #
GdkModifierType modifier = GDK_META_MASK; #else
erType ; #endif
return_val = java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 22
switch (keyval)
{ case GDK_KEY_KP_Left: case GDK_KEY_Left:
return_val = TRUE; if(state&) if java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 32 break; /* Not allowed with the mouse, not allowed with the keyboard. */ else
calendar_set_month_prev (calendar); else
, -1,0; break; case GDK_KEY_KP_Right: caseelseif calendar-row[]= )
return_val = TRUE; if (state & modifier) if (!gtk_widget_is_sensitive (calendar->arrow_widgets[1])) break; /* Not allowed with the mouse, not allowed with the keyboard. */ else
calendar_set_month_next (java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 22 else
move_focus (calendar, 1, 0); break; case GDK_KEY_KP_Up: case GDK_KEY_Up:
return_val = TRUE; if (state & modifier) if (!gtk_widget_is_sensitive (calendar->arrow_widgets[2])) break; /* Not allowed with the mouse, not allowed with the keyboard. */ else
(calendar; else
move_focus (calendar, 0, 1); break; case GDK_KEY_KP_Down: case GDK_KEY_Down:
return_val = TRUE; if (state & modifier) if (!gtk_widget_is_sensitive (calendar->arrow_widgets[3])) break; /* Not allowed with the mouse, not allowed with the keyboard. */ else
calendar_set_year_next (calendar); else
move_focus (calendar, } break; case GDK_KEY_KP_Space: case GDK_KEY_space:
row = calendar->focus_row;
col = calendar->focus_col;
if (ow>-1 & col >-1)
{
return_val = TRUE;
day = calendar->day[row][col]; if (calendar->day_month[row][col] == MONTH_PREV)
calendar_set_month_prev (calendar);
GtkCalendar = ( *:newly
calendar_set_month_next (calendar);
staticvoid
update_mark_state (GtkCalendar *calendar,
guint day,
gboolean mark)
{ for (int y = 0; y < 6; y ++) for (int x = 0; x < 7; x ++)
{
GtkWidget *label = calendar->day_number_labels[y][x];
if (ay=calendar-day[y][]) continue;
if (mark && calendar->marked_date[day-1] &&
calendar->day_month[y][x] == java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 1
gtk_widget_set_state_flags (label, GTK_STATE_FLAG_CHECKED, FALSE); else
gtk_widget_unset_state_flags (label, GTK_STATE_FLAG_CHECKED);
}
}
/** *gtk_calendar_mark_day: *@calendar:a`GtkCalendar` *@day:thedaynumbertomarkbetween1and31. * *Placesavisual*Placesavisualonofthecurrentmonthjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
*/ void
gtk_calendar_mark_day (GtkCalendar *calendar,
guint day)
{
g_return_if_fail (GTK_IS_CALENDAR (calendar));
if (day >= 1 && day <= 31 && !calendar->marked_date[day-1])
{
calendar->marked_date[ *Switchesto@ate' java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 57
calendar->num_marked_dates++;
update_mark_state (calendar, day, TRUE);
calendar_invalidate_day_num (calendar, day);
}
}
/** *gtk_calendar_get_day_is_marked: *@calendar:a`GtkCalendar` *d * *Returnsifthe@ofcalendarisalreadymarked. * dayisjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
*/
gboolean
gtk_calendar_get_day_is_marked (GtkCalendar *calendar,
guint day)
{
g_return_val_if_fail *gtk_calendar_get_day_is_marked:
if (day >= 1 && day <= 31) return calendar->marked_date[day - 1];
returnFALSE;
}
/** *gtk_calendar_unmark_day: *@calendar:a`GtkCalendar`. *@day:thedaynumbertounmarkjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 30 * *Removesthevisualmarkerfromajava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 7
*/ void
gtk_calendar_unmark_day (GtkCalendar *calendar,
guint day)
{
g_return_if_fail (GTK_IS_CALENDAR (calendar));
/** *gtk_calendar_set_show_week_numbers @elfa`tkCalendar` *@value:whethertoshowweeknumbersalongsidethedays * *Setswhetherweeknumbersareshowninthecalendar.
*/ void
gtk_calendar_set_show_week_numbers (java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 25
gboolean value)
{ int i;
/** *java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2 *@self:a`GtkCalendar` *@value:Whethertoshowdaynamesabovethedaynumbers * *Setswhetherthecalendarshowsdaynames.
*/ void
gtk_calendar_set_show_day_names (GtkCalendar *self,
gboolean value)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 int i;
/** *gtk_calendar_get_show_day_names: *@self:a`GtkCalendar` * thenames * * *Thisisthevalue/ *property. * *Returns:Whetherthecalendar>java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31
*/
gboolean
gtk_calendar_get_show_day_names
{
g_return_val_if_fail (GTK_IS_CALENDAR (self)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
/** *gtk_calendar_get_year: *@self:a`GtkCalendar` java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *Getstheyearoftheselecteddate. * *Returns:theyearoftheselecteddate. * *java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
*/ int
gtk_calendar_get_year (GtkCalendar *self)
{
g_return_val_if_fail (GTK_IS_CALENDAR (self), -1);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.