Re: multiple GTKentry inside a GTKnotebook
- From: Rudra Banerjee <bnrj rudra yahoo com>
- To: gtk devel <gtk-app-devel-list gnome org>
- Subject: Re: multiple GTKentry inside a GTKnotebook
- Date: Wed, 20 Jun 2012 01:13:32 +0530
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 = gtk_combo_box_new_text();
gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Book");
gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "Article");
gtk_box_pack_start(GTK_BOX(vbox), combo, TRUE, TRUE, 0);
gtk_widget_show(combo);
gchar *bibtype = gtk_combo_box_get_active_text
(GTK_COMBO_BOX(widget));
fprintf(stdout, "%s", bibtype);
which is giving error. I am trying hard via tutorials in web from
yesterday. Please help.
On Mon, 2012-06-18 at 20:35 +0200, David NeÄas wrote:
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 am making the error.
GtkFrame is a GtkBin which means it can contain a single widget. If you
want more you need to use packing container (GtkTable, GtkVBox, GtkGrid,
...), put it to the frame and then pack widgets to this contaner.
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]