Questions tagged [scrolledwindow]

50 questions
2
votes
1 answer

How do I get the dimensions of the view (not obstructed by scrollbars) in a wx.ScrolledWindow?

Is there an easy way to do this? Alternatively, if I could get the width of the scrollbars, I could just use the dimensions of the ScrolledWindow and subtract them out myself...
Ryan
  • 4,179
  • 6
  • 30
  • 31
2
votes
0 answers

Bigger matplot figure in a ScrolledWindow or ScrolledPanel

I'd like plot a figure(having many subfigures) in a scrolledwindow(or scrolledpanel). figure width depends on the width of window and figure height is calculated like width * 2. if the height of window ls less than width * 2, scrollbar of window is…
bokgae
  • 58
  • 5
2
votes
0 answers

Adding scrolledwindow to listbox/listboxrow causes background color to change to black

I am using Ubuntu 14.10. I am trying to create a GtkDialog for data entry. The dialog has a ListBox object with ListBoxRows containing mainly Gtk.Entry objects. This all works fine until I add a ScrolledWindow with an embedded TextView object,…
Jim
  • 21
  • 2
2
votes
2 answers

GTK Scrolled Window - Keep Scroll Bar at bottom

I have a GTK/C++ program that uses a ScrolledWindow. I keep adding data to the list within the scrolled window, and I want to keep focus on the newest item. But I also want to allow the user to scroll through the data to select an old item. Is…
Bill
  • 141
  • 1
  • 2
  • 4
2
votes
1 answer

GTK+ - Refresh a scrolledwindow

I have a scrolledwindow inside a main window. I want to when i click button refresh, content of scrolledwindow will refresh automatic.This is callback to button vbox = gtk_vbox_new(TRUE, 5); gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW…
2
votes
1 answer

Scrolling with mouse in tix.ScrolledWindow

Is it possible to make the ScrolledWindow respond to the mouse's scroll wheel? When I scroll the mouse wheel, it currently does nothing, but it is a huge minus for the usability when the user has to manually click and drag the scrollbar. The…
Ouverflou
  • 51
  • 4
1
vote
1 answer

Remove GtkScrolledWindow frame border in C

I read about the removing of border from this GTK widget (you can see it in this image http://developer.gnome.org/gtk/2.24/scrolledwindow.png) in Python or C# remove border of a gtk.button How to remove frame (or border?) form a…
TheUnexpected
  • 3,077
  • 6
  • 32
  • 62
1
vote
1 answer

wxPython: scrollbars interfering with formatting

The following code is intended to demonstrate a problem I'm having with wxPython. When I substitute a wx.Panel with a wx.ScrolledWindow and then run the program the window that is opened is about as small as it could possibly be. Once the frame has…
Paul Patterson
  • 6,840
  • 3
  • 42
  • 56
1
vote
1 answer

GTK4 ScrolledWindow renders content unreadable

I am learning GTK4 and Python. While playing round with the Gtk.StackSidebar class, I came across this strange behavior that I cannot seem to figure out. I want my sidebar on the left, and my content to be scrollable. To do this I introduced a…
1
vote
2 answers

Cannot get scroll bar to work PyGTK treeview

First let me start off by saying I read on here a lot and I have googled around for the answer but have not been able to turn one up. Basically I am trying to add a scroll bar to add to my vbox window. I know its simply something I am not…
Stratus
  • 39
  • 1
  • 5
1
vote
1 answer

How to properly add window scroll event listener in React for animating an element?

I have a React App and I am trying to use the useState and useEffect hooks to create something like an animation when the user scrolled more than 200px from the top of the page. This is how my navigation looks like: And I want to apply width: 0;…
1
vote
1 answer

Prevent scrollbars from showing up when placing a drawing area inside a scrolled window

I'm working on a project using Python and pyGTK. I have a window whose only purpose is showing an image. Unless the image is too big to fit the screen, the window should show no scrollbars by default. So what I do is something like this: window =…
Gerardo Marset
  • 803
  • 1
  • 10
  • 23
1
vote
1 answer

Gtk treeview refreshes cause the scrollbar to go back to the top of the page

I'm currently writing a program like a task manager (similar to what windows have) and I'm using tree view in gtk+ 3 for the GUI. The problem is, by making the treeview update 'live', the scrollbar stops to function correctly. Everytime the treeview…
DesTeco
  • 23
  • 1
  • 4
1
vote
1 answer

How to position a ScrolledWindow (tkinter) scrollbar at the bottom

I am creating a gui with tkinter in python. I have created a scrollbar and this is what the section of code looks like: beta_frame = Frame(width="500", height="680") beta_frame.pack() holder = ScrolledWindow(beta_frame, width=500,…
Parker Rosen
  • 43
  • 1
  • 8
1
vote
3 answers

wxPython horizontal scrolling with shift+mouse wheel

The wx.lib.scrolledpanel seems to support mouse wheel vertical scrolling by default, but does not support horizontal scrolling while shift is pressed. I cannot find any way to activate it. Is it even somewhere or should I write an appropriate event…