File: help_button_callback.C

package info (click to toggle)
peruser 4b33-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,952 kB
  • ctags: 1,064
  • sloc: cpp: 22,367; perl: 2,733; makefile: 345; sh: 335
file content (42 lines) | stat: -rw-r--r-- 1,942 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "npsummary.h"

void help_button_callback( GtkWidget *widget, gpointer data )
{
   NP_Summary *summary = ( NP_Summary *)data;

   static char *text = "NEWS PERUSER SUMMARY HELP TEXT\n\n"
      "Each button has a tooltip summary of what it does,\n"
      "which appears when you place the mouse cursor over\n"
      "the button and hold it there for a second.\n"
      "This information should suffice to get you started\n"
      "using most functions.\n\n"
      "The Pack, Expire, Search, and transfer buttons\n"
      "launch the same actions as they do in the News\n"
      "Peruser Collections applet, but the particular action's\n"
      "scope is limited to only the newsgroup having its\n"
      "summary displayed.\n\n"
      "In the thread tree, the presence or absence of two\n"
      "upper-case letters beside entries indicates whether\n"
      "the corresponding message contains a full article,\n"
      "or just the header (H = header), whether the header\n"
      "has had its full article text requested for future\n"
      "downloading (R = requested), and whether the\n"
      "message has been seen or not (U = unseen).\n\n"
      "As well, An uppercase 'D' preceding a entry\n"
      "indicates it is a dummy node, inserted into the\n"
      "thread tree by the program to represent a missing\n"
      "precursor, or to act as a dummy root node for\n"
      "messages which have the same Subject header, but\n"
      "which reference messages not currently residing in\n"
      "the newsgroup's spool file.\n\n"
      "The fractions beside root nodes are similar to the\n"
      "statistics used in the News Peruser Collections\n"
      "applet to summarize newsgroups, only here, they\n"
      "represent the statistics for the articles in\n"
      "their respective thread subtrees. The fractions\n"
      "are of the form: unseen/total : requested/headers.\n";

   summary->show_message( text );

   return;
}