Re: multiple GTKentry inside a GTKnotebook

2012-06-24 Thread Rudra Banerjee
Mariano, Thanks for your help. But this is not what I am looking for. What I want is I will choose the combobox entry and fill up the entry box data manually. Then if I click ok button, it will append an external file with those data. Please see the quoted reply I made in this thread to your

Re: multiple GTKentry inside a GTKnotebook

2012-06-23 Thread Rudra Banerjee
Friends, Plz show me how to do that. On Mon, 2012-06-18 at 23:28 +0530, Rudra Banerjee wrote: Friends, pasted is a minimal layout of my trial to create a bibliography maker. The problem is, in Authors tab inside notebook, I want to edit 3 more entry, as Editor an example. But its taking

Re: multiple GTKentry inside a GTKnotebook

2012-06-23 Thread Mariano Gaudix
Rudra can see the example . I uploaded a new code .downloads in .. MEDIAFIRE .. http://www.mediafire.com/?4l8qo1wtk35dcqb Rudra , let me know if you will download , the example. 2012/6/24 Rudra Banerjee bnrj.ru...@yahoo.com

multiple GTKentry inside a GTKnotebook

2012-06-22 Thread Rafał Mużyło
On Fri, Jun 22, 2012 at 10:58:39AM +0530, Rudra Banerjee wrote: 2012/6/20 Rudra Banerjee bnrj.ru...@yahoo.com Olivier, Thanks for your interest. Pasted just below is the complete code. What

Re: multiple GTKentry inside a GTKnotebook

2012-06-21 Thread Mariano Gaudix
How is the program you want to do? Can you explain? 2012/6/21 Rudra Banerjee bnrj.ru...@yahoo.com Thanks, but its not solving the main problem. / 2012/6/20 Rudra Banerjee bnrj.ru...@yahoo.com

Re: multiple GTKentry inside a GTKnotebook

2012-06-21 Thread Rudra Banerjee
By this code, what I want to achieve is that: After choosing book/loco/lardon etc as done by you, this will print the active_data in combobox and Entries in a file. So, if the combo entry is Book and entryAuth is MyAuthor entryEditor is MyEditor entryTitle is MyTitle and bibkey is Mybib then

Re: multiple GTKentry inside a GTKnotebook

2012-06-20 Thread Olivier Sessink
can you post a larger bit of the code? it is difficult to see what's going on. b.t.w. gtk_combo_box_new_text() is deprecated, use gtk_combo_box_text_new() Olivier 2012/6/20 Rudra Banerjee bnrj.ru...@yahoo.com: Thanks for your reply jjacky. This is a mistake; but does not changeing the result.

Re: multiple GTKentry inside a GTKnotebook

2012-06-20 Thread Rudra Banerjee
Olivier, Thanks for your interest. Pasted just below is the complete code. What I want to do with that is, as a raw commented snip by line number 106-116 that according to my selection of Book/Article in combobox, some entry will be hidden. But, for that, I need to get the data from the combo

Re: multiple GTKentry inside a GTKnotebook

2012-06-20 Thread Mariano Gaudix
I cleaned the code a bit watching the GTK API 3 http://developer.gnome.org/gtk3/3.0/GtkComboBoxText.html /***THE CODE/ #include gtk/gtk.h #include stdio.h #include string.h #include gdk/gdk.h GtkWidget *window; GtkWidget *vbox, *hbox, *combo; GtkWidget *vbox1, *hbox1, *combo1;

Re: multiple GTKentry inside a GTKnotebook

2012-06-20 Thread Rudra Banerjee
Thanks, but its not solving the main problem. / 2012/6/20 Rudra Banerjee bnrj.ru...@yahoo.com Olivier, Thanks for your interest. Pasted just below is the complete code.

Re: multiple GTKentry inside a GTKnotebook

2012-06-19 Thread Rudra Banerjee
Yeti, Thanks for your help. That is working now. I have one more problem. I need to take the data from the combo box. So after the combo box, I added the line: gchar *bibtype = gtk_combo_box_get_active_text(GTK_COMBO_BOX(widget)); fprintf(stdout, %s, bibtype); So, that part looks like combo

Re: multiple GTKentry inside a GTKnotebook

2012-06-19 Thread jjacky
On 06/19/12 21:43, Rudra Banerjee wrote: Yeti, Thanks for your help. That is working now. I have one more problem. I need to take the data from the combo box. So after the combo box, I added the line: gchar *bibtype = gtk_combo_box_get_active_text(GTK_COMBO_BOX(widget)); fprintf(stdout,

Re: multiple GTKentry inside a GTKnotebook

2012-06-19 Thread Rudra Banerjee
Thanks for your reply jjacky. This is a mistake; but does not changeing the result. On Tue, 2012-06-19 at 22:13 +0200, jjacky wrote: On 06/19/12 21:43, Rudra Banerjee wrote: Yeti, Thanks for your help. That is working now. it should probably be GTK_COMBO_BOX(combo), not GTK_COMBO_BOX(widget)

multiple GTKentry inside a GTKnotebook

2012-06-18 Thread Rudra Banerjee
Friends, pasted is a minimal layout of my trial to create a bibliography maker. The problem is, in Authors tab inside notebook, I want to edit 3 more entry, as Editor an example. But its taking only the first entry. Please show me where I am making the error. (NB. I am neither a C programmer nor

Re: multiple GTKentry inside a GTKnotebook

2012-06-18 Thread David Nečas
On Mon, Jun 18, 2012 at 11:28:48PM +0530, Rudra Banerjee wrote: pasted is a minimal layout of my trial to create a bibliography maker. The problem is, in Authors tab inside notebook, I want to edit 3 more entry, as Editor an example. But its taking only the first entry. Please show me where I