| PHAT Reference Manual | ||||
|---|---|---|---|---|
PhatVKeyboard;
GtkWidget* phat_vkeyboard_new (GtkAdjustment *adjustment,
int numkeys,
gboolean show_labels);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkViewport +----PhatKeyboard +----PhatVKeyboard
PhatVKeyboard is a wrapper for the abstract PhatKeyboard class. After creating a PhatVKeyboard, you should interact with it using the PhatKeyboard functions.
typedef struct _PhatVKeyboard PhatVKeyboard;
The PhatVKeyboard struct contains private data only, and should be accessed using the functions below.
GtkWidget* phat_vkeyboard_new (GtkAdjustment *adjustment, int numkeys, gboolean show_labels);
Creates a new PhatVKeyboard.
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 PhatVKeyboard |