I have a Window with three Entry widgets and one Button. I use the button to remove one of the widgets programmatically. The problem is that the main window doesn\'t change it\'s size to fit the new l
Gtk2hs has various widget datatypes that implements Widget class. Is it possible to write custom datatype which does the same?
Simple question: Is there a linux开发者_StackOverflow-style terminal widget for GTK? Preferably for Haskell, too, as I want to use gtk2hsvte is what is used in gnome-terminal. It seems there are vte h
I am working on a Haskell application using gtk2hs. This application has a toolbar which consists of several GtkToggleToolButton, GtkToolButton and GtkToolItem elements. For being able to resize the a
I cannot force GTK to render data in TreeView with ListStore model with multiple columns through Haskell. I have the following code
I\'m trying to make a toy application, just to get my head around how to write event driven programs in Haskell. What I\'m trying to do is draw a line to a canvas which moves forward every time a key
I have a DrawingArea onto which I can draw using primitives such as drawRectangle and drawLine. How do I draw text onto that area? I\'m most interested in something that quickly outputs a single line
With an example like this.How can I do 2d double buffering with gtk and haskell.I want to render primitives to an offscreen buffer and flip.This code only renders a pixel/rectangle.I want to add movem
I use the code below adapted from a tutorial. It shows the two options in the drop down, but when I select one, it gives the error at the console:
I would like to do something like this: handlerOn = do cid <- canvas `on` butto开发者_C百科nPressEvent $ tryEvent do