GtkFixed

The GtkFixed widget is initially attractive to developers coming from VB or VC++ because the paradigm is familiar to them. That is, unlike the GTK+ paradigm of packing widgets, the GtkFixed widget allows the developer to place widgets at certain points on a “grid” and to move the widgets around (see Figure 4.3). However, most developers will tend to gravitate toward the GtkLayout widget (see the following section, titled “GtkLayout”) because it has slightly more advanced functionality.

Figure 4.3. The GtkFixed demo program running.

The program in Listing 4.3 is fairly simple: It has a GtkFixed widget and a single command button that ...

Get MySQL Building User Interfaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.