Re: How to set application icon

2006-11-23 Thread Carlo Agrusti
[EMAIL PROTECTED] ha scritto lo scorso 23/11/2006 12:25: > Hi, > > i guess this must be a faq, so shame on me. How do I set the application > icon (the little thingie some window managers show on the upper-left of > teh app windows and on a task bar when iconified?) > > I already do: > > gtk_w

Re: Glade GUI: changing mechanism

2006-10-31 Thread Carlo Agrusti
[EMAIL PROTECTED] ha scritto lo scorso 24/10/2006 14:44: > On Tue, Oct 24, 2006 at 02:39:32PM +0200, Philippe Bertin wrote: > > [...] > >>> Let me indeed do that. I wonder why nobody ever came up with the concern >>> I have; am I that much of a security freak ? > > FWIW, I'll miss the C code ge

Re: Recording widget motion

2006-09-07 Thread Carlo Agrusti
Samuel Cormier-Iijima ha scritto lo scorso 07/09/2006 05:02: > Hi everyone, > > I have a GtkAdjustment and HScale and I'd like to be able to record > and playback the user's movement. To clarify: a user should be able to > push a "record" button, after which he can drag the Scale widget > however

Re: gtk_button_set_label ERROR

2006-04-06 Thread Carlo Agrusti
3saul ha scritto lo scorso 06/04/2006 13:07: [...] > > I still get the same error. This thread has become a mad race of crazy messages; please, consider the following: 1. Quote properly when answering to a message 2. Subscribe to gtk-app-devel-list and use your preferred mail client, instead

Re: gtk_button_set_label ERROR

2006-04-06 Thread Carlo Agrusti
3saul ha scritto lo scorso 06/04/2006 12:45: [...] > gboolean Func_Get_Time_Date() > { > memset( x, '\0', 150 * sizeof *x ); I'm pretty sure there are better ways to treat a gchar array ;-) > char *p; > GtkWidget *button1 = 0; Here you are defining a (NULL) GtkWidget* > > >

Re: acces to a member of the principal widget

2006-03-28 Thread Carlo Agrusti
Jerome Le Saux ha scritto lo scorso 27/03/2006 18:02: > Hi, > I looked for days my error, and I found it ;). > > in a menu bar I add item. This item open an gtk_file_chooser_dialog. > In the callback of my main I give as argument the pointer of my mani widget > pWindow. > But how can I access to

Re: programming practices with regard to gtk and networking

2006-01-26 Thread Carlo Agrusti
Ken Nagorski ha scritto lo scorso 25/01/2006 19:23: > Hi there, > > I just started working with GTK. I have a some background with C which > means I can do OK but when it comes to working with the two together it > gets harder... > > My question is really this. I have a very simple IM program tha

Re: gtk embedded

2005-07-14 Thread Carlo Agrusti
Jirka Pirko ha scritto lo scorso 14/07/2005 06:39: hi i want to use gtk on intel xscale - is it better to use gtk on tinyx or a framebuffer (directfb) ? single graphical application is enought for me, so i can use framebuffer - but it's badly supported :/ thanx for any suggestions I thin

Re: GTK themes on windows

2005-06-20 Thread Carlo Agrusti
Deekshit M ha scritto lo scorso 19/06/2005 20:17: Hi all, I wanted to know how do I add a theme to the windows application, that I am am developing on windows. I could see that, when I change the theme using theme-selector applictaion, the theme for the GTK-demos get changed. But not for my ap

Re: gtkfilechooser buttons

2005-06-17 Thread Carlo Agrusti
Gyözö Both ha scritto lo scorso 17/06/2005 16:49: You can consider using a dinamically generated filechooser, instead of a statically generated one (i.e. that created by Glade) by means of gtk_file_chooser_dialog_new; in this way, you can select a GTK_FILE_CHOOSER_ACTION_OPEN behaviour or a GTK

Re: gtkfilechooser buttons

2005-06-17 Thread Carlo Agrusti
Gyözö Both ha scritto lo scorso 17/06/2005 09:15: hi, i've created a filechooserdialog with glade, the default mode is open. now i want to save files, too, so i create the window and set the mode to save. everything works fine, but the button that confirms things still reads 'open' (with the de

Re: Any way to disable window decorations (including "X" button)?

2005-06-08 Thread Carlo Agrusti
Paul Santa Maria ha scritto lo scorso 08/06/2005 19:09: Hi - I'm implementing a kiosk-style application in GTK+, and it's important to *disable* window resize, minimize, maximize, etc. Is there any way to simply remove window decorations (especially the "X" close button) from a GTK+ window? Th

Re: rubberbanding with GTK1* and GTK2*

2005-02-25 Thread Carlo Agrusti
kees ha scritto lo scorso 25/02/2005 12:45: Can anyone explain to me why the very small program beneath, demonstrating a very basic form of rubberbanding, works excellent while compiled with GTK1* but does not work correctly when compiled with GTK2*. [..] gint drawareacb(GtkWidget *widget, GdkEven

Re: Setting ComboBox Uneditable

2005-02-24 Thread Carlo Agrusti
Andy Grebe ha scritto lo scorso 22/02/2005 13:44: 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. GtkComboBox *does not* have an editable entry, so there is no need t

Re: A bug in Gtk+? (+ OT suff)

2005-02-23 Thread Carlo Agrusti
Zeeshan Ali ha scritto lo scorso 23/02/2005 10:31: [...] Yep, in a software of mine that is for ATM machines. You mean to ask why i am using both the GMainLoop and gtk_main* in the same software, right? At one hand i dont want to bring in gtk+ (glib only) into the card-reader interfacing module

Re: Glade and dialogs

2005-02-23 Thread Carlo Agrusti
[ A b h i s h e k ] ha scritto lo scorso 23/02/2005 06:55: 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