#include "config.h"
#include <glib.h>
#include <stdio.h>
#include <libgitk/gitk.h>
Include dependency graph for gitkLayout.c:
Go to the source code of this file.
Functions | |
gboolean | global_on_close (GitkDialogPtr dialog, gchar *widget_id, GitkEventPtr event, gpointer user_data) |
handle global close events like pressing ctrl-c or closing the dialog window | |
int | main (int argc, char **argv) |
example main routine run it e.g ./bin/gitkLayout --gitk-renderer=gtk gitk-examples/gitkLayout_AddressBook.xml | |
gboolean | main_on_clicked (gpointer dialog, gchar *widget_id, GitkEventPtr event, gpointer user_data) |
gets invoked when a action widget has been invoked | |
gboolean | main_show (gchar *dialog_filename) |
build and show the choosen dialog | |
Variables | |
gboolean | ret = TRUE |
application termination status |
This tool can run any GIML dialog definitions. It is well suited to test dialogs in various environments.
Definition in file gitkLayout.c.
|
handle global close events like pressing ctrl-c or closing the dialog window
Definition at line 30 of file gitkLayout.c. References gitk_log, GitkDialogPtr, and GitkEventPtr. |
|
example main routine run it e.g ./bin/gitkLayout --gitk-renderer=gtk gitk-examples/gitkLayout_AddressBook.xml
Definition at line 95 of file gitkLayout.c. References _, bindtextdomain, gitk_done(), GITK_EVENT_TYPE_ON_CLOSE, gitk_init(), gitk_log, gitk_log1, gitk_log3, gitk_log_handler(), gitk_printf(), gitk_puts(), global_on_close(), main_show(), and textdomain. |
Here is the call graph for this function:
|
gets invoked when a action widget has been invoked
Definition at line 38 of file gitkLayout.c. References gitk_event_loop_end(), gitk_log1, GitkEventPtr, and ret. |
Here is the call graph for this function:
|
build and show the choosen dialog
Definition at line 54 of file gitkLayout.c. References _, GIML_ROOT_PATH, gitk_dialog_free(), gitk_dialog_hide(), gitk_dialog_new_from_file(), gitk_dialog_show(), gitk_event_loop_start(), GITK_EVENT_TYPE_ON_CLICKED, gitk_get_error_code(), gitk_get_error_str(), gitk_log, gitk_log1, gitk_printf(), and main_on_clicked(). |
Here is the call graph for this function:
|
application termination status
Definition at line 23 of file gitkLayout.c. |