Search found 207 matches

by spectrum
Tue Feb 25, 2014 2:30 pm
Forum: Platform Related Issues
Topic: connecting wxFrame with gtkWidget
Replies: 1
Views: 1270

connecting wxFrame with gtkWidget

Dear all, i have wxFrame, that includes a child wxControl the wxControl includes : a gtk horizonatal box (gtk_hbox_new) with 2 childs, a vte_terminal (gtkWidget), and a gtk_vscrollbar. Now, from wxFrame i do: wxControl -> Connect(wxEVT_RIGHT_DOWN, (wxObjectEventFunction)&FrmMain::OnTermRightClic...
by spectrum
Mon Jan 27, 2014 7:05 pm
Forum: Platform Related Issues
Topic: wxControl and vte terminal
Replies: 1
Views: 1235

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: // global twidget = GTK_WIDGET(vte_terminal_new()); GtkWidget *scrollbar; m_widget = gtk_hbox_new(0, 0); /* Create the scrollbar f...
by spectrum
Mon Jan 27, 2014 3:52 pm
Forum: Platform Related Issues
Topic: wxControl and vte terminal
Replies: 1
Views: 1235

wxControl and vte terminal

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
by spectrum
Wed Dec 18, 2013 5:25 pm
Forum: C++ Development
Topic: wxConfig question
Replies: 2
Views: 1106

wxConfig question

Dear all,

i would need that wxConfig keep stored a list of strings in a certain order, the same i write to it. But i see, at reload, the order never change since it is "map/key" based.

Any idea on how to keep saved a sorted list of strings(key) + string(value) ?

Thanks,
Angelo
by spectrum
Wed Sep 18, 2013 6:41 pm
Forum: C++ Development
Topic: Issues with wx 2.9.5
Replies: 3
Views: 1427

Re: Issues with wx 2.9.5

by spectrum
Wed Sep 18, 2013 1:52 pm
Forum: C++ Development
Topic: Issues with wx 2.9.5
Replies: 3
Views: 1427

Re: Issues with wx 2.9.5

wxWidget 2.9.5 builds with gtk3 as default, so i supposed it mainly works since is near to the 3.0 milestone.
Sure, i am moving to gtk2 for now. Will report the issue to the trac.

Regards,
spec
by spectrum
Wed Sep 18, 2013 8:00 am
Forum: C++ Development
Topic: Issues with wx 2.9.5
Replies: 3
Views: 1427

Issues with wx 2.9.5

Dear All, i downloaded and compiled this version of wxwidgets to build a simple terminal application. I have 2 issues: 1) I have a wxFrame with some panels, in one panel i have a wxControl that contains a gtk vte terminal. The terminal is shown with no width, whatever width i set. This could also be...
by spectrum
Fri Aug 26, 2011 9:10 pm
Forum: C++ Development
Topic: onidle question
Replies: 2
Views: 1769

onidle question

Dear all, i am using OnIdle event/callback on a wxFrame to read bytes from the serial port, to avoid further threads. My actual approach is: void MyFrame::OnIdle (wxIdleEvent &e) { int i; if ((i=serial->Read())>0) { --- process data and eventually update some status messages in the frame --- } w...
by spectrum
Wed Aug 10, 2011 2:45 pm
Forum: C++ Development
Topic: wxRichTextCtrl, some questions
Replies: 5
Views: 1948

Re: wxRichTextCtrl, some questions

i have found that gtkterm use "libvte-dev", and probably putty too.

Would be nice to find some c++ wrapper, or better, a wxWidgets similar equivalent.

regards

angelo
by spectrum
Wed Aug 10, 2011 2:29 pm
Forum: C++ Development
Topic: wxRichTextCtrl, some questions
Replies: 5
Views: 1948

Re: wxRichTextCtrl, some questions

thanks for the replies.

- I need to handle some vt100 special codes, so to be able to change colors on the fly. wxTextCtrl is not able to do this.
- I am wondering what controls are using putty or gtkterm, since they allows colors and a rectangular cursor.
by spectrum
Wed Aug 10, 2011 12:48 pm
Forum: C++ Development
Topic: wxRichTextCtrl, some questions
Replies: 5
Views: 1948

wxRichTextCtrl, some questions

hi all, i am using wxRichTextCtrl on linux, wxGTK wxWidgets 2.9.2 for developing a serial comm terminal, below some questions, 1. is the caret customizable ? I would like it to be a rectangle, i already tried with GetCaret / SetCaret, SetSize etc, nothing works. 2. is there a way to allow the user t...
by spectrum
Thu Aug 04, 2011 10:39 pm
Forum: Platform Related Issues
Topic: wxListCtrl InsertItem problem on MAC
Replies: 3
Views: 1662

Re: wxListCtrl InsertItem problem on MAC

hi all

this thread has been marked as solved, but seems theris not any solution yet.
i have the same issue, anyone know a workaround ?

regards
angelo
by spectrum
Wed Jun 22, 2011 9:31 am
Forum: C++ Development
Topic: wxListCtrl, how to simply hide items for filtering
Replies: 6
Views: 5103

Re: wxListCtrl, how to simply hide items for filtering

hi all, many thanks, maybe is better i explain better what i am trying to do, so maybe you can give me the best way to reach this: I receive some messages (UDP) from the network, and append them to a 4 colum wxListCtrl (time,IP,level,message). I need to add a feature to filter for IP, that when is a...
by spectrum
Tue Jun 21, 2011 1:08 pm
Forum: C++ Development
Topic: wxListCtrl, how to simply hide items for filtering
Replies: 6
Views: 5103

wxListCtrl, how to simply hide items for filtering

hi all,

is there a way to hide an item, to re-show it removing a specific filter ?

regards,
angelo
by spectrum
Tue Jan 05, 2010 3:23 pm
Forum: C++ Development
Topic: wxWidgets and plotting packages
Replies: 3
Views: 1054

hi gwalschl, this thread has been discussed many times, here some threads http://forums.wxwidgets.org/viewtopic.php?t=15459&highlight=wxplot http://forums.wxwidgets.org/viewtopic.php?t=24625&highlight=wxplot http://forums.wxwidgets.org/viewtopic.php?t=21851&highlight=wxplot or serch the ...