Code Examples
from
Chapter 17
OO for Graphical User Interfaces, A Tour of Three Toolkits
of
Programming with Objects
NOTE: Browsers generally have difficulty displaying source code files in
their raw form. A browser may also gratuitously enclose a raw source
code file within html tags for the purpose of display. So it is best to
right-click on the items listed below and to then click on the "save
link as" or the "save target as" menu item for directly transferring the
file to your local disk.
FirstWindow.java
FirstWindowWithButton.java
FirstWindow.cc
FirstWindowWithButton.cc
FirstWindow.c
Makefile_GTK_FirstWindow
FirstWindowWithButton.c
Makefile_GTK_FirstWindowWithButton
BorderLayoutTest.java
FlowLayoutTest.java
BoxLayoutTest.java
GridLayoutTest.java
CardLayoutTest.java
GridBagLayoutTest.java
QHBoxTest.cc
QHBoxLayoutTest.cc
QGridTest.cc
QGridLayoutTest.cc
GHBoxTest.c
TableLayoutTest.c
WindowWithButtons.java
WindowWithButtons2.java
CrazyWindow.java
SignalSlotLCD.cc
CrazyWindow.h
CrazyWindow.cc
MyTextPanel.h
MyTextPanel.cc
MyDrawPanel.h
MyDrawPanel.cc
main_CrazyWindow.cc
Makefile_Qt_CrazyWindow
WindowWithHelloButton.c
CrazyWindow.c
Makefile_GTK_CrazyWindow
WindowWithMenu.java
WindowWithMenu.h
WindowWithMenu.cc
main_WindowWithMenu.cc
Makefile_Qt_WindowWithMenu
WindowWithMenu.c
Makefile_GTK_WindowWithMenu
RenderGraphics.java
FontFamilies.java
RotatingRect.java
ImageLoadAndDisplay.java
RenderGraphics.cc
Sketch.cc
RenderGraphics.c
Makefile_GTK_RenderGraphics
Sketch.c
Makefile_GTK_Sketch
SlideShowApplet.java
SlideShowApplet.html
GUITutorials.html
top.html
left.html
Left.java
right.html
Back to the home page for Programming with Objects