Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Yuri Khan
On Mon, Jan 22, 2018 at 6:03 PM, Kian Karas wrote: > I have a GtkTreeview with size constraints, which causes the text of one > particular column in one particular row not to fit into its cell. > > Is there a way for the user to scroll the content of a specific cell

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
Hi Eric I was not aware of the list box. It looks more flexible than the tree view, and might be what i need. However, then my problem would be to scroll some other widget (other than a GtkTreeview cell), without adding a scroll bar. The only space I have is within the cell of the table. Using

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Eric Cashon via gtk-app-devel-list
Hi Kian, Have you tried a GtkListBox for this? You can probably setup a scrolling window in a row in a listbox. https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/ Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
On Wed, Jan 24, 2018 at 12:42 PM, Lucky B.C wrote: > There's no supporting for scrolling one cell! But If I'm not wrong, the > string value you put in the right column is a very long text, isn't it? And > you want a solution for seeing the text in the limited view, don't

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Lucky B.C
There's no supporting for scrolling one cell! But If I'm not wrong, the string value you put in the right column is a very long text, isn't it? And you want a solution for seeing the text in the limited view, don't you? Okay! We can make the text rendering in that way by 2 steps: 1) For a

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
You're right that it is possible to add a horizontal scroll bar. I just don't have that option (design choice). Hence, my question was centered about scrolling one cell. This is for an embedded device with a 4.5" screen, a few navigation buttons, and no mouse. On Wed, Jan 24, 2018 at 11:15 AM,

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread infirit
Op 01/22/2018 om 12:03 PM schreef Kian Karas: > I have a GtkTreeview with size constraints, which causes the text of one > particular column in one particular row not to fit into its cell. If I remember correctly a GtkTreeView is scrollable so it will add scrollbars when it has grown larger than

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
Please see attached screenshot (4.5" screen - hence the size constraint). I was imagining using the arrow keys to move the text in the right column of the selected row. Ellipses could then show up on both sides of the "visible" text. On Wed, Jan 24, 2018 at 6:30 AM, Lucky B.C