#include "obgtkTipsQuery.h"

@implementation Gtk_TipsQuery
- castGtkTipsQuery:(GtkTipsQuery *) castitem
{
  gtktipsquery = castitem;

  return [super castGtkLabel:GTK_LABEL(castitem)];
}

- init
{
  return [self castGtkTipsQuery:GTK_TIPS_QUERY(gtk_tips_query_new())];
}

- start_query
{
  gtk_tips_query_start_query(gtktipsquery);
  return self;
}

- stop_query
{
  gtk_tips_query_stop_query(gtktipsquery);
  return self;
}

- set_caller:(id) caller
{
  gtk_tips_query_set_caller(gtktipsquery, ((Gtk_Widget *)caller)->gtkwidget);
  return self;
}

- set_labels:(const gchar *) label_inactive
	    :(const gchar *) label_no_tip
{
  gtk_tips_query_set_labels(gtktipsquery, label_inactive, label_no_tip);
  return self;
}
@end
