#include <glib.h>
#include "gntwidget.h"
#include "gntclipboard.h"
#include "gntcolors.h"
#include "gntkeys.h"
Include dependency graph for gnt.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | G_PARAM_STATIC_NAME G_PARAM_PRIVATE |
Get things to compile in Glib < 2.8. | |
#define | G_PARAM_STATIC_NICK G_PARAM_PRIVATE |
#define | G_PARAM_STATIC_BLURB G_PARAM_PRIVATE |
Functions | |
void | gnt_init (void) |
Initialize GNT. | |
void | gnt_main (void) |
Start running the mainloop for gnt. | |
gboolean | gnt_ascii_only (void) |
Check whether the terminal is capable of UTF8 display. | |
void | gnt_window_present (GntWidget *window) |
Present a window. | |
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) |
Resize a widget. | |
void | gnt_screen_move_widget (GntWidget *widget, int x, int y) |
Move a widget. | |
void | gnt_screen_rename_widget (GntWidget *widget, const char *text) |
Rename a widget. | |
gboolean | gnt_widget_has_focus (GntWidget *widget) |
Check whether a widget has focus. | |
void | gnt_widget_set_urgent (GntWidget *widget) |
Set the URGENT hint for a widget. | |
void | gnt_register_action (const char *label, void(*callback)(void)) |
Register a global action. | |
gboolean | gnt_screen_menu_show (gpointer menu) |
Show a menu. | |
void | gnt_quit (void) |
Terminate the mainloop of gnt. | |
GntClipboard * | gnt_get_clipboard (void) |
Get the global clipboard. | |
gchar * | gnt_get_clipboard_string (void) |
Get the string in the clipboard. | |
void | gnt_set_clipboard_string (const gchar *string) |
Set the contents of the global clipboard. | |
gboolean | gnt_giveup_console (const char *wd, char **argv, char **envp, gint *stin, gint *stout, gint *sterr, void(*callback)(int status, gpointer data), gpointer data) |
Spawn a different application that will consume the console. | |
gboolean | gnt_is_refugee (void) |
Check whether a child process is in control of the current terminal. |
Definition in file gnt.h.
|
Check whether the terminal is capable of UTF8 display.
|
|
Get the global clipboard.
|
|
Get the string in the clipboard.
|
|
Spawn a different application that will consume the console.
|
|
Check whether a child process is in control of the current terminal.
|
|
Register a global action.
|
|
Show a menu.
|
|
Move a widget.
|
|
Rename a widget.
|
|
Resize a widget.
|
|
Set the contents of the global clipboard.
|
|
Check whether a widget has focus.
|
|
Set the URGENT hint for a widget.
|
|
Present a window. If the event was triggered because of user interaction, the window is moved to the foreground. Otherwise, the Urgent hint is set.
|