/* Cache as many ranges of height-for-width *(orwidth-for-height)ascanberational *forasaidwidgettohave,ifalabelcan *onlywrapto3lines,only3cacheswill *everbeallocatedforit.
*/ #define GTK_SIZE_REQUEST_CACHED_SIZES (64)
typedefstruct { int minimum_size; int natural_size;
} CachedSizeX;
typedefstruct { int minimum_size; int natural_size; int minimum_baseline; int natural_baseline;
} CachedSizeY;
typedefstruct
{ int lower_for_size; /* The minimum for_size with the same result */ int upper_for_size; /* The maximum for_size with the same result */
CachedSizeX cached_size;
} SizeRequestX;
typedefstruct
{ int lower_for_size; /* The minimum for_size with the same result */ int upper_for_size; /* The maximum for_size with the same result */
CachedSizeY cached_size;
} SizeRequestY;
void _gtk_size_request_cache_clear (SizeRequestCache *cache); void _gtk_size_request_cache_commit (SizeRequestCache *cache,
GtkOrientation orientation, int for_size, int minimum_size, int natural_size, int minimum_baseline, int natural_baseline);
gboolean _gtk_size_request_cache_lookup (const SizeRequestCache *cache,
GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline);
G_END_DECLS
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-07-02)
¤
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.