Re: about textview (gtk_text_buffer_insert_with_tags cause segmentaion fault)

2008-07-14 Thread plt
On Tue, 2008-07-15 at 02:09 +0800, 朱碧岑 wrote: > Hi all , > When I insert some text to textview in a thread in the following > code(myThread::run) . it will segmentation fault . > Could someone help me to fix this issue. > Any comments and suggestion will be welcomed. > > bzhu > > #include > [.

about textview (gtk_text_buffer_insert_with_tags cause segmentaion fault)

2008-07-14 Thread 朱碧岑
Hi all , When I insert some text to textview in a thread in the following code(myThread::run) . it will segmentation fault . Could someone help me to fix this issue. Any comments and suggestion will be welcomed. bzhu #include #include #include #include GtkWidget* tv; GtkTextTag* tag; #inclu

Re: How do I get the enter key to press OK when in a GTk::Entry widget?

2008-07-14 Thread Eduardo M KALINOWSKI
Garth's KidStuff wrote: > Hi All, > > I've got a dialog with a Gtk:Entry widget and some other widgets. I've set > the OK button the be the default and that works fine as long as the user > isn't editing text in the Entry widget. How do I make the Entry widget > ignore the return key? > You

How do I get the enter key to press OK when in a GTk::Entry widget?

2008-07-14 Thread Garth's KidStuff
Hi All, I've got a dialog with a Gtk:Entry widget and some other widgets. I've set the OK button the be the default and that works fine as long as the user isn't editing text in the Entry widget. How do I make the Entry widget ignore the return key? Thanks in advance. -Garth -- Garth Upsha

Re: font size gtk_*_new_with_label [SOLVED]

2008-07-14 Thread Luis Ariel Lecca
thanks to the 3 guys who gave me a hand with this... Here one function in C to resolve this: gint8 GuiUtils_Font_Change( GtkWidget *pCtrl, c8 *C8pname, PangoFontDescription *pfont ) { gint8 S8retval = -1; if( C8pname && pfont ) { if( G

Re: gnome-config not found

2008-07-14 Thread Nitin Jain
On Sun, Jul 13, 2008 at 9:50 AM, Nickolay V. Shmyrev <[EMAIL PROTECTED]> wrote: > > В Сбт, 12/07/2008 в 14:34 -0600, Nitin Jain пишет: >> On Fri, Jul 11, 2008 at 2:31 PM, Nickolay V. Shmyrev <[EMAIL PROTECTED]> >> wrote: >> > >> > В Птн, 11/07/2008 в 11:04 -0600, Nitin Jain пишет: >> >> Hi! >> >>

Re: gnome-config not found

2008-07-14 Thread Nitin Jain
2008/7/13 Rafał Mużyło <[EMAIL PROTECTED]>: > > Well, I would start with something like the attached configure.in, > but then the real porting will begin. > Among others, this program uses gtk_tree, which was not simply > deprecated, but marked as broken. You'll probably also need to > read a bit a

Re: gtk_widget_set_sensitive and mouse pointer

2008-07-14 Thread Eduardo M KALINOWSKI
Rui Tiago Cação Matos escreveu: On 14/07/2008, Eric Masson @ Savant Protection <[EMAIL PROTECTED]> wrote: The problem was this: You have several widgets inside of a container and you call gtk_widget_set_sensitive with false to gray out the container + all children. If you leave your mouse

Re: gtk_widget_set_sensitive and mouse pointer

2008-07-14 Thread Rui Tiago Cação Matos
On 14/07/2008, Eric Masson @ Savant Protection <[EMAIL PROTECTED]> wrote: > The problem was this: > You have several widgets inside of a container and you call > gtk_widget_set_sensitive with false to gray out the container + all > children. If you leave your mouse positioned over a button insid

Re: font size gtk_*_new_with_label

2008-07-14 Thread Luis Ariel Lecca
Hello Lars-Peter Clausen Tomas Carnecky and Garth's KidStuff Thank you for reply Tomas I cant use pango markup since Im using *_new_with_label(), but I'll considerate your advice for a future. I am using the Lars-Peter Clausen and Garth's KidStuff advice now... Thank you Garth's to provide me

gtk_widget_set_sensitive and mouse pointer

2008-07-14 Thread Eric Masson @ Savant Protection
Hi All, I had a small problem that was bugging me for a while, and I figured I'd share the results of my findings. The problem was this: You have several widgets inside of a container and you call gtk_widget_set_sensitive with false to gray out the container + all children. If you leave you

Re: tabbing through a treeview

2008-07-14 Thread dhk
Rui Tiago Cação Matos wrote: The attached example changes the selected line with just Tab. Rui It works great. I just added a few g_print()'s to see what's happening. Thanks, dave ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org htt

Re: font size gtk_*_new_with_label

2008-07-14 Thread Lars-Peter Clausen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luis Ariel Lecca schrieb: > Hi All ! I will appreciate very much any help :) > > I'm using > > gtk_widget_modify_font() and > > style = gtk_rc_style_new(); > pango_font_description_free( style->font_desc ); > style->font_desc = pfont; > gtk_widget_mod