Re: Newbie help: How to put a .png icon in a toolbar button ??

2002-12-12 Thread Alfredo P. Ricafort
Hi, Let my reply to my own post. Changing the alpha_threshold to its highest value seems to do job. AL On Thu, 2002-12-12 at 15:32, Alfredo P. Ricafort wrote: > Hi, > > I need some advice here as I'm terribly new to GTK+ programming(Gtk+ > 1.2). > > I am trying to create toolbar buttons wit

MDI In Gtk

2002-12-12 Thread jdomin_2002
I´m looking for a widget implementation of MDI for GTK. I´m just find a tiny implementation that support all widgets but windows. I need a widget that support a real GtkWindow not other generic widgets because of permit that my old code more reusable (I have some forms in my application and I w

libX11 problem when compile gtk+

2002-12-12 Thread Xiong Feng
Hi,     When I let run the gtk configure script, I get the following error: configure:error:xxx libx11 not found. Check 'config.log' for more details.     The logfile does not show the source of the problem. Perhaps somebody know a solution. Please inform me if you know. Thanks a

Re: How to identify a particular checkbutton ?

2002-12-12 Thread Flavio Alberto Lopes Soares
Hi all, In file interface.c (generated by Glade) : gtk_signal_connect (GTK_OBJECT (checkbutton_ponto09_20), "toggled", GTK_SIGNAL_FUNC (on_checkbutton_ponto_toggled), &ponto_data); and the callback function : void on_checkbutton_ponto_toggled

GtktreeView and drag and drop / style property

2002-12-12 Thread Mohamed Elassadi
Hi all   I have 2 question Any one know how to change the property SHADOW_TYPE of the GtkToolbar widget ?? Using g_object_set() is not working .!!   Second I m looking for a peace of code handling drag and drop between 2 treeviews , since The treeview are only receiving the drag d

Re: MDI In Gtk

2002-12-12 Thread John . Cupitt
Hi, I think the best available is gnome-mdi http://developer.gnome.org/arch/widgets/mdi.html The problem is that there's no standard window look and feel, it varies with the user's environment. What would your app look like if a KDE user ran it, for example? Plus many people dislike MDI, so

Re: How to identify a particular checkbutton ?

2002-12-12 Thread Paul Davis
> gtk_signal_connect (GTK_OBJECT (checkbutton_ponto09_20), "toggled", > GTK_SIGNAL_FUNC (on_checkbutton_ponto_toggled), > &ponto_data); > > >and the callback function : > >void >on_checkbutton_ponto_toggled (GtkToggleButton *togglebutton, >

Re: GTK/GNOME PRGRAMMING BOOK BY Peter Wright

2002-12-12 Thread Sean Scanlon
Richard, If you look at the "File Dialog OK Handler" section, function FileDlgOK you should see a "gchar * SelectedFile;" This pointer gives you access to the file name selected with the dialog. As written, the filename is lost at the end of the FileDlgOK function. The simplest way to return th

Gtk2 and XFree86-cvs

2002-12-12 Thread Louis Garcia
I needed to upgrade to cvs xfree86 for some hardware support so I installed XFree86-4.2.99.2 on my rh8 box. Now gnome2 fonts don't look as bold as they did with X that came with rh8. I've tried playing with the capplets for font control but nothing. Any suggestions? Thanks ___

Re: Loading JPGs

2002-12-12 Thread Diego Zuccato
"James M. Cape" wrote: > You can load the image with GdkPixbuf, then render it as a > GnomeCanvasPixbuf. The points can be rendered using other items. Tks. Did it. It works well... as long as I haven't to remove from the canvas an item. I couldn't find any method. Following hierarchy, I saw that a