Re: RADiola, a GTK RAD tool

2006-07-14 Thread Santhosh
need some code which atleast has something in it... and it should convince the users to work on it... Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: RADiola, a GTK RAD tool

2006-07-12 Thread Santhosh
Why dont you host your project in http://sourceforge.net (any hosting site for that matter) and do frequent releases of your project...? Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: File Selector Filter, directory only

2006-06-30 Thread Santhosh
nome.org/doc/API/2.0/gtk/gtk-migrating-GtkFileChooser.html Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: File Selector Filter, directory only

2006-06-28 Thread Santhosh
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#gtk-file-chooser-set-action http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#GtkFileChooserAction The above URLs would be helpful... Regards, Santhosh. ___ gtk-app-devel-list

Re: Howto really debug gdk_x_error?

2006-04-20 Thread Santhosh
ut_fn(...) { other_call(); gtk_threads_enter(); my_gtk_call(); gtk_threads_leave(); } Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: callbacks: doing i/o bound stuff in them

2006-03-15 Thread Santhosh
t;preemption"? Gtk+ is preemptible but not thread safe... Gtk+ is not meant to be called simultaneouly from different threads... it doesn't internally protect its data structure... Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-ap

Re: callbacks: doing i/o bound stuff in them

2006-03-14 Thread Santhosh
sure that you give the control back to gtk as soon as possible so that it can process your gtk related operations... Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel

Re: GTK and KDE compatibility

2006-03-02 Thread Santhosh
doesn't work... BTW, does anybody knows that drag and drop works in windows(between apps)? Regards, Santhosh. ___ 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 know when user pushes Del key ?

2006-02-25 Thread Santhosh
ault handler(if there is any) for that key will not be called... You can also refer: http://cvs.sourceforge.net/viewcvs.py/eccvs/eccvs2/src/eccvs-browser.cpp?rev=1.5&view=markup and search for "key_press_event" Regards, Santhosh. ___ gtk-app-

Re: unresponsive when getting stdout via popen

2006-02-25 Thread Santhosh
The following url should help you... http://mail.gnome.org/archives/gtk-app-devel-list/2006-February/msg00266.html Gus has explained the concepts well... Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: GSList and g_filename_from_uri free memory problem

2006-02-23 Thread Santhosh
g_slist_free (Files_to_Add); // free the memory occupied by the list itself I hope this helps... Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk message dialog doesn't close

2006-02-22 Thread Santhosh
et explicitly (after getting the response) you can do like this: widget = create_message_box () gtk_dialod_run (widget) gtk_widget_destroy (widget) / See http://developer.gnome.org/doc/API/2.0/gtk/GtkDialog.html#gtk-dialog-run for more details.. Regards, Santhosh. ___

Re: Using: g_key_file_load_from_file() in homedir

2006-02-22 Thread Santhosh
I couldn't exactly recall the function... it could be "g_...get_homedir()" Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: signal passing

2005-05-23 Thread Santhosh
"activate", NULL); } Regards, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: X server problem

2005-05-05 Thread Santhosh
't know about Fedora Core 2 and Core 3. Thanks in advance, Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Lets Hack on - http://eccvs.sf.net ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: Pango dependencies

2005-04-20 Thread Santhosh
m or not. In my case I have simply set the PKG_CONFIG_PATH=/opt/gtk-2.6/lib/pkgconfig:/usr/lib/pkgconfig to overcome this problem. (I have installed gtk-2.6 in /opt/gtk-2.6). Regards, Santhosh. -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - http://eccvs.sf

Re: problems to make the datas appear in a TREE ...

2005-04-20 Thread Santhosh
sider posting the code? Regards, Santhosh. -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - http://eccvs.sf.net ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: problems to make the datas appear in a TREE ...

2005-04-18 Thread Santhosh
;iter); gtk_list_store_set (store, 0, (const char*)list->data, -1); } Sorry, if my inference is wrong. I have never used a GtkTreeStore. I assume that since the toplevel rows doesn't have any content, "you see no output". -- Santh

Re: async, watches and blocking/unblocking

2005-04-06 Thread Santhosh
Hi, Why don't you include the code... probably a part of it... Make sure you are not deadlocking (reading a pipe at both ends..) -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - http://eccvs.sf.net ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ ___ gt

Re: Compiling problem with first program in tutorial

2005-04-01 Thread Santhosh
ary(target of the symbolic link) is not truncated. I got similar kind of problems when compiled against a broken pango binary. I have recompiled and installed again to make it work... -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - ht

Re: change height of combo widget?

2005-04-01 Thread Santhosh
Hi, > > how do I change the height of a combo widget? > Is it a special case? Why don't you try gtk_widget_set_size_request (GTK_WIDGET (combo), -1, height)? [Have I misinterpreted your question?] -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - http:

Re: Problems with gtk_menu_popup

2005-03-26 Thread Santhosh
| | | | | | | | | +-+ | | | | | | | +-+ | | | +-+ +--+ | +---+ -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - http://eccvs.sf.net

Re: Problems with gtk_menu_popup

2005-03-26 Thread Santhosh
buttons (that you dynamically add), then you will receive no more events.. -- Santhosh. ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Project - http://eccvs.sf.net ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Problems with gtk_menu_popup

2005-03-26 Thread Santhosh
gtk_container_add (GTK_CONTAINER (window), vbox); gtk_widget_show (vbox); /* create event box and pack it in vbox */ ev_box = gtk_event_box_new (); gtk_container_add (GTK_CONTAINER (vbox), ev_box); gtk_widget_show_all (GTK_WIDGET (vbox)); /* connect the "event" to the Ev

Re: Problems with gtk_menu_popup

2005-03-26 Thread Santhosh
Hi, > > I'm sending my C file in the attachment > I didn't get it... Why don't you include the code inline in the mail... Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/

Re: Change color of widgets

2005-03-23 Thread Santhosh
e? Probably any (preferably small) project which uses this technique? Thanks, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How can we find whether a menu item was activated by Shift+Click?

2005-03-19 Thread Santhosh
On Sat, 19 Mar 2005 13:20:27 +, John Cupitt <[EMAIL PROTECTED]> wrote: > Hi, > > On Fri, 18 Mar 2005 19:02:34 +0530, Santhosh <[EMAIL PROTECTED]> wrote: > > In my application, I want to differentiate between Shift+Click and > > Click of a menuitem. The menui

Re: How can we find whether a menu item was activated by Shift+Click?

2005-03-18 Thread Santhosh
tions right now. As of now, I am going to use this solution. If anybody have different and easy way of doing this, please let me know. Thanks. Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinf

Re: Toolbar style

2005-03-18 Thread Santhosh
have installed gtk+-2.6.4 in a different location. The following link may help you... http://eccvs.sourceforge.net/install.html#gtk5 Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How can we find whether a menu item was activated by Shift+Click?

2005-03-18 Thread Santhosh
le to proceed with this.. I can not use "button_press_event"... Is there any way? Please help me.. Thanks, Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkIconView DnD problem

2005-03-17 Thread Santhosh
cgi?id=150270 Santhosh. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkIconView set_item_width question

2005-03-14 Thread Santhosh
m->layout_height = layout_height; - padding = 2 * (ICON_TEXT_PADDING + focus_width + focus_pad); } else { Now, all the items will take same amount of width. I propose the default width to be around 100 (it will be helpful for those who doesn't bother to set the item width). S

Re: GtkIconView set_item_width question

2005-03-12 Thread Santhosh
Probably you can reopen the bug (if you wish). > > How can you see some icon (like Duel) take 2 much space...I can't find why. > It is the problem that still exists in the fixed version of gtk+. I believe it is the problem with the algorithm which layouts the icons i

Re: gnome_execute

2005-03-11 Thread Santhosh
Hi Danilo, I believe that the following link may help you... http://fedora.redhat.com/participate/developers-guide/ch-console-access.html [I haven't even tried it... but I find some relavance] Santhosh.. ___ gtk-app-devel-list mailing lis

Re: gtk-entry pointer problem

2005-03-11 Thread Santhosh
> Try to chage: > gtk_entry_get_text(GTK_ENTRY (widget)) > .. with ... > gtk_editable_get_chars(GTK_EDITABLE(widget), 0, -1) > You can also use... picture->path = g_strdup (gtk_entry_get_text (GTK_ENTRY (widget)); [gtk_entry_get_text (..) returns the address of statically allocated

Re: GtkIconView set_item_width question

2005-03-11 Thread Santhosh
ecente documentation on this widget... Why don't you try http://eccvs.sourceforge.net This project uses GtkIconView widget... Include sample source code so that we can get what you are asking for... Santhosh. ___ gtk-app-devel-list mailing list

how to add accelerator for GtkToolItem descendents?

2005-03-02 Thread santhosh
Hi, I have just used the following code to add accelerator to a GtkToolButton. gdk_accelerator_parse ("O", &keyval, &mod_type); if (keyval) gtk_widget_add_accelerator (my_tool_button, "activate", accel_group, keyval, mod_type, 0); ... When I run the program, I get the following warning a