I have a window the displays a lot of file names and I would like to avoid displaying the full path in the text and provide a way for the user to click on the text (or mouse over it) and have a little display pop up with the full path. I have looked around my book and the net but nothing has popped out. wx.HyperlinkCtrl seems like a possibility but I wasn’t sure if there was already a way people on this list accomplish such a task.
If your filenames are listed in a wxListCtrl, the name will be cut off
at the width of that column in the textCtrl but I think mousing over
it will automatically pop up a tool tip with the full text.
Or if you're staying with a staticText, you could just set a wxToolTip
on it to pop up the full filename with mouseover.
Che
···
On Mon, Aug 16, 2010 at 4:30 PM, Steve <ghostraker@gmail.com> wrote:
Hello All,
I have a window the displays a lot of file names and I would like to avoid
displaying the full path in the text and provide a way for the user to click
on the text (or mouse over it) and have a little display pop up with the
full path.
Someone may want to update the documentation to note the wxPython
SetToolTipString usage.
Mark
···
On Aug 17, 4:30 am, Steve <ghostra...@gmail.com> wrote:
Hello All,
I have a window the displays a lot of file names and I would like to avoid
displaying the full path in the text and provide a way for the user to click
on the text (or mouse over it) and have a little display pop up with the
full path. I have looked around my book and the net but nothing has popped
out. wx.HyperlinkCtrl seems like a possibility but I wasn't sure if there
was already a way people on this list accomplish such a task.
Someone may want to update the documentation to note the wxPython
SetToolTipString usage.
Mark
Hello All,
I have a window the displays a lot of file names and I would like to avoid
displaying the full path in the text and provide a way for the user to click
on the text (or mouse over it) and have a little display pop up with the
full path. I have looked around my book and the net but nothing has popped
out. wx.HyperlinkCtrl seems like a possibility but I wasn't sure if there
was already a way people on this list accomplish such a task.