Dear all,
i am using wxControl (wx 3.0, gtk 2.0) that contains a vte-terminal window (vte-term library used as like in gtkterm). But i still cannot get the terminal window scrolling. Do i have to connect some signals to the lower gtkwindow ? Could anyone help me to implement this ?
Many thanks
Angelo
wxControl and vte terminal Topic is solved
wxControl and vte terminal
spectrum
Re: wxControl and vte terminal
Hi all,
sorry to have asked a so simple thing.
I studied a bit, and had the solution. I set this in the constructor of a "VTE" inherited class, from wxControl:
Regards
Angelo
sorry to have asked a so simple thing.
I studied a bit, and had the solution. I set this in the constructor of a "VTE" inherited class, from wxControl:
Code: Select all
// global
twidget = GTK_WIDGET(vte_terminal_new());
GtkWidget *scrollbar;
m_widget = gtk_hbox_new(0, 0);
/* Create the scrollbar for the widget. */
scrollbar = gtk_vscrollbar_new((VTE_TERMINAL(twidget))->adjustment);
gtk_box_pack_start (GTK_BOX (m_widget), twidget, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (m_widget), scrollbar, FALSE, TRUE, 0);
gtk_widget_show (scrollbar);
gtk_widget_show (twidget);
Angelo
spectrum