GtkCellRendererToggle not responding to clicks?

2005-06-10 Thread Alem Dain
Hi all. It would seem that the little toggle button in my GtkTreeView doesn't respond to being clicked on, as in, it doesn't change state, and no callback is called... back. I have a tree store with three columns, the third of which is of type G_TYPE_BOOLEAN. The view is called "keyboards_view",

Re:Removing widgets from VBox.

2005-06-10 Thread Muthiah Annamalai
Hello. Correction to the actual code to remove widgets from a VBOX. I wont recommend 'creating' new widgets for the case of TIME consumption, speed & resources. However, it might be easy to program... ;-) This kinda' works. -Muthus P.s: I missent this.. ;0 sorry for breaking the thread. P.P.s: t

Re: Typing Right-To-Left language characters in GtkEntry

2005-06-10 Thread Mohammed Sameer
On Thu, Jun 09, 2005 at 12:29:02PM +0530, Gaurav Jain wrote: > Yes, this time it worked! In fact even without setting the font to > the Code2000 font for the GtkEntry, I'm able to type Arabic text into > the entry. Thanks so much for your help! > > One think I still wish to know is why I'm unabl

GLib 2.6.5 released

2005-06-10 Thread Matthias Clasen
GLib 2.6.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.6/ glib-2.6.5.tar.bz2 md5sum: 777d2e34a60edad28319207b576cda91 glib-2.6.5.tar.gzmd5sum: 90af9fc0425c1737166f3e75e42154c2 This is a bug fix release and is source and binary compatible with 2.6.0. GLib is the low-lev

Re: trouble subclassing GtkScrolledWindow

2005-06-10 Thread Alan M. Evans
*sigh* On Wed, 2005-06-08 at 11:30, Alan M. Evans wrote: > Hiya! > > See: > http://mail.gnome.org/archives/gtk-app-devel-list/2003-June/msg00146.html > and > http://mail.gnome.org/archives/gtk-app-devel-list/2004-March/msg00279.html > > There's really not much more to say inasmuch as my problem

Re: Gtk Standard arguments

2005-06-10 Thread Matthias Clasen
On Fri, 2005-06-10 at 16:52 +0200, Daniel Pekelharing wrote: > Hi all, > > Where can I get information on all the standard gtk arguments that are > passed in gtk_init? > > I'm trying to run my app on a remote display, I use the --display > argument, but it crashes reporting: Xlib: No protocol spe

GLib 2.7.0 released

2005-06-10 Thread Matthias Clasen
GLib-2.7.0 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.7/ glib-2.7.0.tar.bz2 md5sum: 01c06e9b7d9e6f7398b32cc2fa2b7a88 glib-2.7.0.tar.gz md5sum: f6df61db533a1307c7ce6c664b245fe9 This is the first development release leading up to GLib-2.8. Notes: * This is un

What have I now done?

2005-06-10 Thread Tor Lillqvist
Alf Stockton writes: > Help . what have I done wrong ? Hard to say. That error usually occurs if there is a problem with the font the app tries to use. What font is it that you are trying to use? Do you use the ms-windows theme engine? --tml ___ g

What have I now done?

2005-06-10 Thread Alf Stockton
The error I am getting from a program I wrote on Windows for Windows reads:- Pango-ERROR**:file shape.c: line 75(pango-shape) assertion failed: (glyphs->num_glyphs > 0) aborting Help . what have I done wrong ? -- --- Regards, Alf Stocktonwww.stockton.co.za You've been leading a dog'

Re: Newbie problems with gtk GtkFileSelection

2005-06-10 Thread Muthiah Annamalai
Hello there! --- Robert Ramiega <[EMAIL PROTECTED]> wrote: [snip] > User is supposed to pick either existing file (that > will be either > overwriten or appended to) or enter name of file to I think you better use GtkFileChooser dialog, from gtkfilechooser.h & gtkfilechooserdialog.h. File sele

Gtk Standard arguments

2005-06-10 Thread Daniel Pekelharing
Hi all, Where can I get information on all the standard gtk arguments that are passed in gtk_init? I'm trying to run my app on a remote display, I use the --display argument, but it crashes reporting: Xlib: No protocol specified Is there a standard arg for this? Thanks -- Daniel Pekelharing __

mouse motion events after pointer reached screen border

2005-06-10 Thread David Siegel
Hi, I want to pan a bitmap in a drawing area. But I don't want the maximum pan distance to be limited by the screen size. Is there any way to make GTK emit mouse motion events after the pointer reached the screen border? Thanks for your help, d ___

applets and gtk html

2005-06-10 Thread Mohit Gogia
i have two questions 1. i am making a panel applet and i want to show a gtk window at the postion of the applet in the panel.is there any way that i can get applets coordinates so that i can use gtk_window_set_uposition function? 2. i am also using html_view from gtkhtml library to display html i

Re: Removin all Widgets from a VBox

2005-06-10 Thread Antonio Gomes
Hi, You could consider the possibility of use gtk_notebook and "tab", instead destroy and recreate widgets with no needs ;) regards On 6/8/05, Peter Bloomfield <[EMAIL PROTECTED]> wrote: > On 06/08/2005 08:13:53 AM Wed, Muthiah Annamalai wrote: > > Hi! > > > > I think Ive a solution to what your

Re: Dependency Walker & my application

2005-06-10 Thread Alf C Stockton
On Fri, 10 Jun 2005, Tor Lillqvist wrote: Alf C Stockton writes: > I have searched through my code for g_module_open and > gtk_rc_reset_styles and found nothing there so I searched the dlls > and found g_module_open occurs in libgdk_pixbuf-2.0-0.dll, > libgmodule-2.0-0.dll and libpango-1.0-0.dll

Re: APIS for Themes

2005-06-10 Thread Neelesh Bodas
Hi, Thanks for the reply. I was able to know quite a valuable information regarding gtkstyles. However, what I also need is the API's to query the current active theme. Suppose I have my own implementation of a radio button. I want to set its properties (color, size etc) so that it appears like a n

Re: Dependency Walker & my application

2005-06-10 Thread Tor Lillqvist
Alf C Stockton writes: > I have searched through my code for g_module_open and > gtk_rc_reset_styles and found nothing there so I searched the dlls > and found g_module_open occurs in libgdk_pixbuf-2.0-0.dll, > libgmodule-2.0-0.dll and libpango-1.0-0.dll. Sure, but none of these cases is looki

Re: Dependency Walker & my application

2005-06-10 Thread Alf C Stockton
On Fri, 10 Jun 2005, Tor Lillqvist wrote: Alf C Stockton writes: > When profiling my application in Dependency Walker 2.1 on Windows I get the > following lines appearing in red. > Is this a problem with my code ? > GetProcAddress(0x7C90 [NTDLL.DLL], "gtk_rc_reset_styles") > GetProcAddress(

Dependency Walker & my application

2005-06-10 Thread Tor Lillqvist
Alf C Stockton writes: > When profiling my application in Dependency Walker 2.1 on Windows I get the > following lines appearing in red. > Is this a problem with my code ? > GetProcAddress(0x7C90 [NTDLL.DLL], "gtk_rc_reset_styles") > GetProcAddress(0x7C80 [KERNEL32.DLL], "gtk_rc_rese

Re: APIS for Themes

2005-06-10 Thread Gus Koppel
Neelesh Bodas wrote: > I wanted to know exact APIs for getting various theme aspects like > background color of tooltip, menubar, toolbar etc etc. Can sombody > give me any hint regarding which APIs can be used? For the APIs to be used, see reference links at: http://developer.gnome.org/arch/gtk/

Dependency Walker & my application

2005-06-10 Thread Alf C Stockton
When profiling my application in Dependency Walker 2.1 on Windows I get the following lines appearing in red. Is this a problem with my code ? GetProcAddress(0x7C90 [NTDLL.DLL], "gtk_rc_reset_styles") called from "LIBGMODULE-2.0-0.DLL" at address 0x0062161C and returned NULL. Error: The spe

Re: libglade: glade_xml_get_widget

2005-06-10 Thread Gus Koppel
y g wrote: > I am trying to convert an application code which was produced with > glade's code autogenerator to using libglade. But I firslty need one > thing. Is there a replacement function for the lookup_widget? > glade_xml_get_widget seemed to be the one but it does not work in any > of my cal

Re: advice on coding techniques

2005-06-10 Thread Gus Koppel
y g <[EMAIL PROTECTED]> wrote: > I am asking for advice on coding techniques using gtk and libglade. Is > it better to have each window as a seperate glade xml file or code > them directly to gtk? And mix up of the two should be avoided or it > does not have any side effects? Larger Glade XML fil

Newbie problems with gtk GtkFileSelection

2005-06-10 Thread Robert Ramiega
Hi! I've just subscribed to this ML but for last two days i've been browsing ML archives to no avail. Here is the problem: I've created button that in a callback launches GtkFileSelection: browser = gtk_file_selection_new("Select file"); gtk_file_selection_set_filename(GTK_FILE_SELECTION(brow

APIS for Themes

2005-06-10 Thread Neelesh Bodas
Hello, I wanted to know exact APIs for getting various theme aspects like background color of tooltip, menubar, toolbar etc etc. Can sombody give me any hint regarding which APIs can be used? Thanks in advance Neelesh ___ gtk-app-devel-list mailing list

advice on coding techniques

2005-06-10 Thread y g
Hello, I am asking for advice on coding techniques using gtk and libglade. Is it better to have each window as a seperate glade xml file or code them directly to gtk? And mix up of the two should be avoided or it does not have any side effects? Cheers _

Re: documentation on lookup_widget (was: gtk-app-devel-list Digest, Vol 14, Issue 10)

2005-06-10 Thread Gus Koppel
Alf Stockton wrote: > Where can I find documentation on lookup-widget. I have looked through > the documentation I have on GTK+ and cannot find any reference. lookup_widget () is a Glade specific function. I don't think there is any reference documentation of it anywhere. However, I wrote a pret