view finch/libgnt/gnt.h @ 17827:43961a41237a

When right-clicking on an image in a GtkIMHtml to save it, if the file extension is not recognized then make sure we strip off the user-entered file format and tack on a ".png" Fixes bug #914
author Mark Doliner <mark@kingant.net>
date Sun, 10 Jun 2007 21:58:45 +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);