Re: GTK Coding Conventions

2005-04-12 Thread Stefan Kost
Hi Rick, look at the GObject tutorial: http://www.le-hacker.org/papers/gobject/ If you design your application in a oo-fashion, all global variables you have is an application object handle. That in turn knows the rest. Its like a tree, where one tree-node knows stuff about what it is responsible

gnome desktop crashing!

2005-04-12 Thread APR Trainees
hi friends, I used gconftool-2 to first shutdown the gconfd and then made changed to the applet id list to add an applet to the panel on startup however when i do this form the root and rebbot thje machine again.the desktop goes haywire .Its completely destroyed.cant see anything b

gnome desktop crashing!

2005-04-12 Thread APR Trainees
hi friends, I used gconftool-2 to first shutdown the gconfd and then made changed to the applet id list to add an applet to the panel on startup however when i do this form the root and rebbot thje machine again.the desktop goes haywire .Its completely destroyed.cant see anything b

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: 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, bu

running a function

2005-04-12 Thread timothy johnson
I am new to gtk, and trying my hand at writing a mp3player, I am working on the point of the player that when one song is done playing it will load and play the next song. How do I run a test function every couple milli seconds to check to see if it is still playing or not? is g_timeout_add() what

GTK Coding Conventions

2005-04-12 Thread Rick Sutphin
Hello, I am a noob to GTK+ programming, and GUI programming in general. I have worked through the example, and done a few simple programs of my own. I would like to improve my programs. Particularly I would like to do away with , or at least reduce, the mumber of global variables. I would also like

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: Link error: gdk_display_new

2005-04-12 Thread Antonio Gomes
Hi PSM, take a look at 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 O

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 ...

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 a

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 >

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 http://mail.gnom

debugging font problems

2005-04-12 Thread Dan McMahill
I recently updated everything (fontconfig, glib, atk, pango, gtk, etc) on my solaris-9 box with openwin. Now I can longer get any fonts to display in gtk2 programs. Not even the gtk-demo program. So until I can fix this, I can't write gtk programs anymore and use them! I've re-run fc-cache with

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 windo

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 > >c

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 Tex

changing keyboard on the fly

2005-04-12 Thread Boncek, John
I've searched high and low and can't find any information about how to change keyboard layout within a GTK application. I don't need to remap keys or anything similar. I want everything to be standard wrt the keyboard in question, but I need to allow a user to select which of a number of standard

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 , 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: 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 fi

Gtk path insert

2005-04-12 Thread 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 path to list. thanks; vasu. __

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 tha

Re: Report Generation

2005-04-12 Thread Todd Fisher
Hubert Sokolowski wrote: 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 s

Re: Popup Menu

2005-04-12 Thread Nigel Tao
On Mon, 2005-04-11 at 21:23 -0300, CÃsar Leonardo Blum Silveira wrote: > Is there a way I can make my application be just a popup menu? > I mean, when the user opens it, there is no window, it automatically > pops up a menu right where the mouse pointer is. Is that possible? Apologies for hijackin

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 som

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 giv

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

Re: Help!!!!!!!

2005-04-12 Thread Muthiah Annamalai
Hello! You could have well done some kind of search on this list before. But Ill suggest something else, read the rest of this mail, it may solve your probs, and donot use GTK+1.2 shift to GTK+2.0 API. 1] System date can be got from calls like asctime(), see man asctime 2] TO get current foc

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 follo

Re: GTK+, CYGWIN, MSW and GCC flagas

2005-04-12 Thread Dov Grobgeld
Hello Jamiil, Writing the makefile with the proper flag for cygwin is a lot less text than the contents of your email ;-) : COPT = -mms-bitfields -mno-cygwin DEBUG = -g -Wall INCLUDE = `pkg-config --cflags gtk+-2.0` LDFLAGS = `pkg-config --libs gtk+-2.0` -mwindows CFLAGS = $(C