Re: How does one set background color for entire line in textview? <- not possible

2007-01-16 Thread Tony Freeman
I've searched all over and I figure that this type of functionality is not possible at the current time. I'll just have to do without :-) -- Tony On Mon, 2007-01-15 at 15:06 -0500, Tony Freeman wrote: > Hello, > > I have a function that takes the output of a spawned pro

How does one set background color for entire line in textview?

2007-01-15 Thread Tony Freeman
Hello, I have a function that takes the output of a spawned process and displays that in a text buffer (part of a notebook widget). When the spawned process is finished, I'd like to put some colorized text at the bottom of the text buffer/view that alerts the user that the process is done. What

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

2006-12-31 Thread Tony Freeman
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 helpe

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

2006-12-29 Thread Tony Freeman
Thanks everyone, I have this working now :-) Special thanks to Tomas! The program still freezes for a very brief moment, but then it comes quickly back to life with wonderful data spilling onto the notebook pages. Here's the target function: void on_confirm_okbutton_clicked (GtkWidget *widge

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

2006-12-28 Thread Tony Freeman
On Wed, 2006-12-27 at 06:17 +, [EMAIL PROTECTED] wrote: > On Tue, Dec 26, 2006 at 10:41:33PM -0500, Tony Freeman wrote: > > Hello, > > > > I need some example code or a tutorial for how to pipe output from a > > process to a GtkTextBuffer. > > > > The

How does one pipe output from process to text buffer?

2006-12-26 Thread Tony Freeman
Hello, I need some example code or a tutorial for how to pipe output from a process to a GtkTextBuffer. The idea of this program is to spawn off 6 or more ssh commands and have the output go to it's own textbuffer in it's assigned notebook page. This is what I have so far. Now I need the output

Re: g_array_new problem with initializer element

2006-12-25 Thread Tony Freeman
On Mon, 2006-12-25 at 09:19 +0100, David Nečas (Yeti) wrote: > On Mon, Dec 25, 2006 at 12:22:50AM -0500, Tony Freeman wrote: > > What am I doing wrong? I would like an array of gchar values. The > > gchar values would be "lx1" "lx2" "dx1" that a user

g_array_new problem with initializer element

2006-12-24 Thread Tony Freeman
Hello, What am I doing wrong? I would like an array of gchar values. The gchar values would be "lx1" "lx2" "dx1" that a user would select from a GtkTreeView. However, the following line gives an error: GArray *serverlist = g_array_new(TRUE, FALSE, sizeof(gchar)); The error is: main.c:58: err

Re: Trimming GtkEntry Text

2006-12-22 Thread Tony Freeman
haracters in the string, try using > g_utf8_strlen() instead. > > - Micah Carrick > www.micahcarrick.com www.gtkforums.com > > > > Tony Freeman wrote: > > Hello, > > > > I have two problems I'm trying to work through that maybe someone here > > can help

Trimming GtkEntry Text

2006-12-21 Thread Tony Freeman
Hello, I have two problems I'm trying to work through that maybe someone here can help me with. I have a GtkEntry called a 'custom_command_entry'. I would like to trim white space from the beginning and end of what a user may enter in this field. custom_command_entry is a global. This is what

Re: GtkComboBox question

2006-12-20 Thread Tony Freeman
On Tue, 2006-12-19 at 16:21 -0800, Russell Markus wrote: > I am trying to work on an application which has a combo box. I want to > restrict the user to values that are included in the drop down list only. > My thought was to prevent the user from editing the value in the entry box, > but I can't

Re: Proper way to show unique icon in treeview <-- FIXED :-)

2006-12-18 Thread Tony Freeman
> > Hello, > > > > I need help understanding how one would create a treeview so that the > > first column is an icon and the second column is text. The icon and > > text represent the type of machine the user can choose (linux > > workstation, linux server, hp). I want to have a different icon f

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

2006-12-17 Thread Tony Freeman
> Hello, > > I need help understanding how one would create a treeview so that the > first column is an icon and the second column is text. The icon and > text represent the type of machine the user can choose (linux > workstation, linux server, hp). I want to have a different icon for > each ma

Proper way to show unique icon in treeview

2006-12-17 Thread Tony Freeman
Hello, I need help understanding how one would create a treeview so that the first column is an icon and the second column is text. The icon and text represent the type of machine the user can choose (linux workstation, linux server, hp). I want to have a different icon for each machine; however

RE: Problem with gtk

2006-12-17 Thread Tony Freeman
Hello, > int main () >{ > int i; > while (i < 25000) > printf ("%d\n", i); >} Create a file called "test.c" and add these lines: #include int main (int argc, char *argv[]) { int i = 0; while (i < 25000) {

Makefile.am Help for GnomeProgram make errors

2006-12-16 Thread Tony Freeman
Hello, I am using Anjuta. I need help with a particular piece of configuration in order to make GnomeProgram work properly. I get this series of errors when trying to make the program: main.c: In function ‘main’: main.c:121: error: ‘PREFIX’ undeclared (first use in this function) main.c:121: er

Question: Gnome-CRITICAL **: gnome_program_get_app_id

2006-08-13 Thread Tony Freeman
Hello, I've created a pygtk program with the ui created by glade-2 and imported into python via pygtk ... however there is a harmless message I'm getting when I run the program from the command line. Evidently I'm not doing something correctly ... could you tell me what bit of code I need to pl

Re: AMD64 Installation/Usage-Experience Checklist?

2006-03-12 Thread Tony Freeman
Ooops ... sorry about that post! As you can see - I sent it to the wrong mailing list. My appologies. -- Tony On Sun, 2006-03-12 at 12:11 -0500, Tony Freeman wrote: > I was just on the Ubuntu site > > http://www.ubuntu.com/testing/flight5 > > ... and noted that they have

AMD64 Installation/Usage-Experience Checklist?

2006-03-12 Thread Tony Freeman
I was just on the Ubuntu site http://www.ubuntu.com/testing/flight5 ... and noted that they have a checklist of sorts for people to report back on their installation and experience using the software. ( scoll down the page to the 'testing' section or click here for the long vesion of the test

Re: Help Fill In Blank (glade-2 project)

2006-03-06 Thread Tony Freeman
On Mon, 2006-03-06 at 21:51 -0500, Tony Freeman wrote: > Hello, > > I'm still pretty new to C programming and especially glib / gtk ... so > I'm wondering if you could help me fill in the blank. Attached is a > glade project with a blank area at the upper left hand

Help Fill In Blank (glade-2 project)

2006-03-06 Thread Tony Freeman
Hello, I'm still pretty new to C programming and especially glib / gtk ... so I'm wondering if you could help me fill in the blank. Attached is a glade project with a blank area at the upper left hand side that needs a sound recorder/player put in it. it would be great if I could just drop some

Re: Program to Record Multiple Sound Input

2006-03-04 Thread Tony Freeman
On Sat, 2006-03-04 at 15:09 -0500, Tony Freeman wrote: > I wonder if you can help me find a program that may be suitable for what > I need. I'm hoping that there is already a GTK/GNOME based program out > there that does what I want. > > I need to record all sound from 4

Program to Record Multiple Sound Input

2006-03-04 Thread Tony Freeman
I wonder if you can help me find a program that may be suitable for what I need. I'm hoping that there is already a GTK/GNOME based program out there that does what I want. I need to record all sound from 4 local weather radio stations for one year. I will need to purchase a sound card with 4 in

Fingerprint Scanner for GDM Login

2005-03-30 Thread Tony Freeman
I'd like to be able to use my fingerprint to log into my linux machine. Because GDM is the login manager for our favorite desktop, I was wondering if you have heard of a project that is trying to interface the new fingerprint scanners with GDM (or similar login managers). I'd really be interest

Fingerprint Scanner for GDM Login

2005-03-29 Thread Tony Freeman
I'd like to be able to use my fingerprint to log into my linux machine. Because GDM is the login manager for our favorite desktop, I was wondering if you have heard of a project that is trying to interface the new fingerprint scanners with GDM (or similar login managers). I'd really be interest

Re: Compile Line for GnomeVFS Programs. <-- thanks

2005-02-09 Thread Tony Freeman
ve - > gfileutils.h - gnome-util.h). It will show you what debian package > (.deb) to download and install using synaptic or apt-get ... > > Best Regards > > > On Tue, 08 Feb 2005 19:34:04 -0500, Tony Freeman > <[EMAIL PROTECTED]> wrote: > > Trying to compile th

Re: Compile Line for GnomeVFS Programs.

2005-02-08 Thread Tony Freeman
t I need to install? I've searched all over using Synaptic for gnome development packages and I've installed a bunch ... but nothing seems to help. --Tony On Mon, 2005-02-07 at 22:06 -0500, Allin Cottrell wrote: > On Mon, 7 Feb 2005, Tony Freeman wrote: > > > Every time I

Compile Line for GnomeVFS Programs.

2005-02-07 Thread Tony Freeman
I believe I'm missing some development libraries, namely gnome-2.8. What would be the name of the development packages that I would need to install? My distribution is Debian, so I've looked all over Synaptic for development libraries and I've installed a bunch of "dev" packages that seem to fit t

Re: Compile line options for a libglade project?

2005-01-27 Thread Tony Freeman
Thanks to the people who have replied so far. Attached is the glade file and the c file. I've check and rechecked the glade and c files for syntax errors, etc. I found one typo that I corrected: I had "int main (int argc, *argv[])" which I changed to "int main (int argc, **argv)". My compile l

Compile line options for a libglade project?

2005-01-26 Thread Tony Freeman
I'd like to compile one of the example programs in "The GNOME 2 Developer's Guide" which is located on page 318. The two include statements in the program are: #include #include What would a proper compile line look like? I've used this with no success: gcc `pkg-config --cflags --libs libglad

Compile line options for gnome/libglade?

2005-01-23 Thread Tony Freeman
I'm trying to compile the example program provided in Chapter 5 of "The Official GNOME 2 Developer's Guide". Every program in this book that contains a "#include " line NEVER compiles. I wonder if you can help me figure this one out? Here's my guess at the compile command and the resulting out