Re: Where is GdkWindow defined

2008-12-23 Thread Alexander Semenov
Alexander Semenov wrote: Jean Bréfort wrote: gdk/gdktypes.h:108:typedef struct _GdkDrawable GdkWindow; Regards, Jean Le lundi 22 décembre 2008 à 13:40 -0500, Jamie Kao a écrit : Hello, this is the first time I use the mailing list, so i'm not sure if this is the place to as

Re: Where is GdkWindow defined

2008-12-23 Thread Alexander Semenov
Jean Bréfort wrote: gdk/gdktypes.h:108:typedef struct _GdkDrawable GdkWindow; Regards, Jean Le lundi 22 décembre 2008 à 13:40 -0500, Jamie Kao a écrit : Hello, this is the first time I use the mailing list, so i'm not sure if this is the place to ask for this kind of help, or am

Re: Questions about the "file-system-backend" parameter in GtkFileChooser

2008-12-19 Thread Alexander Semenov
andy.wang0804 wrote: Recently, I start to learn GTK+. I have seen a code block : dialog = g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG, "action", action, "file-system-backend", "gtk+", "select-multiple", multiple,

Re: Default text

2008-11-19 Thread Alexander Semenov
Demetris Zavorotnichenko wrote: Hi everyone. How can I make a text field Widget be the default one when I start my application? (So that the cursor is already located there and ready for typing) ___ gtk-list mailing list gtk-list@gnome.org http://mail

Re: Flash and GTK

2008-11-11 Thread Alexander Semenov
Roei Azachi wrote: Hi, I need to play a flash file in my gtk application. is it possible? if so can someone give me a code example. Thanks, Roei ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list Hi. You can

Re: Gtk and SVG files

2008-11-10 Thread Alexander Semenov
Alexander Semenov wrote: Roei Azachi wrote: Hi, I would like to use SVG image files in my application. I tried to use GtkImage with one of my files but it does not show anything. I would also want to use Animated SVG files, is it possible? Any Idea? Thanks, Roei

Re: Gtk and SVG files

2008-11-10 Thread Alexander Semenov
Roei Azachi wrote: Hi, I would like to use SVG image files in my application. I tried to use GtkImage with one of my files but it does not show anything. I would also want to use Animated SVG files, is it possible? Any Idea? Thanks, Roei ___ gtk-list

Re: cairo drawing

2008-09-24 Thread Alexander Semenov
Luiz Rafael Culik Guimaraes wrote: Hello friends I need to draw an cairo rectangle on an gtk app. does this rectangle can be draw inside an gtk_drawing_area_new() widget? Regards Luiz ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.o

g_file_get_parent () question

2008-04-15 Thread Alexander Semenov
Hi all. Documentation for g_file_get_parent () does not say should I free the resulting GFile when it's no longer needed or not. So, I should? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GtkCombobox

2008-04-10 Thread Alexander Semenov
Hi. You can do something like this. #include int main (int argc, char *argv[]) { GtkWidget *window, *combo; GtkTreeModel *model; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); combo = gtk_combo_box_new_text (); gtk_combo_box_append_text (GTK_COMBO_BOX (comb

Re: leave_notify after click

2008-04-08 Thread Alexander Semenov
So, perhaps you should update your GTK+ installation. Also, you can investigate the GTK+ changelog to find where your problem has been fixed. On Tue, 2008-04-08 at 10:41 +0200, Thorsten Wilms wrote: > On Mon, 2008-04-07 at 23:21 +0300, Alexander Semenov wrote: > > Hi, Wilms. The fo

Re: leave_notify after click

2008-04-07 Thread Alexander Semenov
Hi, Wilms. The following C program works as expected: #include int main (int argc, char *argv[]) { GtkWidget *window, *darea; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (gtk_main_quit), NULL);