When I set the info column with either col_set_str(); or col_append_fstr(); it doesn't auto wrap the sentence onto the next line when the info column is full. Is there a function I can use to fix this or will I have to determine the length of the string and insert new line feeds where necessary?? asked 10 Feb '13, 15:23 StealthUE |
One Answer:
Currently, Wireshark does not set up the widget used to render columns in the packet list, the GtkCellRendererText widget, to do word-wrapping, so you would have to determine the length of the string and insert new lines where necessary. Note that "where necessary" can't mean "where necessary to keep the string from filling up the info column", because that width is adjustable. The GtkCellRendererText widget can do word-wrapping, but only does so if the answered 10 Feb '13, 18:28 Guy Harris ♦♦ |
Is the same true for the lines in the Packet Details pane?