~ubuntu-branches/ubuntu/natty/gpe-expenses/natty

« back to all changes in this revision

Viewing changes to doc/man/man3/GUI.3

  • Committer: Bazaar Package Importer
  • Author(s): Neil Williams
  • Date: 2007-09-08 19:11:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070908191132-q1o5xxbcckfctuvh
Tags: 0.1.3-1
* New upstream release.
* use the new Homepage support in dpkg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "Gtk interface" 3 "30 May 2007" "Version 0.1.0" "gpe-expenses" \" -*- nroff -*-
 
1
.TH "Gtk interface" 3 "9 Sep 2007" "Version 0.1.3" "gpe-expenses" \" -*- nroff -*-
2
2
.ad l
3
3
.nh
4
4
.SH NAME
42
42
.PP
43
43
 
44
44
.PP
45
 
Definition at line 873 of file expenses-gtk.c.
 
45
Definition at line 876 of file expenses-gtk.c.
46
46
.PP
47
 
References GpeExpenseData::book, and GPE_QOF_EXPENSES.
 
47
References _, GpeExpenseData::book, and GPE_QOF_EXPENSES.
48
48
.PP
49
49
.nf
50
 
874 {
51
 
875         gboolean large_screen;
52
 
876         gboolean mode_landscape;
53
 
877         GtkWidget *window;
54
 
878         GtkWidget *vbox;
55
 
879 
56
 
880         g_return_if_fail(context);
57
 
881         ENTER (' ');
58
 
882         vbox = gtk_vbox_new (FALSE, 0);
59
 
883 
60
 
884         large_screen = (gdk_screen_width() > 400);
61
 
885         mode_landscape = (gdk_screen_width() > gdk_screen_height());
62
 
886         gpe_pim_categories_init ();
63
 
887         window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
64
 
888         gtk_window_set_default_size (GTK_WINDOW (window), 240, 320);
65
 
889         gtk_window_set_title (GTK_WINDOW (window), _('Expenses'));
66
 
890         gpe_set_window_icon (window, 'icon');
67
 
891 
68
 
892         gtk_box_pack_start (GTK_BOX (vbox), set_toolbar(context), FALSE, FALSE, 0);
69
 
893         g_signal_connect (G_OBJECT (window), 'delete-event',
70
 
894                         G_CALLBACK (gtk_main_quit), NULL);
71
 
895         
72
 
896         gtk_box_pack_start (GTK_BOX (vbox), set_list_view(context), TRUE, TRUE, 0);
73
 
897 
74
 
898         gtk_container_add (GTK_CONTAINER (window), vbox);
75
 
899         gtk_widget_show_all (window);
76
 
900         /* Populate the list from qof_object_foreach */
77
 
901         qof_object_foreach(GPE_QOF_EXPENSES, context->book, 
78
 
902                 exp_show_entities, context);
79
 
903         LEAVE (' ');
80
 
904 }
 
50
877 {
 
51
878         gboolean large_screen;
 
52
879         gboolean mode_landscape;
 
53
880         GtkWidget *window;
 
54
881         GtkWidget *vbox;
 
55
882 
 
56
883         g_return_if_fail(context);
 
57
884         ENTER (' ');
 
58
885         vbox = gtk_vbox_new (FALSE, 0);
 
59
886 
 
60
887         large_screen = (gdk_screen_width() > 400);
 
61
888         mode_landscape = (gdk_screen_width() > gdk_screen_height());
 
62
889         gpe_pim_categories_init ();
 
63
890         window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
 
64
891         gtk_window_set_default_size (GTK_WINDOW (window), 240, 320);
 
65
892         gtk_window_set_title (GTK_WINDOW (window), _('Expenses'));
 
66
893         gpe_set_window_icon (window, 'icon');
 
67
894 
 
68
895         gtk_box_pack_start (GTK_BOX (vbox), set_toolbar(context), FALSE, FALSE, 0);
 
69
896         g_signal_connect (G_OBJECT (window), 'delete-event',
 
70
897                         G_CALLBACK (gtk_main_quit), NULL);
 
71
898         
 
72
899         gtk_box_pack_start (GTK_BOX (vbox), set_list_view(context), TRUE, TRUE, 0);
 
73
900 
 
74
901         gtk_container_add (GTK_CONTAINER (window), vbox);
 
75
902         gtk_widget_show_all (window);
 
76
903         /* Populate the list from qof_object_foreach */
 
77
904         qof_object_foreach(GPE_QOF_EXPENSES, context->book, 
 
78
905                 exp_show_entities, context);
 
79
906         LEAVE (' ');
 
80
907 }
81
81
.fi
82
82
.PP
83
83