ocarina/ocarina/gtk.cpp
Bryan Schumaker 9df15e944c ocarina: Add a text button for library scanning
A text button will use a slightly larger image to make it easier to see.
This also gives me an opportunity to add some help text to describe what
the button does.
2011-09-10 10:30:25 -04:00

20 lines
497 B
C++

#include <ocarina/gtk.h>
void box_pack_start(GtkWidget *box, GtkWidget *child, gboolean expand,
gboolean fill, guint padding)
{
gtk_box_pack_start(GTK_BOX(box), child, expand, fill, padding);
}
void box_pack_end(GtkWidget *box, GtkWidget *child, gboolean expand,
gboolean fill, guint padding)
{
gtk_box_pack_end(GTK_BOX(box), child, expand, fill, padding);
}
void container_add(GtkWidget *container, GtkWidget *widget)
{
gtk_container_add(GTK_CONTAINER(container), widget);
}