Re: gtk+-1.2.xxx fatal error in gtktext.c

2001-10-24 Thread Jeremy Henty
Raymond Wan wrote: > However, I do know that gtktext is deprecated and is no longer > supported ??!!? Is 1.2.x supported or not? And what is the supported way to handle text in 1.2.x? AFAICT neither the tutorial nor the API reference describes any mechanism apart from GtkText. Am

Re: gtk+-1.2.xxx fatal error in gtktext.c

2001-10-24 Thread Raymond Wan
Hi Jeremy, On Wed, 24 Oct 2001, Jeremy Henty wrote: > > However, I do know that gtktext is deprecated and is no longer > > supported > ??!!? Is 1.2.x supported or not? And what is the supported way > to handle text in 1.2.x? AFAICT neither the tutorial nor the API > reference describes

Re: Fw: g_log () Non fatal warning

2001-10-24 Thread John Cupitt
Hi Jean-Christophe, Unfortunately I don't think this is possible. You can use g_log_set_fatal_mask() to say which sorts of errors are fatal, but G_LOG_LEVEL_ERROR is always set fatal whatever you do. I think this was decided because for a GUI library, it's very hard to recover reliably from o

Re: segfault problem.

2001-10-24 Thread John Cupitt
HaB JacKaL wrote: > I have checked and double checked all my declarations. I finally ran it > through gdb, which reported the following error: > > Program received signal SIGSEGV, Segmentation fault. > 0x4015d8a8 in gtk_type_check_object_cast () at eval.c:41 > 41 eval.c: No such file or d

Re: Fw: Another asks about the CList EXTENDED selection

2001-10-24 Thread John Cupitt
Jean-Christophe Berthon wrote: > >>>> I want to use the EXTENDED selection mode of the CList to allow the >>>> user to select multiple row using primarirly the control and shift >>>> key... The problem is that in the documentation it is precise that >>>> the field selection of t

Re: Fw: g_log () Non fatal warning

2001-10-24 Thread Jean-Christophe Berthon
I also did a simple wrapper that encapsulate malloc and do kind of trace, but I would rather use g_malloc instead of malloc and use the maybe better memory check of the glib. Anyway if I can't change it, art least I know, thank you :-) I'll try to improve my own memchecker so. Thanks a lot :-)

Re: Fw: g_log () Non fatal warning

2001-10-24 Thread Sven Neumann
Hi, "Jean-Christophe Berthon" <[EMAIL PROTECTED]> writes: > I also did a simple wrapper that encapsulate malloc and do kind of trace, > but I would rather use g_malloc instead of malloc and use the maybe better > memory check of the glib. > Anyway if I can't change it, art least I know, thank yo

Re: gtk+-1.2.xxx fatal error in gtktext.c

2001-10-24 Thread Vladimir Tsichevski
Hi Valdis, >On Tue, 23 Oct 2001 13:29:14 +0400, Vladimir Tsichevski <[EMAIL PROTECTED]> said: > ... >Could you re-send this with 'diff -c' instead? It makes it a LOT easier to >apply patches if our line numbers dont agree with yours >-- > Valdis Kletnieks >

HTML widget?

2001-10-24 Thread Sanjay Bhatnagar
Hi, Is there a widget which would read an html file and display is properly (with hotlinks etc.)? One with some help/doc/examples would be most useful. I have a document written in TeX which is really the help file of an application. Now I also want it to be accessable from the "Help" button

GtkFrame adaption again

2001-10-24 Thread Carsten Burstedde
Hi, I did not receive any answers so far - If you think this mail is out of place or someone has a better/different way of achieving this, please tell me. Otherwise, any help would be appreciated. --- original message: I modified the gtkframe widget to do the following: /--- frame.al

Re: HTML widget?

2001-10-24 Thread John Cupitt
Sanjay Bhatnagar wrote: > Is there a widget which would read an html file and display is > properly (with hotlinks etc.)? One with some help/doc/examples would > be most useful. I think gtkhtml does what you want: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gtkhtml ___

Re: GtkFrame adaption again

2001-10-24 Thread Paul Davis
>I did not receive any answers so far - If you think this mail is out of >place or someone has a better/different way of achieving this, please >tell me. i use frames a lot. i've never noticed the effect you describe, even with widgets that change size dynamically. i think you should send a small

Re: Fw: Another asks about the CList EXTENDED selection

2001-10-24 Thread Jean-Christophe Berthon
> > I think the tutorial is wrong (or misleading?) here. Whatever selection > mode, you can always look at clist->seletion and get a list of selected > row numbers. > > If you look at textgtk.c and search for clist_remove_selection(), you'll > see that's just what they do. > > John I was a bit s

Re: Fw: g_log () Non fatal warning

2001-10-24 Thread Jean-Christophe Berthon
> > you might consider using glib-1.3.x which allows you to plug your own > memory handling system into glib and use it through g_malloc() and > friends. glib-1.3.x also has g_try_malloc(). > That's look interesting but I'll wait for glib-1.3 to be released stable (in a futur 1.4 or 2.0 version)

Re: GtkFrame adaption again

2001-10-24 Thread Owen Taylor
Carsten Burstedde <[EMAIL PROTECTED]> writes: > I modified the gtkframe widget to do the following: > > /--- frame.allocation ---\ > | > | empty space > | > | / frame shadow/line \ > | | child widget > | | > | > > so that the ch

Re: GtkFrame adaption again

2001-10-24 Thread Sven Neumann
Hi, Carsten Burstedde <[EMAIL PROTECTED]> writes: > I did not receive any answers so far - If you think this mail is out of > place or someone has a better/different way of achieving this, please > tell me. > > Otherwise, any help would be appreciated. > > --- original message: > > I modified

Re: gtk+-1.2.xxx fatal error in gtktext.c

2001-10-24 Thread Havoc Pennington
Jeremy Henty <[EMAIL PROTECTED]> writes: > ??!!? Is 1.2.x supported or not? And what is the supported way > to handle text in 1.2.x? AFAICT neither the tutorial nor the API > reference describes any mechanism apart from GtkText. Am I wrong? 1.2.x is supported. GtkText is supported for t

Re: HTML widget?

2001-10-24 Thread Sanjay Bhatnagar
John Cupitt writes: >Sanjay Bhatnagar wrote: > >> Is there a widget which would read an html file and display is >> properly (with hotlinks etc.)? One with some help/doc/examples would >> be most useful. > > >I think gtkhtml does what you want: > >ftp://ftp.gnome.org/pub/GNOME

Re: HTML widget?

2001-10-24 Thread Christian
Sanjay Bhatnagar writes: > John Cupitt writes: > >Sanjay Bhatnagar wrote: > > > >> Is there a widget which would read an html file and display is > >> properly (with hotlinks etc.)? One with some help/doc/examples would > >> be most useful. > > > > > >I think gtkhtml does

Re: HTML widget?

2001-10-24 Thread Sven Neumann
Hi, Christian <[EMAIL PROTECTED]> writes: > I was pointed to gtkhtml2 that needs only libxml2. It looks very cool > (it has CSS and DOM) but fails on fairly trivial HTML tests (like the > one in cschtml). I hope this will be corrected soon and to have time > to dig into the code (perhpas it's ju

Re: GtkFrame adaption again

2001-10-24 Thread Carsten Burstedde
> > I modified the gtkframe widget to do the following: > > > > /--- frame.allocation ---\ > > | > > | empty space > > | > > | / frame shadow/line \ > > | | child widget > > | | > > | > > > > so that the child widget may change size

Re: GtkFrame adaption again

2001-10-24 Thread Carsten Burstedde
> > What can I do? Do I have to set up some virtual function (maybe for > > gtkcontainer)? > > Try: > > gtk_container_set_reallocate_redraws (GTK_CONTAINER (my_widget), TRUE); > > In your init function. The other thing you could do is call > gtk_widget_queue_draw() in your size_allocate() method

missing stock images?

2001-10-24 Thread Skip Montanaro
I'm just experimenting with stock images. I modified a little Python script so that buttons used stock images where possible, e.g.: b = gtk.Button(stock="gtk-go-up") (The GTK_STOCK* macros don't seem to be exposed as symbolic names through PyGtk2 yet.) All I tried worked fine except for "

Re: missing stock images?

2001-10-24 Thread Havoc Pennington
Hi, They should be working. Try gtk-demo, see if they work there ("stock browser"). Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: missing stock images?

2001-10-24 Thread Skip Montanaro
Havoc> They should be working. Try gtk-demo, see if they work there Havoc> ("stock browser"). Sure enough, they all seem to work there. I'll have to dig into things a little on the PyGtk side. Thanks, -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com

Re: missing stock images?

2001-10-24 Thread Skip Montanaro
Havoc> They should be working. Try gtk-demo, see if they work there Havoc> ("stock browser"). me> Sure enough, they all seem to work there. I'll have to dig into me> things a little on the PyGtk side. Well, after trying some stuff out on the PyGtk side I couldn't figure out wha

Re: missing stock images?

2001-10-24 Thread Sven Neumann
Hi, Skip Montanaro <[EMAIL PROTECTED]> writes: > Well, after trying some stuff out on the PyGtk side I couldn't figure out > what was wrong, so I broke down and wrote a little example in C. The code > below exhibits the same problem I see in my Python script(s) -- up and down > stock items just

Re: missing stock images?

2001-10-24 Thread Havoc Pennington
Hi, Oh, this is in bugzilla. The issue is that there's a stock icon for GO_UP/GO_DOWN, but no stock item. You can only make buttons from stock items. See http://bugzilla.gnome.org/show_bug.cgi?id=61757 Havoc ___ gtk-list mailing list [EMAIL PROTECTED

Re: missing stock images?

2001-10-24 Thread Skip Montanaro
Havoc> The issue is that there's a stock icon for GO_UP/GO_DOWN, but no Havoc> stock item. You can only make buttons from stock items. See Havoc> http://bugzilla.gnome.org/show_bug.cgi?id=61757 Thanks, I put in my two cents. ;-) -- Skip Montanaro ([EMAIL PROTECTED]) http://www.moja

Re: missing stock images?

2001-10-24 Thread Skip Montanaro
Sven> I'd say the problem might be related to the fact that gtkstock.c Sven> is not in sync with gtkiconfactory.c. Thanks, now that I know what the problem is (and that there is already a bug report in bugzilla) I can let others worry about it. ;-) It won't continue to make me think I've

media widget

2001-10-24 Thread Andy Schmidgall
I was wondering if there was some sort of media player widget for GTK. (specifically mpeg, but any other could be useful as well) -Andy ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: media widget

2001-10-24 Thread Erik Walthinsen
On Wed, 24 Oct 2001, Andy Schmidgall wrote: > I was wondering if there was some sort of media player widget for GTK. > (specifically mpeg, but any other could be useful as well) Work is progressing on libgstplay, which is based on GStreamer. It forms the basis for a media player, so you can bui