All quizzes
Free quiz · 20 questions in the bank

GTK quiz

Test your GTK knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is a "widget" in GTK terminology?

Questions in this quiz
  1. What is a "widget" in GTK terminology?
  2. What is the relationship between GTK and the GNOME desktop environment?
  3. What is the purpose of GTK's accessibility (a11y) support, and why is it an important consideration when building a GTK application's interface?
  4. What is the purpose of `GtkApplication` (or the equivalent application class in language bindings) as the typical entry point/foundation of a GTK application?
  5. What is the purpose of a "layout container" widget in GTK (like `GtkBox` or `GtkGrid`), as distinct from a widget displaying actual content like a button or label?
  6. What is CSS styling support in GTK (particularly from GTK3 onward), and how does it let developers customize widget appearance?
  7. What is the significance of GTK4 (a major version) introducing changes to its rendering architecture compared to GTK3, particularly around GPU-accelerated rendering?
  8. What is the significance of GTK being cross-platform, despite its strong association with Linux/GNOME specifically?
  9. What programming language is GTK originally written in, and does this limit which languages can be used to build a GTK application?
  10. What does "widget hierarchy" or "widget tree" refer to in a GTK application, and why does understanding this structure matter for building a UI?
  11. What is a reasonable way to think about the tradeoff a developer faces when choosing which language binding to use for building a GTK application (e.g. Python's PyGObject vs. writing directly in C)?
  12. What is a reasonable justification for GTK's widget-based, hierarchical composition model (nesting simpler widgets to build more complex interfaces) rather than each application implementing its own custom drawing/rendering from scratch for every UI element?
Gaps to close?
Read the curated GTK notes — core concepts, patterns, interview prep.
GTK notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web