Re: refresh problem
| From: | silver_dragoon | Date: | Sat, 24 May 2003 12:43:33 +0000 |
| Subject: | Re: refresh problem | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3476@lists.php.net to get a copy of this message | ||
Hi
well this is not all the code there's also a vbox... here is the full code
of my window :
$window = &new GtkWindow;
$window->set_usize('640', '480');
$window->set_title("Fenêtre IRC");
$window->connect("destroy", "killwindow");
$gbox = &new GtkVBox(false, 10);
$gbox->set_border_width(10);
$window->add($gbox);
$scrolled_window = &new GtkScrolledWindow();
$scrolled_window->set_policy(GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
$gbox->pack_start($scrolled_window);
$color = gdk::color_parse('#6666FF');
$font =
gdk::font_load('-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*');
$this->console = &new GtkText();
$this->console -> set_editable(false);
$this->console -> set_word_wrap(true);
$box3 = &new GtkVBox();
$scrolled_window->add_with_viewport($box3);
$box3->set_focus_vadjustment($scrolled_window->get_vadjustment());
$box3->pack_start($this->console);
$this->usercommand = &new GtkEntry();
$gbox->pack_start($this->usercommand, false, false);
$window -> show_all();
thanx again...
++