About flash(*.swf) in gtk

2007-03-23 Thread Zhang Yang
Hello. I want to make a program with an widget in it can play flash files (*.swf) . I think if I can take use of libflashplayer.so which is used in firefox will be great. But I cann't find any API's or headers related to that library . Can anyone give me a hint or copy? Or just another library I c

Unsolved mystery - How to control GtkTreeView row height

2007-03-23 Thread Anthony E. Rich
Hello, I need a way to control the rendered row height, in pixels, of a GtkTreeView. This is essential to the application, because I *cannot* use scrolling, but instead use a virtual grid mechanism that loads a GtkTreeView with a small number of rows from a larger virtual table, and control all sc

Re: Positionning a widget in Table cells

2007-03-23 Thread Jonathan Winterflood
> If the widget is a subclass of GtkMisc, use its methods to > set the alignment. Otherwise pack it to a GtkAlignment. In > both cases it has to be attached to the table with vertical > GTK_FILL flag. Thanks for the fast anwser :) The widget is a box, prefilled with some other widgets & some log

can't get enter_notify_event to work

2007-03-23 Thread Karl H. Beckers
Hi all, can't get this to work the way I need it to and appreciate all clever ideas. I have a very simple test code that works as desired, but it does not work in another app. I'm doing: void on_gtk_frame_right_enter_notify_event (GtkWidget * w, gpointer data) { printf("entered . \n"); }

Re: Positionning a widget in Table cells

2007-03-23 Thread Yeti
On Fri, Mar 23, 2007 at 11:33:31PM +0100, Jonathan Winterflood wrote: > I'm using a number of custom widgets, packed into a Table in my main window > One of these ("W") is attached to 2 cells of the first > column, and others ("a","b","c","m") fill the other cells, like so: > > m m m > W a b > W _

Positionning a widget in Table cells

2007-03-23 Thread Jonathan Winterflood
Hi all, I'm developping an app w/ gtkmm 2.4. I'm using a number of custom widgets, packed into a Table in my main window One of these ("W") is attached to 2 cells of the first column, and others ("a","b","c","m") fill the other cells, like so: m m m W a b W _ b c c c This Widget is set to shrink

RE: Dialog closing prematurely with response code of 0

2007-03-23 Thread Kevin Lambert
I wasn't planning on reporting it into bugzilla until I knew whether it was something that was easily reproducable. The system I am working in has a large amount of support code that doesn't make it easy to just have someone else compile without the full environment. The "solution" (more like a h

Q: GtkHTMLx Situation

2007-03-23 Thread Martin Fischer
Hi there, currently I'm working on a GTK application for model railroad design. See http://www.xtrkcad.org/ in case you're interested. As it is, XTrkCad is a strict GTK application. It doesn't rely on Gnome or any other external libraries. My current activity is to improve the help system. My

Resizing and Moving a GtkWindow doesn't work

2007-03-23 Thread Gaurav Jain
Hi, In my application I need to resize and move a GtkWindow to a new location, and I'm using the gtk_window_resize() and gtk_window_move() APIs for the purpose. However, these APIs do not work sometimes. For example, refer my sample program at the end of this mail. If the initial location of my