(no subject)

2005-04-12 Thread trupthi n t
Hi, To write/find a function which returns the the widget on which the current focus is,when i used the following function GtkWidget* gtk_window_get_focus(GtkWindow *window); The compiler(gtk+1.2.10) gave the following error: [EMAIL PROTECTED] test]# make gcc `gtk-config --cflags`

Re: GTK+, CYGWIN, MSW and GCC flagas

2005-04-12 Thread Stefan Kost
Hi Jamiil, have you had a look on http://mingw.sf.net? MingW together with MSYS is somthing like Cygwin with the difference that it targets on the windows platfrom directly. Cygwin uses an thick emulation layer. So MingW is what you want to use. Apart -mno-cygwin can be just part of your other

Re: gtk_window_get_focus (1.2)

2005-04-12 Thread Iago Rubio
On Tue, 2005-04-12 at 06:22 +, trupthi n t wrote: Hi, To write/find a function which returns the the widget on which the current focus is,when i used the following function GtkWidget* gtk_window_get_focus(GtkWindow *window); The compiler(gtk+1.2.10) gave the following

Have you examined all the alternatives?

2005-04-12 Thread Athanasios Anastasiou
Hello Cesar The things people do for love!!! :-) Have you examined all the possible alternatives for the application you are trying to make? For example, maybe the window manager you are refering to (FVWM), has already some means of modifying the behaviour of the right click, or even the option

Report Generation

2005-04-12 Thread [ A b h i s h e k ]
hello I need to generate a report which will have images as well as some text related to each image in a particular format. I also need to print the report. Im not sure as to how to go about this problem. I was thinking of maybe using GnomeCanvas but im not quite sure. Could someone please

Re: Report Generation

2005-04-12 Thread Hubert Sokolowski
Hi! hello I need to generate a report which will have images as well as some text related to each image in a particular format. I also need to print the report. Im not sure as to how to go about this problem. I was thinking of maybe using GnomeCanvas but im not quite sure. Could someone

GtkTextView and scrolled window

2005-04-12 Thread Mishael A Sibiryakov
Hello. I have a two small question about GtkTextView and about how it works with scrolled window widget. 1. I have a TextView witch is placed to scrolled window (this is simple chat window), and i want to do automatic scroll is new message inserted to TextBuffer. How can i do

Re: Gtk path insert

2005-04-12 Thread Mishael A Sibiryakov
, 12/04/2005 20:47 +0530, srinivas : hi; i am doing a scanning application gui with gtk. now i would like to have idea abt how to get the path of a file. itz like when i select a file the path has to be added to the list from there the file will be scanned. how to add file or directory

Re: GtkTextView and scrolled window

2005-04-12 Thread Paolo Costabel
Mishael A Sibiryakov wrote: Hello. I have a two small question about GtkTextView and about how it works with scrolled window widget. 1. I have a TextView witch is placed to scrolled window (this is simple chat window), and i want to do automatic scroll is new message inserted to

Re: GtkTextView and scrolled window

2005-04-12 Thread Mishael A Sibiryakov
, 12/04/2005 10:15 -0700, Paolo Costabel : Mishael A Sibiryakov wrote: Hello. I have a two small question about GtkTextView and about how it works with scrolled window widget. 1. I have a TextView witch is placed to scrolled window (this is simple chat window), and i want

Re: GtkTextView and scrolled window

2005-04-12 Thread Paolo Costabel
I that case you need to use gtk_text_view_scroll_to_iter to force an update. Mishael A Sibiryakov wrote: , 12/04/2005 10:15 -0700, Paolo Costabel : Mishael A Sibiryakov wrote: Hello. I have a two small question about GtkTextView and about how it works with scrolled window widget.

Re: GtkTextView and scrolled window

2005-04-12 Thread Mishael A Sibiryakov
, 12/04/2005 11:55 -0700, Paolo Costabel : I that case you need to use gtk_text_view_scroll_to_iter to force an update. Thanks, it works :) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: threads gdk/Xlib

2005-04-12 Thread Stéphane Konstantaropoulos
On Mon, 2005-04-11 at 09:51 -0400, Owen Taylor wrote: On Mon, 2005-04-11 at 13:06 +0100, Stéphane Konstantaropoulos wrote: Hello all, I am programming a testing app for a gtk widget that embeds Xine and I am facing little problems with threads and XLib: the application crashes all the

Widget sizes

2005-04-12 Thread Stéphane Konstantaropoulos
Hello All, I have implemeted a widget and I'd like it to notify its container of its preferred size but I do not want this size to be compulsory. So I override the size_request method of the widget, where I set the GtkRequisition. Fine, it works, when I put that widget into a GtkVBox then into

Re: Popup Menu

2005-04-12 Thread Antonio Gomes
César, instead you customize a Window Manager, why don't you try to use the Familix Linux . It's the linux most similar with Windows that I ever see 8-) It can find out Windows Networks, and so on ... Familix was entirely built in Brazil, therefore your official web site is in Portuguese ...

Re: Link error: gdk_display_new

2005-04-12 Thread Antonio Gomes
Hi PSM, take a look at http://developer.gnome.org/doc/API/2.0/gdk/multihead.html and look for 'gdk_display_new' ... I think you are trying to use a function specific of the 2.6.x series of GTK :S. Try to upgrade your gtk, but note: it's it could became a hard task in SuSE :\ !! Best Regards On

Fwd: Popup Menu

2005-04-12 Thread César Leonardo Blum Silveira
Nobody's getting the point. 1) I WANT TO write that program, because I always want to learn more 2) I don't need to capture the root window's mouse events, what happens is that when an iDesk icon is right-clicked it lanches a new program, and that program will be my menu 3) I don't have money to

Re: OT: Processor register size

2005-04-12 Thread Liam R. E. Quin
On Mon, 2005-04-11 at 20:20 -0500, Timothy Flechtner wrote: wouldn't a pointer be register size? Depends on the CPU architecture. E.g. some have a mixture of register sizes (especially 8-bit CPUs, but also 16-bit ones). On the PDP11 series an int was typically 16 bits and so was a register,

(no subject)

2005-04-12 Thread trupthi n t
Hi, To write/find a function which returns the the widget on which the current focus is,when i used the following function GtkWidget* gtk_window_get_focus(GtkWindow *window); The compiler(gtk+1.2.10) gave the following error: [EMAIL PROTECTED] test]# make gcc `gtk-config --cflags` foc.c

GTK2 Focus Issue

2005-04-12 Thread Felix Breuer
Hello Owen, this gtk focus-handling bug (see below) has bothered me for years. Could you and the GTK+ team please resolve it? http://bugzilla.gnome.org/show_bug.cgi?id=158038 http://bugzilla.gnome.org/show_bug.cgi?id=109246 Thanks a lot, Felix ___

How to use Gtk+1.2 Load a PNG Graphic.(duanjf)

2005-04-12 Thread 段剑锋
Hello. I want to usr Gtk+1.2 Load a Png picture. How can I do? thanks! duanjf ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: How to use Gtk+1.2 Load a PNG Graphic.(duanjf)

2005-04-12 Thread Keith Sharp
On Tue, 2005-04-12 at 17:23 +0800, wrote: Hello. I want to usr Gtk+1.2 Load a Png picture. How can I do? GdkPixbuf: http://developer.gnome.org/doc/API/gdk-pixbuf/index.html Keith. ___ gtk-list mailing list gtk-list@gnome.org

Re: (no subject)

2005-04-12 Thread Antonio Gomes
Hi , this error message is returned because this function is not defined in the gtk 1.2.1 !! take a look at http://developer.gnome.org/doc/API/gtk/gtkwindow.html, GTK+ reference manual for 1.X series ... you will see that there is no 'gtk_window_get_focus', but another related fuctions :S If

Re: (no subject)

2005-04-12 Thread Carl B. Constantine
* trupthi n t ([EMAIL PROTECTED]) wrote: Hi, To write/find a function which returns the the widget on which the current focus is,when i used the following function GtkWidget* gtk_window_get_focus(GtkWindow *window); The compiler(gtk+1.2.10) gave the following error:

Re: problem with libpangoxft-1.0.so (symbol definition missing??)

2005-04-12 Thread stian
This is in reply to the original message from September 2004, while trying to compile gtk 2.6 or 2.4 it looks like I ran into the same problem. When I looked at the -l flags passed to gcc by configure I noticed that pangoft2 was not being linked in, and pangoft2 is the library that would

Re: Need Help using GLib - GList

2005-04-12 Thread Jerry DeLisle
Tristan Van Berkom wrote: Hmmm, I think this is what they call deja vu ;-) I accidentally posted twice. Sorry Regardless I did as you suggested and in fact the code simplified greatly. I am learning to use the GList and making lists of lists, which is very handy. I am implementing a

GTK+ 2.6.7 released

2005-04-12 Thread Matthias Clasen
GTK+ 2.6.7 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.6/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.6/ gtk+-2.6.7.tar.bz2 md5sum: b89bf892a0dee943f98b4caa12f773c8 gtk+-2.6.7.tar.gzmd5sum: 5e9629c573a3e2b234f5c225d029eefd This is a bug fix release and is source and

Re: passing arguments to the

2005-04-12 Thread Ross McFarland
On Tue, 2005-04-12 at 01:15, Ari Jolma wrote: Does anybody know why this still comes up as the first if you type perl gtk to the google? Of course perl gtk2 gets one where one wants to go but I believe many people got a wrong start because of this (I, for one). we've tried for quite some

Re: Steering people away from GtkPerl (was: passing arguments to the)

2005-04-12 Thread muppet
On Apr 12, 2005, at 9:13 AM, A. Pagaltzis wrote: Further, Patrice le Borgne who offers a french tutorial[4] could also be asked. Patrice has a gtk2-perl tutorial... linked from http://gtk2-perl.sf.net/links/ http://perso.wanadoo.fr/gtk2-perl/Gtk2perl_tutoriel.html If Dermot Musgrove also

Re: Steering people away from GtkPerl (was: passing arguments to the)

2005-04-12 Thread A. Pagaltzis
* muppet [EMAIL PROTECTED] [2005-04-12 18:40]: On Apr 12, 2005, at 9:13 AM, A. Pagaltzis wrote: Further, Patrice le Borgne who offers a french tutorial[4] could also be asked. Patrice has a gtk2-perl tutorial... linked from http://gtk2-perl.sf.net/links/