Re: plz see to this



I do have work to do you know ;)

        I'm not sure you understand. I'm
niether a maintainer of gtk+ libs or a
customer support employee.

You might want to write back to the "list"
and include the  "getting some error plz"
part so that I or someone else who might
have the time can analyse the `stderr'

Cheers,
                -Tristan

vijay koneru wrote:

tristan,
kindly see to this code i am getting some error plz solve though its a basic question i am a beginner so 
kindly see to this with out any hesitation.
#include <gtk/gtk.h>
int main( int argc, char *argv[])
{
  GtkWidget *win;
  GtkWidget *label;
  GtkWidget *frame;
  GtkWidget *vbox,*hbox;
  GtkWidget *combo;
  GList *items = NULL;

  gtk_init(&argc, &argv);

  win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_usize( GTK_WIDGET (win), 200, 200);
  gtk_window_set_title(GTK_WINDOW (win), "PCMS Assesment Search");

  frame = gtk_frame_new(NULL);
  gtk_container_add (GTK_CONTAINER (win),frame);
  gtk_frame_set_label (GTK_FRAME(frame), "Pyxis CMS");
  gtk_frame_set_label_align (GTK_FRAME(frame), 1.0, 0.0);

  label = gtk_label_new ("vijay");
  gtk_container_add (GTK_CONTAINER(frame), label);
  gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);

  combo = gtk_combo_new();
  gtk_container_add(GTK_CONTAINER (win), combo);

  gtk_widget_show_all (win);
  gtk_main();
  return (0);
}

eagerly waiting for ur reply
chanti

-----Original Message-----
From: Tristan Van Berkom [mailto:vantr touchtunes com]
Sent: Wednesday, March 05, 2003 11:30 PM
To: Luis G.
Cc: gtk-app-devel-list gnome org
Subject: Re: scrolling windows

        It doesn't seem right that a GtkScrolledWindow should
have any knowlage of what to do when a particular `type'
is it's child. I also don't think its smart for the GtkTextEntry
to automaticly scroll it's parent (but smarter than the former).

maybe a generalized mechanism can be built around the GtkAlignment ?

I still think that for clarity's sake we should stick to writing
that code ourselves (as the users of the lib) untill a logical
way to implement something like that presents itself.

so; in short; I sugest

g_signal_connect(insert signals here);

callback() { insert code here }.

Cheers,
        -Tristan

"Luis G." wrote:

How do you get a scrolling window to automatically scroll when text is
added to a text view that is assigned to it?

Thanks
--
Luis G.
www.geocities.com/zap84.geo

--
Climbing is life.
The rest? Only details...

I'd rather be climbing...

"One day [today] we must come to see
that peace is not merely a distant goal
that we must seek, but a means by which
we arrive at that goal."
                --Martin Luther King, Jr.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]