Questions tagged [scrolledwindow]

50 questions
1
vote
1 answer

creating a wxpython scrolled window (frame) by an event

I am trying to create a new frame in a wxpanel by clicking a button. Below is my code. It does not work. Scroll bars do not show up. Can anyone help me? Thanks! (update: A button is added in the new window) import wx class ftest(wx.Frame): def…
vandy
  • 13
  • 4
1
vote
1 answer

Python Tkinter Tix: How to use ScrolledWindow with grid in Tix NoteBook

I'm adding several widgets to a Frame which is located in a tix.NoteBook. When there are too much widgets to fit in the window, I want to use a scrollbar, so I put tix.ScrolledWindow inside that Frame and add my widgets to this ScrolledWindow…
Sano98
  • 419
  • 2
  • 7
  • 17
1
vote
1 answer

How do I add ScrolledWindow support to a custom Widget in GtkMM?

I am writing a custom widget for Gtkmm that is supposed to display a huge dataset (imagine something like a 4096x256 character datasheet). Mostly for reasons of elegance, but also for a possible usage in a Glade/Gtk-Builder editor, I want this…
paniq
  • 1,109
  • 1
  • 11
  • 19
1
vote
0 answers

how to make a div fixed menu visible when the page is scrolled

I have two pieces of code: The one below makes my menu appear if I click an element $j(function () { $j('#navFirst ul li:nth-child(1)').click(function() { $j('#productsSubNav').slideToggle('slow'); $j('#productsSubNav').css({"visibility":…
1
vote
0 answers

pygtk scrolledwindow background color

I have the following code in my PyGTK application: scroll = gtk.ScrolledWindow() scroll.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) scroll.modify_bg(gtk.STATE_NORMAL,gtk.gdk.Color("#FFFFFF")) scroll.add_with_viewport(self.movieView) layout =…
Dirk
  • 2,094
  • 3
  • 25
  • 28
1
vote
1 answer

scrolled window border

In Gtkmm how to remove the inset border from a scrolled window?I used a scrolled window that holds a image widget.The scrolled window itself appears within a Hbox.An inset border appears around the window which i want to remove.How?
Alex_ban
  • 221
  • 2
  • 11
0
votes
1 answer

Can I make a scrolledwindow in Glade without a child?

I have a scrolledwindow as part of an application I've designed in Glade. I don't want to create the child object in Glade though, I want to create it and add it in the code directly. When I try to do this though, I get a weird result where the…
Kris Harper
  • 5,672
  • 8
  • 51
  • 96
0
votes
1 answer

GtkSharp: Scrolled DrawingArea not rendering correctly with IdentityMatrix

The following minimal examples puts a DrawingArea inside a ScrolledWindow. In the Drawn event reaction a (partial) disk is drawn. When the line args.Cr.IdentityMatrix(); is used, the drawing does not work correctly, although one should expect no…
0
votes
0 answers

WxPython ScrolledWindow scrollbars - how to make visibly larger?

I'd like to make the scrollbars on a WxPython ScrolledWindow, visibly larger - by that, I mean more pixels wider, so instead of, say, only being 5 pixels wide (and hard for me to mouse-click on), make them 50 pixels wide. All of the…
John C
  • 6,285
  • 12
  • 45
  • 69
0
votes
0 answers

Make a dynamic scrolledPanel more efficient in wxPython

In my app, I want to handle allocation / deallocation of sizers inside a scrolledPanel. In my first try, I was hiding / showing the contents of the sizers, but this was causing a lot of problems. The hidden sizers would "stay there", effectively…
NeoFahrenheit
  • 347
  • 5
  • 16
0
votes
1 answer

How to start svg scroll animation on specific part of page

I have a simple svg animation that happens on scroll. But how can I get the animation to start further down the page? Now it starts right when I start scrolling. // Get the id of the element and the length of var triangle =…
0
votes
1 answer

Easiest way to create a scrollable area using wxPython?

Okay, so I want to display a series of windows within windows and have the whole lot scrollable. I've been hunting through the wxWidgets documentation and a load of examples from various sources on t'internet. Most of those seem to imply that a…
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
0
votes
1 answer

wxPython Add a lot of images into wx.ScrolledWindow

I am trying a add around 1,500 bitmaps to a ScrolledWindow, inside a GridSizer. They are loaded successfully (but a bit slow). My issue is: whenever I scroll a bit faster, the whole thing freezes for 8-10 seconds. Here is the relevant code: class…
CostiS
  • 3
  • 1
0
votes
1 answer

scrolled text python change ceratin background text

i am trying to program text editor by using tkinter. this is the mark function: self.text.tag_add("Mark",tk.SEL_FIRST,tk.SEL_LAST) self.text.tag_config("Mark",background="yellow",foreground="black") and this is the unmark…
0
votes
1 answer

How can I determine which child windows will be visible in a ScrolledWindow during/after a EVT_SCROLLED_WIN event?

I'm building a panel for my application which contains a large number of thumbnail images; they won't all fit in the window, so I'm using a ScrolledWindow to hold them and allow the user to scroll to view them. It takes some time to generate the…
TPDMarchHare
  • 135
  • 1
  • 8