Re: notebook causes segmentation fault

2005-03-22 Thread Raj
{ GtkWidget *notebook1; gint = page; page=gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook1)); gtk_notebook_remove_page(GTK_NOTEBOOK(notebook1) , page); } Seems like you missed a step in setting the notebook1 pointer to a valid widget. As of now, it is a stray pointer & obviously you

Re: dealing with async events

2005-03-22 Thread John Coppens
On Tue, 22 Mar 2005 22:05:50 +0100 Andreas Bachmann <[EMAIL PROTECTED]> wrote: > hi! > > I'm developing a gtk+ based equivalent to 'netstat' and 'sockstat'. > (http://bachi.te-clan.ch/tcpview.png) > Andreas, Though I don't want to discourage the use of threads, did you check g_io_channels? Th

Re: how to communicate with LPT? is this posible?

2005-03-22 Thread John Coppens
On Tue, 22 Mar 2005 22:20:47 +0100 ALLs soft <[EMAIL PROTECTED]> wrote: > i meen LPT and not LTP. > how to read a word from parallel port. > more on http://www.1osb.ims.hr/skola/lpt/LPT-input.html, but not > english. i now work this with DLportIO but it work only on windows. > i need read what is

notebook causes segmentation fault

2005-03-22 Thread Eljin
Hello, I'm new to the list and admittedly a novice to programming. I'm trying to use "gtk_notebook_remove _page" or any other "notebook" function and am not understanding why my program keeps crashing with a segmentation fault. I'm using GTK 2.4.3, Glade and Anjuta to build a simple app. In Glad

Re: how to communicate with LPT? is this posible?

2005-03-22 Thread Liam R. E. Quin
On Tue, 2005-03-22 at 22:20 +0100, ALLs soft wrote: > i meen LPT and not LTP. > how to read a word from parallel port. > more on http://www.1osb.ims.hr/skola/lpt/LPT-input.html, but not english. > i now work this with DLportIO but it work only on windows. > i need read what is on 889 adress (if in

Re: how to communicate with LPT? is this posible?

2005-03-22 Thread ALLs soft
i meen LPT and not LTP. how to read a word from parallel port. more on http://www.1osb.ims.hr/skola/lpt/LPT-input.html, but not english. i now work this with DLportIO but it work only on windows. i need read what is on 889 adress (if in bios). somebody can help? thanks Liam R. E. Quin wrote: On Tue

dealing with async events

2005-03-22 Thread Andreas Bachmann
hi! I'm developing a gtk+ based equivalent to 'netstat' and 'sockstat'. (http://bachi.te-clan.ch/tcpview.png) my first app was a single thread (gtk_main) with g_timeout_add every 1 sec to update my treeview. disadvantage: backend roundtrip is too long. (http://bachi.te-clan.ch/TCPView/timeout.pn

Re: how to communicate with LPT? is this posible?

2005-03-22 Thread Liam R. E. Quin
On Tue, 2005-03-22 at 13:31 -0400, Antonio Gomes wrote: > LTP = Linux Test Project ?! I'm guessing ALLs soft meant the printer, since LPT was the name for a Line Printer on some 1960s DEC operating systems. If so, the answer depends... to send something to the printer, you can pipe output to lpr

Re: how to communicate with LPT? is this posible?

2005-03-22 Thread Antonio Gomes
LTP = Linux Test Project ?! Regards On Tue, 22 Mar 2005 16:25:43 +0100, ALLs soft <[EMAIL PROTECTED]> wrote: > thanks. -- Antonio Gomes E-mail: [EMAIL PROTECTED] Embedded Linux Lab - 10LE INdT - Instituto Nokia de Tecnologia (Manaus/Br) NOKIA's Technology Institute _

how to communicate with LPT? is this posible?

2005-03-22 Thread ALLs soft
thanks. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Toolbar style

2005-03-22 Thread Soeren Sandmann
Paul Pogonyshev <[EMAIL PROTECTED]> writes: > Ah, indeed. The problem is that I use KDE as the desktop. > > It seems to work when `gnome-settings-daemon' is running, however, > for some reason ``Priority text beside icons'' works exactly as > ``Text below icons'' (it works fine when set from my

Re: How to detect already running application...

2005-03-22 Thread Freddie Unpenstein
> gnome-volume-manager uses this hack: > http://cvs.gnome.org/.. > hope it helps So do I... But even if it doesn't, it's already answered one different problem I was going to ask about. ;) Fredderic ___ Join Excite! - http://www.excite.com The

Re: Which widget can I use for play a video file in GTK

2005-03-22 Thread Keith Sharp
On Tue, 2005-03-22 at 17:01 +0530, vishwahg wrote: > Hi, > > I have a video(mp4) file and I want it to play using GTK based application. > My question is which widget(Gtkpixmap/GTkimage) is fit for play a video file > in GTK?. > Let me your thoughts. You want to look at the bacon-video-widget tha

Which widget can I use for play a video file in GTK

2005-03-22 Thread vishwahg
Hi, I have a video(mp4) file and I want it to play using GTK based application. My question is which widget(Gtkpixmap/GTkimage) is fit for play a video file in GTK?. Let me your thoughts. Thanks Vishwahg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kris

Re: How to detect already running application...

2005-03-22 Thread Miroslav Rajcic
This looks interesting, thanks for the tip. Best regards Miroslav Rajcic - Original Message - From: "Kristof Vansant" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Tuesday, March 22, 2005 11:54 AM Subject: Re: How to detect already running application... > gnome-volume-manag

Re: How to detect already running application...

2005-03-22 Thread Kristof Vansant
gnome-volume-manager uses this hack: http://cvs.gnome.org/viewcvs/gnome-volume-manager/src/clipboard.c?rev=1.3&view=markup hope it helps -- lupusBE (Kristof Vansant Belgium) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gn

Missing directories and files for gconf

2005-03-22 Thread APR Trainees
hi people, I've been trying to make an applet that can be put on the panel.When the computer starts Xwindows,the icon of the applet should appear ON the panel like the print-manager icon etc. Working on Redhat Linux 8 We referred to the following documents: 1. http://mail.gnome.org/archives/gconf