![]() |
![]() |
![]() |
PHAT Reference Manual | |
---|---|---|---|---|
PhatHKeyboard; GtkWidget* phat_hkeyboard_new (GtkAdjustment *adjustment, int numkeys, gboolean show_labels);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkViewport +----PhatKeyboard +----PhatHKeyboard
PhatHKeyboard is a wrapper for the abstract PhatKeyboard class. After creating a PhatHKeyboard, you should interact with it using the PhatKeyboard functions.
typedef struct _PhatHKeyboard PhatHKeyboard;
The PhatHKeyboard struct contains private data only, and should be accessed using the functions below.
GtkWidget* phat_hkeyboard_new (GtkAdjustment *adjustment, int numkeys, gboolean show_labels);
Creates a new PhatHKeyboard.
adjustment : |
the GtkAdjustment that the new keyboard will use for scrolling |
numkeys : |
number of keys to create |
show_labels : |
whether to label the C keys |
Returns : | a newly created PhatHKeyboard |