view finch/libgnt/gnt.h @ 17072:cb4380df3005

In MSN we fake sending messages to yourself. This had a small bug in that the received message would show up *before* the sent message. This fixes that so that when talking to yourself messages appear in the correct order. I was discussing this with Stu and he said it was a rather silly thing to worry about, but I disagree with him.
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 12 May 2007 17:38:04 +0000
parents f00f2e283ffb
children 8410511f4dbb
line wrap: on
line source

#include <glib.h>
#include "gntwidget.h"
#include "gntclipboard.h"
#include "gntcolors.h"
#include "gntkeys.h"

void gnt_init(void);

void gnt_main(void);

gboolean gnt_ascii_only(void);

void gnt_screen_occupy(GntWidget *widget);

void gnt_screen_release(GntWidget *widget);

void gnt_screen_update(GntWidget *widget);

void gnt_screen_resize_widget(GntWidget *widget, int width, int height);

void gnt_screen_move_widget(GntWidget *widget, int x, int y);

void gnt_screen_rename_widget(GntWidget *widget, const char *text);

gboolean gnt_widget_has_focus(GntWidget *widget);

void gnt_widget_set_urgent(GntWidget *widget);

void gnt_register_action(const char *label, void (*callback)());

gboolean gnt_screen_menu_show(gpointer menu);

void gnt_quit(void);

GntClipboard *gnt_get_clipboard(void);

gchar *gnt_get_clipboard_string(void);

void gnt_set_clipboard_string(gchar *string);