GtkCombo events

2009-05-28 Thread frederico schardong
Hi, I search, but not find the answer of my question.. What event is going on when the string selected of a GtkCombo is chenged? -- Abraço, Frederico Schardong, SOLIS - O lado livre da tecnologia www.solis.coop.br ___ gtk-app-devel-list mailing list

method to erase a drawing area

2009-04-17 Thread frederico schardong
Hi, I have a drawing area, and a window with 2 gtk_range, and them variable form 1 to 10, and this values go to posH and posV. I'm doing this to can draw a rectangular with my specification.. max width: 10, min: 1, max henght:10, min: 1. This event is called when drawing area is clicked: static

drawing area and GPtrArray illogical error

2009-03-21 Thread frederico schardong
w the callback expose_event is called and shows its g_print. The only difference between both g_print is the first word, in other words, o parray is correct and the points should be drawned in the drawing area. But that isn't happening. Does anyone have an idea about it? Thanks -- Abraço, F

GPtrArray

2009-03-21 Thread frederico schardong
his messages are showed: (main:10566): Gdk-CRITICAL **: gdk_window_clear: assertion `window != NULL' failed (main:10566): GLib-CRITICAL **: g_ptr_array_remove_range: assertion `index_ < array->len' failed What's happen? The callbacks button_press and expose_event are working fin

Re: newbie question

2009-03-11 Thread frederico schardong
>void my_callback_function (GtkButton *widget, gpointer user_ptr); > >... > >g_signal_connect( G_OBJECT( widget), "clicked", > G_CALLBACK( my_callback_function), user_ptr ); > > >void my_callback_function (GtkButton *widget, gpointer user_ptr) { > > ... >} > > >http://library.gnome.org/

newbie question

2009-03-10 Thread frederico schardong
utton press action to this function? Thank's -- Abraço, Frederico Schardong, SOLIS, o lado livre da tecnologia ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

program to desing a simple things

2009-02-28 Thread frederico schardong
Hi, I need a simple example of a program to desing a simple lines and geometrics forms.. just in gray scale, anybody haave something like that? -- Thanks, Frederico Schardong, SOLIS, o lado livre da tecnologia ___ gtk-app-devel-list mailing list gtk

how to get a selected filter to save

2009-02-17 Thread frederico schardong
Hello, I need to get the filter selected by user on a saving file chooser. How I do It?? Thanks! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: how to get a selected filter to save

2009-02-16 Thread frederico schardong
2009/2/12 frederico schardong : > Hello, > > I need to get the filter selected by user on a saving file chooser. > > How I do It?? > > Thanks! > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.

how to get a selected filter to save

2009-02-12 Thread frederico schardong
Hello, I need to get the filter selected by user on a saving file chooser. How I do It?? Thanks! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkImage

2009-01-29 Thread frederico schardong
; Btw, please keep CC:ing the mailing list, as there might be others with > similar questions. > > Regards, > Dov > > 2009/1/29 frederico schardong >> >> Hi, >> >> But I must resize the image to the size of space of GtkImagem on .glade.. >> >> how I

jpeg to bmp with pixbuf

2009-01-28 Thread frederico schardong
Hello, How I can transform a jpeg imagem to bitmap format using pixbuf? It's possible?? Thank you! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GtkImage

2009-01-27 Thread frederico schardong
Hello, I was created a space for image on glade-3, and I'm trying to link some imagem to this space. GtkWidget space; space = gtk_image_new_from_file("image.bmp"); only this? the image will rezise itself to the space dimensions? ___ gtk-app-devel-lis

compile 2 libs together

2009-01-20 Thread frederico schardong
Hi, when I'm using allegro, this line is to compile it: gcc -o main main.c `allegro-config --libs` and when I'm using libglade, this line is used: gcc -o main main.c `pkg-config --cflags --libs libglade-2.0` But now I must use allegro and libglade together. How I can compile this together? Tha

GtkFileChooser and filter example

2009-01-17 Thread frederico schardong
Somebody can send me a simples example using GtkFileChooser and filter*? Thank you * ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

ALLEGRO and GTK

2009-01-16 Thread frederico schardong
It's possible? How I will compile this?? Thank you! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

some erros

2009-01-15 Thread frederico schardong
Hi, anybody can help me to resolve this? GtkFileFilter *filtro; GtkWidget *chooser; //GtkFileChooser *chooser; gtk_file_filter_set_name(filtro,"bmp"); chooser = gtk_file_chooser_dialog_new ("Open File", parent_window, GTK_FILE_CHOOSER_ACTION_OPEN,

example of gdk_pixbuf_new_from_file

2008-12-23 Thread frederico schardong
Hello, Anybody have any example of gdk_pixbuf_new_from_file? Or any tutorial about starting with the gdk-pixbuf library? Thankyou ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gdk-pixbuf

2008-12-18 Thread frederico schardong
I need some API, which has the power to transform any RGB image to grayscale (8-bit) and I can map the image, creating a vast array[height in pixels][width in pixels] in which each cell has a value from 0 to 255, corresponding to the values of the pixels. With gdk-pixbuf can I do that? __

gdk-pixbuf

2008-12-18 Thread frederico schardong
I need some API, which has the power to transform any RGB image to grayscale (8-bit) and I can map the image, creating a vast array[height in pixels][width in pixels] in which each cell has a value from 0 to 255, corresponding to the values of the pixels. With gdk-pixbuf can I do that? __

gint on gtk_entry_set_text

2008-12-17 Thread frederico schardong
Please look: gint dado; dado = inb(0x37A); gtk_entry_set_text(GTK_ENTRY(entry2),dado); Whow I can show gint in my entry2? Tanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-ap