18 questions
0
votes
0
answers
52
views
Touch scrolling causes persistent text field cursor and segmentation fault in entry widgets
I have a sample GTK4 application where a list of entries is arranged vertically in a scrolled window. When I test the application using a mouse by continuously scrolling the window, the app does not ...
1
vote
1
answer
272
views
When adding a Gtk.TreeView to a Gtk.ScrolledWindow, the scrollbar cursor is out-of-scale
If I want to make a Gtk.TreeView scrollable, I embed it in a Gtk.ScrolledWindow. Embedding the TreeView produces a cursor which is out of scale (way too large).
There are 7 more rows in the TreeView, ...
1
vote
1
answer
830
views
How to Scroll a ScrolledWindow with arrow keys in Gtk 3.24.5?
I have a gtk entry right below the scrolled window which has the default focus , left and right keys move the cursor in the entry ,I am able to catch the key press events for up and down arrow keys ...
0
votes
2
answers
108
views
How to detect if GtkScrolledWindow is scrolled to bottom?
I would like to know if there is a way to know if the user scrolled GtkScrolledWindow (containing a GtkTextView) to the bottom or not.
Indeed, I automatically scrolled to the end with:
...
2
votes
1
answer
454
views
Strange issue when I using GtkScrolledWindow in glade
I want to wrap a listbox widget into a scrolled widget, then I find the GtkScrolledWindow, however, I could not drag and drop a GtkListBox into GtkScrolledWindow. I also tried right click the ...
4
votes
2
answers
730
views
Is it possible to set the color of a ScrollWindow?
I have the following code,:
GdkColor color;
color.red = 0x0;
color.green = 0x0;
color.blue = 0x0;
gtk_init (&argc, &argv);
window = gtk_dialog_new ();
gtk_widget_modify_bg(window, ...
0
votes
1
answer
3k
views
Glade and deprecated gtk properties
i've been trying to run a software where i've built the UI by Glade. Glade then transform the UI in an XML file, and then in Python i just load that file.
But i've a problem with (maybe) deprecated ...
2
votes
1
answer
433
views
How can i get current showing area in GtkScrolledWindow
I have a gtkscrolledwindow and there is a gtk image in it. How can i get current showing area in GtkScrolledWindow? For example my image is 1366x768 pix and 300x400 pix part of image is showing in ...
3
votes
3
answers
5k
views
Auto scroll a gtkscrolledwindow
I have a form interface with a large number of horizontal drop down and text boxes that are inside a GTKscrolledWindow. The form has to be aligned horizontally because there are an unlimited number ...