--- a/gnt.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gnt.h Wed Nov 07 09:19:25 2007 +0000
@@ -46,17 +46,17 @@
@@ -66,103 +66,87 @@
* 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.
- * @param window The window the present.
+ * @param window The window to present. * @since 2.0.0 (gnt), 2.1.0 (pidgin)
void gnt_window_present(GntWidget *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);
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);
GntClipboard * gnt_get_clipboard(void);
gchar * gnt_get_clipboard_string(void);
void gnt_set_clipboard_string(gchar *string);
--- a/gntbindable.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntbindable.h Wed Nov 07 09:19:25 2007 +0000
@@ -160,8 +160,8 @@
* Returns a GntTree populated with "key" -> "binding" for the widget.
- * @param widget The object to list the bindings for.
+ * @param bind The object to list the bindings for. @@ -170,9 +170,9 @@
* Builds a window that list the key bindings for a GntBindable object.
* From this window a user can select a listing to rebind a new key for the given action.
* @param bindable The object to list the bindings for.
--- a/gntfilesel.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntfilesel.h Wed Nov 07 09:19:25 2007 +0000
@@ -98,61 +98,50 @@
GType gnt_file_sel_get_gtype(void);
GntWidget * gnt_file_sel_new(void);
gboolean gnt_file_sel_set_current_location(GntFileSel *sel, const char *path);
void gnt_file_sel_set_dirs_only(GntFileSel *sel, gboolean dirs);
gboolean gnt_file_sel_get_dirs_only(GntFileSel *sel);
void gnt_file_sel_set_must_exist(GntFileSel *sel, gboolean must);
gboolean gnt_file_sel_get_must_exist(GntFileSel *sel);
@@ -161,48 +150,36 @@
/* The returned value should be free'd */
GList * gnt_file_sel_get_selected_multi_files(GntFileSel *sel);
void gnt_file_sel_set_multi_select(GntFileSel *sel, gboolean set);
void gnt_file_sel_set_suggested_filename(GntFileSel *sel, const char *suggest);
void gnt_file_sel_set_read_fn(GntFileSel *sel, gboolean (*read_fn)(const char *path, GList **files, GError **error));
GntFile* gnt_file_new(const char *name, unsigned long size);
--- a/gntkeys.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntkeys.h Wed Nov 07 09:19:25 2007 +0000
@@ -107,13 +107,12 @@
* This will do stuff with the terminal settings and stuff.
void gnt_init_keys(void);
void gnt_keys_refine(char *text);
@@ -121,26 +120,23 @@
const char *gnt_key_lookup(const char *key);
void gnt_keys_add_combination(const char *path);
void gnt_keys_del_combination(const char *path);
int gnt_keys_find_combination(const char *path);
-/* A lot of commonly used variable names are defined in <term.h>.
+/* A lot of commonly used variable names are defined in <term.h>. * #undef them to make life easier for everyone. */
--- a/gntlabel.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntlabel.h Wed Nov 07 09:19:25 2007 +0000
@@ -67,33 +67,28 @@
GType gnt_label_get_gtype(void);
GntWidget * gnt_label_new(const char *text);
GntWidget * gnt_label_new_with_format(const char *text, GntTextFormatFlags flags);
void gnt_label_set_text(GntLabel *label, const char *text);
--- a/gntline.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntline.h Wed Nov 07 09:19:25 2007 +0000
@@ -67,7 +67,7 @@
@@ -77,8 +77,7 @@
#define gnt_vline_new() gnt_line_new(TRUE)
--- a/gntmenu.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntmenu.h Wed Nov 07 09:19:25 2007 +0000
@@ -63,7 +63,7 @@
@@ -86,24 +86,20 @@
GType gnt_menu_get_gtype(void);
GntWidget * gnt_menu_new(GntMenuType type);
void gnt_menu_add_item(GntMenu *menu, GntMenuItem *item);
--- a/gntmenuitem.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntmenuitem.h Wed Nov 07 09:19:25 2007 +0000
@@ -86,32 +86,26 @@
GType gnt_menuitem_get_gtype(void);
GntMenuItem * gnt_menuitem_new(const char *text);
void gnt_menuitem_set_callback(GntMenuItem *item, GntMenuItemCallback callback, gpointer data);
void gnt_menuitem_set_submenu(GntMenuItem *item, GntMenu *menu);
--- a/gntmenuitemcheck.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntmenuitemcheck.h Wed Nov 07 09:19:25 2007 +0000
@@ -66,32 +66,28 @@
GType gnt_menuitem_check_get_gtype(void);
GntMenuItem * gnt_menuitem_check_new(const char *text);
gboolean gnt_menuitem_check_get_checked(GntMenuItemCheck *item);
void gnt_menuitem_check_set_checked(GntMenuItemCheck *item, gboolean set);
--- a/gntstyle.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntstyle.h Wed Nov 07 09:19:25 2007 +0000
@@ -38,8 +38,7 @@
void gnt_style_read_configure_file(const char *filename);
@@ -70,9 +69,7 @@
gboolean gnt_style_parse_bool(const char *value);
@@ -80,28 +77,24 @@
/* This should be called only once for the each type */
void gnt_styles_get_keyremaps(GType type, GHashTable *hash);
void gnt_style_read_actions(GType type, GntBindableClass *klass);
void gnt_style_read_workspaces(GntWM *wm);
void gnt_init_styles(void);
void gnt_uninit_styles(void);
--- a/gnttextview.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gnttextview.h Wed Nov 07 09:19:25 2007 +0000
@@ -88,7 +88,7 @@
@@ -97,7 +97,7 @@
/* XXX: For now, don't set a textview to have any border.
* If you want borders real bad, put it in a box. */
@@ -105,62 +105,48 @@
/* scroll > 0 means scroll up, < 0 means scroll down, == 0 means scroll to the end */
void gnt_text_view_scroll(GntTextView *view, int scroll);
void gnt_text_view_append_text_with_flags(GntTextView *view, const char *text, GntTextFormatFlags flags);
void gnt_text_view_append_text_with_tag(GntTextView *view, const char *text, GntTextFormatFlags flags, const char *tag);
/* Move the cursor to the beginning of the next line and resets text-attributes.
* It first completes the current line with the current text-attributes. */
void gnt_text_view_next_line(GntTextView *view);
chtype gnt_text_format_flag_to_chtype(GntTextFormatFlags flags);
void gnt_text_view_clear(GntTextView *view);
int gnt_text_view_get_lines_below(GntTextView *view);
@@ -168,34 +154,24 @@
/* If text is NULL, then the tag is removed. */
int gnt_text_view_tag_change(GntTextView *view, const char *name, const char *text, gboolean all);
void gnt_text_view_attach_scroll_widget(GntTextView *view, GntWidget *widget);
void gnt_text_view_attach_pager_widget(GntTextView *view, GntWidget *pager);
void gnt_text_view_attach_editor_widget(GntTextView *view, GntWidget *pager);
--- a/gntutils.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntutils.h Wed Nov 07 09:19:25 2007 +0000
@@ -147,8 +147,8 @@
* Make some keypress activate a button when some key is pressed with 'wid' in focus.
- * @param widget The widget
- * @param key The key to trigger the button
+ * @param wid The widget + * @param text The key to trigger the button * @param button The button to trigger
* @since 2.0.0 (gnt), 2.1.0 (pidgin)
--- a/gntwidget.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntwidget.h Wed Nov 07 09:19:25 2007 +0000
@@ -140,135 +140,99 @@
GType gnt_widget_get_gtype(void);
void gnt_widget_destroy(GntWidget *widget);
void gnt_widget_show(GntWidget *widget);
void gnt_widget_draw(GntWidget *widget);
void gnt_widget_expose(GntWidget *widget, int x, int y, int width, int height);
void gnt_widget_hide(GntWidget *widget);
void gnt_widget_get_position(GntWidget *widget, int *x, int *y);
void gnt_widget_set_position(GntWidget *widget, int x, int y);
void gnt_widget_size_request(GntWidget *widget);
void gnt_widget_get_size(GntWidget *widget, int *width, int *height);
gboolean gnt_widget_set_size(GntWidget *widget, int width, int height);
gboolean gnt_widget_confirm_size(GntWidget *widget, int width, int height);
gboolean gnt_widget_key_pressed(GntWidget *widget, const char *keys);
gboolean gnt_widget_clicked(GntWidget *widget, GntMouseEvent event, int x, int y);
gboolean gnt_widget_set_focus(GntWidget *widget, gboolean set);
void gnt_widget_activate(GntWidget *widget);
void gnt_widget_set_name(GntWidget *widget, const char *name);
@@ -277,28 +241,22 @@
/* Widget-subclasses should call this from the draw-callback.
* Applications should just call gnt_widget_draw instead of this. */
void gnt_widget_queue_update(GntWidget *widget);
void gnt_widget_set_take_focus(GntWidget *widget, gboolean set);
void gnt_widget_set_visible(GntWidget *widget, gboolean set);
--- a/gntwindow.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntwindow.h Wed Nov 07 09:19:25 2007 +0000
@@ -67,7 +67,7 @@
@@ -77,25 +77,21 @@
#define gnt_hwindow_new(homo) gnt_window_box_new(homo, FALSE)
GntWidget * gnt_window_new(void);
GntWidget * gnt_window_box_new(gboolean homo, gboolean vert);
void gnt_window_set_menu(GntWindow *window, GntMenu *menu);
--- a/gntwm.h Tue Oct 23 17:27:12 2007 +0000
+++ b/gntwm.h Wed Nov 07 09:19:25 2007 +0000
@@ -113,7 +113,7 @@
* whether to give focus to a new window.
@@ -184,7 +184,7 @@
@@ -200,90 +200,63 @@
GntWS *gnt_wm_widget_find_workspace(GntWM *wm, GntWidget *widget);
void gnt_wm_new_window(GntWM *wm, GntWidget *widget);
void gnt_wm_window_decorate(GntWM *wm, GntWidget *widget);
void gnt_wm_window_close(GntWM *wm, GntWidget *widget);
gboolean gnt_wm_process_input(GntWM *wm, const char *string);
gboolean gnt_wm_process_click(GntWM *wm, GntMouseEvent event, int x, int y, GntWidget *widget);
void gnt_wm_resize_window(GntWM *wm, GntWidget *widget, int width, int height);
void gnt_wm_move_window(GntWM *wm, GntWidget *widget, int x, int y);
void gnt_wm_update_window(GntWM *wm, GntWidget *widget);
void gnt_wm_raise_window(GntWM *wm, GntWidget *widget);
void gnt_wm_set_event_stack(GntWM *wm, gboolean set);
void gnt_wm_copy_win(GntWidget *widget, GntNode *node);