Re: examples/list.c

2009-01-21 Thread James Scott Jr
look for and use the "gtk-demo" application thats normallu apart of the devel package. It contains current GTK examples pre-compiled with source immediately available. Also, consider using "devhelp", another api document viewer for GTK/GLIB and many others. James, On Wed, 2009-01-21 at 21:42 +

Re: some erros -- resolved

2009-01-18 Thread James Scott Jr
Frederico, Your CCLIST dropped the reference to gtk-app-devel-l...@gnome.org. Which will certaily impact who can respond. Here is your example you asked for. Regards, James Scott, Jr. Registered Linux User #270764 /* Sampler.c */ #include static gchar* fn_get_file (GtkWindow *parent

Re: some erros

2009-01-15 Thread James Scott Jr
Frederico, From your code listing part of your problem could be this syntax error: gtk_file_chooser_add_filter(*chooser, *filtro); it should read; gtk_file_chooser_add_filter(chooser, filtro); James, On Thu, 2009-01-15 at 22:58 -0200, frederico schardong wrote: > Hi, > > anybody can help me

Re: Question about Callback

2009-01-13 Thread James Scott Jr
that does not > use such static functions. > > Greetings, > Christoph Hartwig > > James Scott Jr schrieb: > > You can also use: > > - in the routine that creates the button, save a unique value. > > g_object_set_data(G_OBJECT(button), "Unique-Key", &

Re: Question about Callback

2009-01-12 Thread James Scott Jr
You can also use: - in the routine that creates the button, save a unique value. g_object_set_data(G_OBJECT(button), "Unique-Key", &some-value) -in button callback routine, retrieve the unique value. some-value-pointer = g_object_get_data(G_OBJECT(button), "Unique-Key"); This in addition to any

Re: Basic GNOME applet developement

2008-11-18 Thread James Scott Jr
Andrew, Where are you with this problem now? I have tried to review your posts to better understand your dilemma, and I can make one suggestion in reference to "add to gnome bar and it doesn't show anything". When you have the *.server file correct, and your C code correct, in that your printf's

Re: glib main loop without gtk

2008-11-14 Thread James Scott Jr
How to exit the main loop? Stick this in a timer routine and execute it when your ready to shutdown. --g_main_loop_quit(main_loop); -- Also, the following link contains two daemons; a pure glib one, and a pure libc one; including threads, etc... http://mysite.verizon.net/skoona/sitebuildercon

Re: Howto correctly generate "expandable void"?

2008-10-24 Thread James Scott Jr
Till, I have not tested this yet, but I can give you an ideal of what I would try first. Window -vbox -- vbutton_box(a,b,c) -- postioned using start -- vbutton_box(x,y,z) -- postioned using end Here is the code. ***BEGIN /* Button Alignment */ #include int main(int argc, char *argv[] ) {

Re: Forking from Gtk

2008-07-08 Thread James Scott Jr
On Tue, 2008-07-08 at 23:23 +0200, G Hasse wrote: > On Tue, Jul 08, 2008 at 01:52:00PM -0400, James Scott Jr wrote: > > G, > > > > I've seen most of the other responses, and better understand what you > > are trying to do. And like others -- fork() is not recomm

Re: Forking from Gtk

2008-07-08 Thread James Scott Jr
y website may have something of interest: http://mysite.verizon.net/skoona/id2.html James, On Tue, 2008-07-08 at 06:51 +0200, G Hasse wrote: > On Mon, Jul 07, 2008 at 10:58:36PM -0400, James Scott Jr wrote: > > G, > > > > The basic design decision to use fork() as a way to

Re: Forking from Gtk

2008-07-07 Thread James Scott Jr
G, The basic design decision to use fork() as a way to do work in the background flawed. fork()ing is not practical for gtk program. While fork() has been a valid option for many non-gui programs in the absence of threads, either g_thread_create() or pthread_create(). Today it is not very usefu

Re: new object, with variables

2008-06-12 Thread James Scott Jr
On Thu, 2008-06-12 at 11:12 +0200, Kees Scherpenhuijzen wrote: > 2008/6/12, James Scott Jr <[EMAIL PROTECTED]>: > > Kees, > > > > I cannot seem figure out what your trying to do. The code I see in the > > notes is not something I understand; and I am

Re: new object, with variables

2008-06-11 Thread James Scott Jr
Kees, I cannot seem figure out what your trying to do. The code I see in the notes is not something I understand; and I am an experienced gtk developer. Please back away from the code for a minute and try to describe what it is your trying to achieve with this interface or application that spawn

Re: Draw in a GdkPixbuf

2008-05-29 Thread James Scott Jr
Ok, http://cairographics.org/examples/ http://live.gnome.org/GtkCairoIntegration These links have some examples of using everything from a raw image to a pdf as the backend in cairo from the command line -- without the use of gtk. Hope this fits your need better than my last response. James,

Re: Draw in a GdkPixbuf

2008-05-28 Thread James Scott Jr
Take a look at the executable 'gtk-demo'. It should have been installed with gtk's development tools; i.e. already loaded on you machine. Hint: double click the sample for a live preview, then look at the source code. Additionally, here is a link to glinegraph, a simple line graph widget written

Re: Creating a non-focused window

2008-05-24 Thread James Scott Jr
Tom, The word "hint" almost always refers to a potential capability of the Window Manager; meaning the wm does not have to honor the request or feature. Maybe your code is working and the wm is ignoring the request! There might be a bug in gtk, however I would want to try a different wm or somet

Re: Creating a non-focused window

2008-05-22 Thread James Scott Jr
Tom, This might be a opportunity to explore and use 'libnotify' and have a libnotify-popup present your message. As for your original question, I don't have an answer that I treid and know for certain will work. However, This is what I would try by changing my code; 1. I would reread the gtk api

Re: Column Values Changing in Treeview When Row Selected

2008-05-11 Thread James Scott Jr
Andrew, I reviewed the code you supplied. The gtk_tree_model_get() have the correct column numbers, so the fact that PART_COLUMN_CLASS is changing is interesting from a gcc compiler option perspective; but not cause for the problems you are experiencing. PART_COLUMN_CLASS should be a fixed enum

Re: Lost Pointer when adding GTK+ to an application

2008-05-07 Thread James Scott Jr
or retry the gdb exercise. James, > -Diego-- > > On Wed, May 7, 2008 at 8:55 PM, James Scott Jr <[EMAIL PROTECTED]> > wrote: > > > > On Wed, 2008-05-07 at 20:33 -0600, Diego Rivera wrote: > > Hi! I am not exactly new to GT

Re: Lost Pointer when adding GTK+ to an application

2008-05-07 Thread James Scott Jr
On Wed, 2008-05-07 at 20:33 -0600, Diego Rivera wrote: > Hi! I am not exactly new to GTK+, however I have come across a problem i > have no explanation for, and I'll be glad if someone could point me towards > a possible solution. > > I am currently developing an application that uses various al

Re: Histogram and other statistical graphs

2008-04-28 Thread James Scott Jr
The GIW package maybe of interest to you. Its at giw.sourceforge.net. James, On Wed, 2008-04-23 at 12:29 +0200, Roberto Mantovani - A&L wrote: > Hi, > > I need to write a program that displays some statistical values so I > would know if there are libraries fot GTK+ to draw histograms and other

Re: gtk+ and eclipse problems

2008-03-25 Thread James Scott Jr
I have not explored the newest version of eclispe, which reports that it supports the autoconfig framework inside it "Managed Make" features; so there may be an easier way than this one. I always add a 'Makefile' in my source directory that includes the needed commands to build a gtk+ project. ec

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread James Scott Jr
g_object_ref_sink() replaces gtk_object_sink() Please make this substitution James, On Thu, 2008-02-28 at 00:04 -0500, James Scott Jr wrote: > On Wed, 2008-02-27 at 21:03 -0500, Mark Rodriguez wrote: > > > James, > > > > > When doe s the error occur? &g

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread James Scott Jr
On Wed, 2008-02-27 at 21:03 -0500, Mark Rodriguez wrote: > James, > > > When doe s the error occur? > > 0. When program starts > > 1. When shutting down > > 2. When creating the text_view the first time > > 3. When creating the text_view the Nth time > > > > I will assume it happens durin

Re: Text View Complaining about Double Free or Corruption

2008-02-26 Thread James Scott Jr
On Tue, 2008-02-26 at 20:51 -0500, Mark Rodriguez wrote: > James, > > > I'm not sure what in your #include "common.h", but I placed the following > > in mine > > > > #include /* for abort() */ > > #include /* for gtk, gdk, and glib */ > > I have a few other things, but these are included

Re: Text View Complaining about Double Free or Corruption

2008-02-26 Thread James Scott Jr
Mark, I'm not sure what in your #include "common.h", but I placed the following in mine #include /* for abort() */ #include /* for gtk, gdk, and glib */ With that single change the program compiled and executed without error message; as I would have expected. James, On Tue, 2008-02-26 at 01

Re: timeout function not called

2007-10-05 Thread James Scott Jr
Vicki, Here is a more complete example of how to resolve your issue. Compile with this command '# gcc -Wall -g -O2 `pkg-config --libs --cflags gtk+-2.0 glib-2.0 gthread-2.0` gprogress.c' BEGIN-CODE #include /* no globals */ typedef struct _INSTANCE_VALUES { GtkWidget *progressbar;

Re: timeout function not called

2007-10-04 Thread James Scott Jr
On Thu, 2007-10-04 at 13:27 -0700, [EMAIL PROTECTED] wrote: > Thanks James for giving me my first experience with Thread programming! > I tried the code you sent me, but unfortunately, I still can't get the > progress_update > function to run, looks like it never gets called. Any idea why this

Re: timeout function not called

2007-10-03 Thread James Scott Jr
On Tue, 2007-10-02 at 10:51 -0400, [EMAIL PROTECTED] wrote: > I'm still muddling my way through my first GTK application (and I'm a > relative newbie on all software matters). > > I have the following in one of my callbacks: > > timer = g_timout_add(50, (GSourceFunc) progress_update, > (gpoint

Re: GtkNotebookPage

2007-09-30 Thread James Scott Jr
On Sun, 2007-09-30 at 10:07 -0400, dhk wrote: > I have a notebook with a treeview on each page. I'm trying to reference > a treeview on a notebook tab when it is clicked and compare it to > another treeview on another tab; I'm using the "switch-page" signal. > The treeviews are in vbox's in the t

Re: Row number in TreeView

2007-09-17 Thread James Scott Jr
LUK, This link answers your original "double-click" question! Read the Tutorial! http://scentric.net/tutorial/sec-selections-double-click.html James , On Mon, 2007-09-17 at 09:29 +0100, Lukasz Gromotowicz wrote: > Thanks for the response. I still have a problem. Maybe because I use GTKmm. > I

Re: Row number in TreeView

2007-09-15 Thread James Scott Jr
LUK, One way is to create a Selection when you define the treeview, then whenever a double-click selection occurs your callback will be called with its parms point to the row that was selected. the callbacks params will have the current and correct path as input params. review this tutorial for

Re: gtk pango draw rotated text

2007-09-09 Thread James Scott Jr
Take a look at the excellent example in the program 'gtk-demo', which should be installed on your system already. Try '# gtk-demo', then choose the 'rotated text' example. Note: double-clinking the choice launches the example, also notice the two tabs - one show description, one show the actual co

Re: gtk_widget_show() not showing window

2007-09-02 Thread James Scott Jr
00 +, G. Paul Ziemba wrote: > >>gtk_widget_show_all(window); > >>gtk_widget_hide(window); > >>gtk_widget_show(window); > >> > >> gtk_main(); > > > [EMAIL PROTECTED] (James Scott Jr) writes: > > >Try this instead.

Re: gtk_widget_show() not showing window

2007-08-27 Thread James Scott Jr
Try this instead. The gtk_widget_show_all() then gtk_widget_hide() then gtk_widget_show() is the cause of your problem; unless you were thinking the window should blink once before appearing. James, #include > > static void > button_clicked_cb(GtkButton *button, gpointer data) >

Re: waveform display in gtk

2007-07-17 Thread James Scott Jr
The GIW package at http://giw.sourceforge.net/ contains a linegraph which may work for you application. There is a screenshot to help you evaluate. James, On Thu, 2007-07-12 at 11:53 +0100, Iain * wrote: > On 7/12/07, Stefan Kost <[EMAIL PROTECTED]> wrote: > > Hi, > > > > there is a few. Jokoshe

Re: GTK plot graph

2007-06-29 Thread James Scott Jr
Dieterle, If you would like an even simpler example/tool - pick up glinegraph from this link http://sourceforge.net/project/showfiles.php?group_id=157888 It does exactly what I needed and may work for you. James, On Fri, 2007-06-29 at 12:06 +0200, Daniel Dieterle wrote: > Hey, > > after googl

Re: treeview: seg fault When Collapsing a Row Containg a Selected Item

2007-06-18 Thread James Scott Jr
On Sun, 2007-06-17 at 09:37 -0400, Marshall Lake wrote: > >> I have a treeview/treestore containing many top-level rows. Each > >> top-level row contains many children. The treeview works fine except > >> for one thing. If the user expands a top-level row, selects a child, > >> and then col

Re: treeview: seg fault When Collapsing a Row Containg a Selected Item

2007-06-16 Thread James Scott Jr
On Sat, 2007-06-16 at 12:15 -0400, Marshall Lake wrote: > I have a treeview/treestore containing many top-level rows. Each > top-level row contains many children. The treeview works fine except for > one thing. If the user expands a top-level row, selects a child, and then > collapses that

Re: Plotting graphs

2007-05-24 Thread James Scott Jr
On Thu, 2007-05-24 at 06:27 -0700, Bluezapper wrote: > Hi, > > Can someone refer me to an example which plots a simple 2D graph using > gtkextra API. > > > thanks, > > bluezapper. > I have used successfully both GtkExtra and GtkDataBox libraries. However, for the app I was writing I found

Re: g_io_add_watch, g_io_channel_read stops working after sometime.

2007-04-18 Thread James Scott Jr
On Wed, 2007-04-18 at 04:39 -0700, Rehan wrote: > Hi, > > I am trying to write a program based on client-server architecture. I need > only one client connection hence i am first listening to client then > accept() is called. after accept() i call g_io_channel_unix_new () and then > g_io_add_wa

Re: GTK Thread init problem

2007-04-17 Thread James Scott Jr
connect (GTK_OBJECT (window), "destroy", > GTK_SIGNAL_FUNC (destroy), NULL); > gtk_container_set_border_width (GTK_CONTAINER (window), 10); > gtk_widget_show (window); > > > pthread_create (&thrd1, NULL, argument_thread, (void*)&b_run_

Re: GTK Thread init problem

2007-04-16 Thread James Scott Jr
On Mon, 2007-04-16 at 18:09 +0530, prabahar k wrote: > hi > i am trying to use a threaded GTK program. While running the > program it gives segmentation fault and it seem to be an > thread init problem. is there any thing i am missing? Please > give u r comments. > > the code is: > /

Re: how to read data with g_io_read_channel throwed it through a normal socket

2007-04-12 Thread James Scott Jr
On Thu, 2007-04-12 at 13:36 -0700, nahuel9728 wrote: > Hi everyone. Im developing a interface for a server program and I have some > problems.Step by step: > - I put the server in listen: > fd_dealer2server=socket.. > bind > listen(fd_dealer2server,MAX_CON) > > - I create a channel

Re: is there a g_option_print_usage() command?

2007-03-12 Thread James Scott Jr
orks. However, here is a full example; notice the if statement around g_option_context_parse(). BEGIN EXAMPLE /* gapc_notify.c20070123 libnotify messaging routine for Linux scripting languages. output a titled message box to the graphical screen for 10 s

Re: trying to launch a dialog from outside the main gui thread by emiting a signal to the thread.

2007-03-06 Thread James Scott Jr
reads. g_idle_add() g_io_watch() g_io_timeout_add() Hopefully you have the application devhelp and can look up these api's. James, > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailma

Re: Problems with Threading Concept

2007-02-19 Thread James Scott Jr
/* create a new window */ window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (gtk_main_quit), NULL); gtk_container_set_border_width (GTK_CONTAINER (window), 100); button = gtk_button_new_with_label("clic

Re: gtk box and flow layout

2007-02-18 Thread James Scott Jr
llo! > > Can I create flow layout box in gtk like java FlowLayout Layout Manager? > Or it is need to create derivative class (from GtkTable for example) and > release it behaviour itself? > > Thanks. > > Sorry for my bad en

Re: libglade frustration redux - back away from the keyboard

2007-02-17 Thread James Scott Jr
al/book1.html" in your filesystem. There are a few 'AH' 'HA' moments that you must acquire/experience/endure related to event programming; but they are neither hard nor complex - just some basic rules to follow when organizing your code. I will help, and I know others will

Re: scrolledview

2007-02-09 Thread James Scott Jr
have settled down. -- wait, this assumes you issued a gtk_widget_show{_all} on the main window containing all this stuff! Its the gtk_widget_show that starts the cascade of messages which includes the size and realize messages. g_idle_add() or g_timeout_add(250,...) show do th

Re: scrolledview

2007-02-06 Thread James Scott Jr
/* this point is inside the gvbox's height range */ } Hope this helps James, > > Can someone help me ? > ___ > gtk-app-devel-list mailing list > gtk-app-deve

Re: Coding systems ?

2007-01-22 Thread James Scott Jr
wonder. I promise, next time I'll > check my code more thoroughly before > incriminating gtk! > > Best, > Amities, >Olivier > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-li

Re: How does one pipe output from process to text buffer? <-- FIXED

2006-12-30 Thread James Scott Jr
On Sun, 2006-12-31 at 05:43 +, [EMAIL PROTECTED] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sat, Dec 30, 2006 at 12:15:33AM -0500, Tony Freeman wrote: > > Thanks everyone, I have this working now :-) Special thanks to Tomas! > > happy it helped :-) > > Still strange th

Re: Proper way to show unique icon in treeview <--with code

2006-12-17 Thread James Scott Jr
Tony, I don't claim to be an expert but I have used IconViews & TreeViews. I have never seen it attempted the way you show. Using GDK_TYPE_PIXBUF as the column type is all I have every tried, based on code I've seen from others, and it has always worked. Here are a few observation of your code.

Re: Linux signals and GLIB g_io_channel usage

2006-11-13 Thread James Scott Jr
On Mon, 2006-11-13 at 17:02 -0800, C.R. Kirkwood-Watts wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > James Scott Jr wrote: > > On Mon, 2006-11-13 at 02:15 -0500, Freddie Unpenstein wrote: > > > >> On Mon 10/23, James Scott Jr < [EMAIL PROTECTED

RE: Linux signals and GLIB g_io_channel usage

2006-11-13 Thread James Scott Jr
On Mon, 2006-11-13 at 02:15 -0500, Freddie Unpenstein wrote: > On Mon 10/23, James Scott Jr < [EMAIL PROTECTED] > wrote: > > I am about to write the socket module of a program that follows the > > gnu standard structure for a daemon. I am using glib wherever > > p

Re: Linux signals and GLIB g_io_channel usage

2006-10-23 Thread James Scott Jr
On Mon, 2006-10-23 at 13:42 -0400, Tristan Van Berkom wrote: > James Scott Jr wrote: > > Folks, > > > > Hi James, > in a phrase - I've done it and it works fine. > > some places might call for special attention though - for > example - if you were t

Linux signals and GLIB g_io_channel usage

2006-10-23 Thread James Scott Jr
Folks, I am about to write the socket module of a program that follows the gnu standard structure for a daemon. I am using glib wherever possible and have a question concerning the use of linux signals. Basically, I have blocked all signals on all threads according to the standard daemon model a

Re: Fwd: Systray icon..

2006-08-14 Thread James Scott Jr
, if you cannot compile my example. James, On Mon, 2006-08-14 at 00:35 -0500, Samuel Cormier-Iijima wrote: > eggstatusicon. it was a while ago, so maybe they've updated it, but I > remember that eggtrayicon was what i needed (putting an icon in the > systray) > > On 8/14/06, Ja

Re: Fwd: Systray icon..

2006-08-13 Thread James Scott Jr
Tried compiling what? eggtrayicon.c, edgestatusicon.c ? What was the error-code/messages ? James, On Sun, 2006-08-13 at 10:58 -0500, Samuel Cormier-Iijima wrote: > I tried compiling it once, and it didn't seem to work with GTK 2.0... :-) > > On 8/13/06, Enrico <[EMAIL PROTECTED]> wrote: > > Fer

Re: Systray icon..

2006-08-11 Thread James Scott Jr
Here is an example of using eggtrayicon.c and eggtrayicon.h http://mysite.verizon.net/skoona/id2.html James, On Fri, 2006-08-11 at 17:05 +0200, Enrico wrote: > Hi at all! > > How can I display an icon in the system tray without using GtkStatusIcon > (I've only GTK 2.8). > > Many thanks! > >

Re: C/GTK question

2006-06-17 Thread James Scott Jr
On Thu, 2006-06-15 at 12:08 -0300, Matías Torres wrote: > I'm building an application in C that uses GTK. The reason i'm doing this is > to learn GTK (and C as well) the main problem I've found is that i write all > the GTK code in only one file and is getting too da## big, so i tried to > divide

[Fwd: Re: How to get the the current size of a widget?]

2006-06-02 Thread James Scott Jr
Luis If you look at the GtkWidget structure you will find it contains an GtkAllocation allocation, which is a simple rectangle. It is set to the widget's current size by the configure or realize event of all widgets. You can use its value reliably almost anytime after the gtk_main() has had an

Re: Creating custom widget questions

2006-05-25 Thread James Scott Jr
Thanks for the quick response. On Thu, 2006-05-25 at 19:07 +0200, David Nečas (Yeti) wrote: > On Thu, May 25, 2006 at 12:18:46PM -0400, James Scott Jr wrote: > > > > Q1: Naming a new widget: Is it ok to name it gtk_linegraph_new() ? > >- I named mine sk_linegra

Creating custom widget questions

2006-05-25 Thread James Scott Jr
Folks, I am creating a xy linegraph widget for the first time, and I am experiencing a double destroy method call during shutdown. Plus, I would like some clarification on which api family to use for params ;GtkObject or GObject, and a little help with naming a new widget. I'm using gtk2-devel-2

Is it possible to implement Zoom/Shrink of a backing bitmap using only GTK+/GDK/GLIB ?

2006-05-04 Thread James Scott Jr
Folks, I am writing a simple GTK+ line graph codeset to use in my GTK applications; It's done but not a widget yet. After reading several books and googling I still have this question. Question: Is it possible using only GTK+/GDK/GLIB to create a 2000x2000 pixbuf for drawing and have the expose-

Re: GTK+ 2.8.17 and background colours

2006-04-21 Thread James Scott Jr
On Fri, 2006-04-21 at 20:36 +0200, Francesco Montorsi wrote: > Hi, > I'm struggling with my GTK+ (2.8.17 - coming with ubuntu dapper) to > be able to set the background colour of a button. > > I've googled and searched the archives of this mailing list and I have > found exactly same questi

Re: Random Number of Buttons

2006-04-21 Thread James Scott Jr
On Thu, 2006-04-20 at 18:40 -0700, 3saul wrote: > OK what I'm trying to do is this: > > 1. Read a directory full of images (the images in the directory will change) > 2. Create a table with the correct number of cells. > 3. Put a button in each cell with an image on it from the directory > 4. In

Re: Notification area application

2006-04-06 Thread James Scott Jr
On Thu, 2006-04-06 at 08:44 +0200, Olaf Leidinger wrote: > Hello! > > > Unfortunately, I'm not familiar on how to download files from the Gnome CVS > > site. Could you briefly explain how I would accomplish this download? > > > > > Have a look at > > http://developer.gnome.org/tools/cvs.html

Re: gui, g_objects and abstraction

2006-04-06 Thread James Scott Jr
On Thu, 2006-04-06 at 20:57 +0200, Andreas Kotowicz wrote: > this is a general case question. I made myself familiar with gtk+ and > created a few useful (and less useful) programs. I quickly began to > realize that I do reuse some code very often. So I thought about > abstraction and creation of

Re: Notification area application

2006-04-04 Thread James Scott Jr
On Sun, 2006-04-02 at 07:37 -0700, BobS0327 wrote: > I am trying to develop an application that resides in the notification area > of Fedora 5 and version 2.14.0 of the Notification area. I have found some > sample code on the internet for a base system tray (notification area) > application. I