Re: GTK Progress bar: assistance pls.

2008-01-07 Thread carlo
[EMAIL PROTECTED] ha scritto lo scorso 07/01/2008 08:34: > > Hey Bin Chen[or how do I call you :-)], > > First of all, thank you very much for your instant reply. > > Let me give a simple pseudo-code explaining my problem. Please see what I > can do with this. > > Program Goal: Do work w1 "iter

Re: libglade problems under win32 - SOLVED

2007-09-03 Thread carlo
carlo ha scritto lo scorso 31/08/2007 12:19: [...] > > 1. a lot of: libglade-WARNING **: unknown widget class ... ...solved by a clean development environment (downloaded from gladewin32.sf.net) > 2. a lot of: libglade-WARNING **: could not find signal handler ... ... solved

libglade problems under win32

2007-08-31 Thread carlo
solve the signal handler warning under Linux, by means of -export-dynamic linker flags, but I have no idea on how to solve above issues under win32. Any clue? TIA, Carlo ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.o

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
omuni/GTK/2.0/share/themes/dark_outworld/gtk-2.0/gtkrc" (in this case the theme is "Dark Outworld") and name it .gtkrc-2.0 Of course, gtk applications that parse their own theme will not be affected by your global theme setting. Cheers, Carlo ___

Re: gtkfilechooser buttons

2005-06-17 Thread Carlo Agrusti
NULL); Cheers, Carlo ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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: Progress bars and syscalls

2005-04-18 Thread Carlo
Aristidas Vilkaitis ha scritto lo scorso 18/04/2005 12:51: Hello, Since i'm quite new to both C and Gtk, i met a problem which i am not able to solve. The base of the problem is that i have a task, which should fetch several files from the internet. When a button is pressed, a new window w

Re: GtkTreeView data

2005-04-14 Thread Carlo
Kris Marsh ha scritto lo scorso 14/04/2005 19:23: Hi, I'm trying to attach extra information to each row in a list, and then retrieve it later on from a row on a double click (row_activated) event. Basically, i've tried: g_object_set_data(G_OBJECT(&iter_child), "my_info", GUINT_TO_POINTER(some_

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

Re: Window shape and back_pixmap

2005-02-18 Thread Carlo
have no way of knowing if it will work on Windows though. On Fri, 2005-02-18 at 05:32, Carlo wrote: In order to see what were happening, I tried to hook the window expose event: gboolean on_winmain_expose_event (GtkWidget * widget, GdkEven

Window shape and back_pixmap

2005-02-18 Thread Carlo
* con una forma non rettangolare */ pbuf = gdk_pixbuf_new_from_file ("/home/carlo/Projects/shape/sfondo.png", NULL); gdk_pixbuf_render_pixmap_and_mask (pbuf, &map, &mask, 1); gdk_window_shape_combine_mask (winmain->window, mask, 0, 0); gdk_wi

Re: how to programmatically set colors of a GtkTextView

2005-02-12 Thread Carlo
uffer_insert_with_tags_by_name (text_buffer, & here, buffer, -1, "text", NULL); HTH, Carlo ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list