render html page into gtkwindow
hi... how can i render HTML page into gtkwindow? say, i already have a downloaded/written HTML page. i want to render the content of that page in my gtk application. how can i implement ? ...
hi... how can i render HTML page into gtkwindow? say, i already have a downloaded/written HTML page. i want to render the content of that page in my gtk application. how can i implement ? ...
I have a ListStore that is filtered and then sorted. It looks something like this: // Create a model for the cards cardListStore = new ListStore (typeof (Card)); // Set up the tree view cardFilter = new TreeModelFilter (cardListStore, null); cardFilter.VisibleFunc = new TreeModelFilterVisibleFunc (FilterCards); cardSort = new TreeModel...
Hi. I am having some trouble using the GTK Expander widget. I have several expanders in a vertical box. When collapsing an expander, I want the expanders below to "shuffle" up to meet the bottom of the collapsed expander's bar. However, using VBox appears to reserve a fixed amount of vertical space for each widget, which does not change ...
I'm making an app using GTKMM and I want to know how to catch the right click signal from a Gtk::Table ? And also how to catch if the Mouse is over a Gtk::Table ? ...
I've been working with Perl for years and recently started learning how to do GUI via Gtk2. All examples and tutorials I've found illustrate simple one-window type applications. Anything with a second window is limited to a simple text entry or yes/no type dialogue. I want to learn how to build something with that next-step more compl...
I am BE student.In my BE project i m using GTK.. I want C code for setting color of every widget in GTK . Plase help me out ...
How can I determine idle time in Python on Linux, meaning no keyboard or mouse activity for the past few seconds or minutes? All present links tell how to do it on windows but not on Linux. ...
I've been learning to use TreeViews, and these two types are often used for accessing a particular row of a tree. I don't really understand the difference between the two. My code is working--I convert back and forth between the two based on a function's required parameters--but not based on any real understanding of why. What is the di...
I have a treeview and I am watching for the cursor-changed and row-activated signals. The problem is that in order to trigger the row-activate I first have to click on the row (triggering cursor-changed) and then do the double click, requiring 3 clicks. Is there a way to respond to both signals with 2 clicks? ...
I am writing a timer program in Python using PyGTK. It is precise to the hundredths place. Right now, I am using a constantly updated label. This is a problem, because if I resize the window while the timer is running, Pango more often than not throws some crazy error and my program terminates. It's not always the same error, but differe...
Before you set Visible to true, you can use DefaultWidth and DefaultHeight. But these don't work once the Window is visible. You can use WidthRequest and HeightRequest, but these prevent the user from shrinking the Window below the dimensions you set. Is there any way to manually change the dimensions of a Window once it has been made v...
I am attempting to fix the size of a widget in GTK+, specifically using Gtk2hs with Haskell. I have drawn an image in a DrawingArea and I would like to specify the exact size of this drawing area. I do not want other widgets or the user to make this widget larger or smaller. Is this possible? Note, I am using ghc version 6.10.4 under U...
I am compiling Gtk applications in Windows with MinGW toolchain, but when I run my apps, a command prompt window appears. How can I make this prompt disappear? ...
In my program, there is a point where all widgets are hidden. Is there a simple way to show a widget and all of its parent containers? I am not able to use show_all(), because that would show other widgets that I don't want shown. I could go down the containers and show them all, but I would prefer not to if there is a more concise solut...
Hi to all. I have a gtk.Notebook with some tabs on it. How can i change label on current tab when button clicked? I make: self.set_tab_label(self.scrolled_window,label) But label change on last tab, but not in current :( Thank you. ...
Hi! i' working with Gtk developing some app. I must put some buttons over a map. I'm drawing the map on a GtkDrawingarea, but i'm not able to put buttons over it. Any suggestion? Thanks ...
This is a fairly vague and open ended question, but hopefully someone can still provide some insight. I am using GTK (through Gtk2Hs with Haskell via GHC) and I am wondering if there is any general advice for handling events. I am used to keeping system components loosely coupled (from OO practice) and this extends to the event model. I...
Hi everyone, I have used Signals and slots in QT. and i want o implement same stuff in GTk. I have 2 Threads in which i need to pass data, I have done it using signals and slots in QT but now i have to implement this same stuff in GTK+ and C. how should i do it? Thanks, PP. ...
Hello good people! :) I want to render parts of a svg file by name but for the life of me I cannot figure out how to do so (using python + gtk). Here's the svg file in question: http://david.bellot.free.fr/svg-cards/files/SVG-cards-2.0.1.tar.gz (Update: this file no longer exists, but you can track it down at http://svg-cards.sourcefor...
I've got a gtk application which features a tray icon, if the user clicks on the icon the visibility of the window is toggled when he's on the same workspace as the window is. When he's on another workspace the window moves to that one. Now, if the application and user are on the same screen and the app is completely overlayed by anothe...