Glade and dialogs

2005-02-22 Thread [ A b h i s h e k ]
hey guys, i am using Glade 2.0 in which i have created a Gnome window as well as a Gnome dialog box. So now when i click on some menu option i would like to display this dialog box. I dont know how to implement this without getting into the hassle of global variables and all. And also when i do

Re: Auto Scrolling Text

2005-02-22 Thread Maciej Katafiasz
Dnia 22-02-2005, wto o godzinie 12:47 +, Andrew Gatt napisaƂ: > Does anyone know how to create a text widget, that if > you set text wider than the widget it will > automatically scroll the text held in the buffer? Or > point me in the right direction of an example? Check out Gnu Gadu (http://

gtkrc

2005-02-22 Thread andrew gatt
Hi all, I'm desperately trying to implement a set of buttons in a gtkrc file which has one button picture for when it has focus, one normal and one when it is active - to simulate a visual keypress. I have this in my gtkrc: style "pause_button" { GtkWidget::focus_padding = 0 GtkWidget::fo

Re: A bug in Gtk+?

2005-02-22 Thread Zeeshan Ali
Hello, On Tue, 22 Feb 2005 15:22:50 +0100, Stefan Kost <[EMAIL PROTECTED]> wrote: > Are you sure? Yeah I am sure and thats why i suspect that it may be pointing to a bug in gtk+. Why don't you try it youself? Shouldn't take > 15 mins. :) ___ gtk-

Re: Simple GtkRange Problem

2005-02-22 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Breland <[EMAIL PROTECTED]> writes: > I must be missing something very obvious, but for the life of me I can't > find it. I'm using a GtkVscale widget with FC2 GTK2.4 like so: > > control = gtk_vscale_new(NULL); > gtk_scale_set_digits(GTK_SCALE(

Re: Does gtk have classes to read/write conf file?

2005-02-22 Thread David Necas (Yeti)
On Tue, Feb 22, 2005 at 11:10:30PM +0800, Edward Yang wrote: > > It seems good. But gcc complains that GKeyFile not declared. I have #included > as the doc says. It's a new 2.6 feature, so you probably have an old GLib. Yeti -- A: Because it messes up the order in which people normally read t

Re: Does gtk have classes to read/write conf file?

2005-02-22 Thread Edward Yang
David Necas (Yeti) wrote: On Tue, Feb 22, 2005 at 10:18:52PM +0800, Edward Yang wrote: On Windows platform, there is a type of file called INI file (initialization file) that is very similar with conf file; INI file has sections. I want to know if there are also classes/APIs to manipulate INI

Re: Does gtk have classes to read/write conf file?

2005-02-22 Thread David Necas (Yeti)
On Tue, Feb 22, 2005 at 10:18:52PM +0800, Edward Yang wrote: > On Windows platform, there is a type of file called INI file > (initialization file) that is very similar with conf file; INI file has > sections. I want to know if there are also classes/APIs to manipulate > INI-like file. Yes, the

Re: A bug in Gtk+?

2005-02-22 Thread Stefan Kost
Are you sure? gdk_threads_init is just: if (!g_thread_supported ()) g_error ("g_thread_init() must be called before gdk_threads_init()"); gdk_threads_mutex = g_mutex_new (); if (!gdk_threads_lock) gdk_threads_lock = gdk_threads_impl_lock; if (!gdk_threads_unlock) gdk_threads_unlock = g

Does gtk have classes to read/write conf file?

2005-02-22 Thread Edward Yang
I am very new to gtk programming and, linux programming. I want to know if there are classes in gtk that can read/write conf files? On Windows platform, there is a type of file called INI file (initialization file) that is very similar with conf file; INI file has sections. I want to know if th

Setting ComboBox Uneditable

2005-02-22 Thread Andy Grebe
Hi, I'm trying to make the combo box uneditable. It looks like it would have a GtkEntry as part of the struct, but I can't seem to find it in the header to set that uneditable. Thanks, Andy Grebe ___ gtk-app-devel-list mailing list gtk-app-devel-

Re: Inside GtkComboBoxEntry?

2005-02-22 Thread Antonio Gomes
Hello Zeeshan, If you want, I work in a group the did implement an gtk application the change themes: ** Manaos Browser Interface - Gecko Engine MANaOS Browser Interface, it's an open source browser interface application for web navigation/accessing on the internet. MANaOS Browser Interface

Auto Scrolling Text

2005-02-22 Thread Andrew Gatt
Hi, Does anyone know how to create a text widget, that if you set text wider than the widget it will automatically scroll the text held in the buffer? Or point me in the right direction of an example? Thanks Andrew ___ gtk-app-devel-list mailing list gt

Re: A bug in Gtk+?

2005-02-22 Thread Zeeshan Ali
Hello, Hmm.. I thought that email with attachments goes through the moderation. Anyway, I have uploaded it here: http://www.geocities.com/zeelists/thread-problem.c . Kindly have a look at it. Thanks. ___ gtk-app-devel-list mailing list gtk-app-devel-l

Re: A bug in Gtk+?

2005-02-22 Thread Stefan Kost
Hi Ali, your attachment seems missing. Can you put it on a webserver and post the link? Stefan Hello, In a gtk+ app of mine, i was facing strange dead-locks problems. I was astonished to see that just removing the call to gdk_threads_init, the problems vanished. I am attaching a sample test prog