ocarina: Add a GtkEntry for filtering

This commit is contained in:
Bryan Schumaker 2011-11-13 10:33:16 -05:00
parent 8ae21bfe58
commit 1c5b230434
1 changed files with 11 additions and 2 deletions

View File

@ -1,12 +1,21 @@
#include <ocarina/header.h>
#include "header.h"
static GtkWidget *header = NULL;
static void make_header()
{
header = gtk_label_new("Header goes here");
gtk_widget_show(header);
GtkWidget *sep = gtk_hseparator_new();
GtkWidget *content = gtk_hbox_new(FALSE, 0);
box_pack_start(content, get_entry(), TRUE, TRUE, 0);
header = gtk_vbox_new(FALSE, 0);
box_pack_start(header, content, FALSE, FALSE, 0);
box_pack_start(header, sep, FALSE, FALSE, 0);
gtk_widget_show_all(header);
}
GtkWidget *get_header()