Can the GtkFileChooser be customized ?

2008-03-18 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Is it possible to change the default gtk_file_chooser UI so that: - an extra column is displayed, specifically the file's size ? - the columns can be sorted by clicking on the column header ? I've been all thru the gtk_file_

Is it possible to create a static cursor ?

2008-03-18 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, is it possible to: - create a GdkCursor - position it in a GdtWindow - BE able to DISASSOCIATE / ASSOCIATE it with the mouse upon demand. i.e. in other words, I want the 2nd cursor to be visible, and fixed o

Re: gtktextview render hint-rules effect

2008-03-18 Thread Brian J. Tarricone
majid wrote: > thanks, > but my questions was about GTK_TEXT_VIEW widget.! Oh, jeez. I should learn how to read! > I use this function to set "rules hint" property to a TREE_VIEW object. > gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, gboolean setting); > > but wath about a TEXT_VIEW? h

GtkCellRendererProgress pulse behavior

2008-03-18 Thread Thomas Flynn
Dear gtk-app-devel mailing list, I'm not sure if this is a bug or an error on my part so I decided to put it here and see what you guys and gals think. I have a program with a gtktreeview which includes a column that uses gtkcellrendererprogress. Using the new pulse property of the treeview pro

Follow-Up: Size Requesition of User Defined Widget

2008-03-18 Thread Markus Müller
Hello again, i have to apologize: the thing about the wrong window size was a very nasty memory allocation thing: a corrected malloc and the requisition data weren´t be overwritten... *sigh* But another question still remains: The gtkmplayer widget allocation data gets the right dimensions of

gtk_selection_data_set_pixbuf fails because PIXMAP != image/png

2008-03-18 Thread Xavier Toth
I'm trying to copy&paste an image using the default clipboard. I'm using pygtk and retrieving the image from the clipboard using gtk.Clipboard.wait_for_image then later I try to set the selection data pixbuf using gtk.SelectionData.set_pixbuf() with the data gotten from wait_for_image but this fail

Re: How create new GtkBin widget

2008-03-18 Thread gege2061
2008/3/17, Eduardo M KALINOWSKI <[EMAIL PROTECTED]>: > Use a GtkNotebook with the tabs hidden. It works perfectly for that purpose. This is generally what I use, but for fun I want test implement this feature from to GtkBin. -- Nicolas Joseph Responsable de la rubrique GTK+ de developpez.com h

Re: GTK app to change pic on click

2008-03-18 Thread Tomas Carnecky
Midhun A wrote: > Hi All, > > I am very new to GTK+ (started out yesterday). I am writing a simple > application which will show pictures one by one on button click. > Although I am able to get my first picture, the picture does not > change on click of the button (next or previous). The full co

Re: gtktextview render hint-rules effect

2008-03-18 Thread majid
thanks, but my questions was about GTK_TEXT_VIEW widget.! I use this function to set "rules hint" property to a TREE_VIEW object. gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, gboolean setting); but wath about a TEXT_VIEW? how can i do the same thing? bye On Mon, Mar 17, 2008 at 3:12 P

Re: Add a button to the about dialog

2008-03-18 Thread G Hasse
On Fri, Mar 14, 2008 at 06:23:50PM +0100, Daniel Leidert wrote: > Hi, > > I would like to add some information to the About dialog of an > application. The About-dialog is created using gtk_show_about_dialog(). The About dialog is a very simple widget that is often used and threrefor made as a s

GTK app to change pic on click

2008-03-18 Thread Midhun A
Hi All, I am very new to GTK+ (started out yesterday). I am writing a simple application which will show pictures one by one on button click. Although I am able to get my first picture, the picture does not change on click of the button (next or previous). The full code is as below. #include #

Re: app/window deactivation handling

2008-03-18 Thread G Hasse
On Wed, Mar 12, 2008 at 03:37:23PM -0700, Steve Splonskowski wrote: > Sorry for the loose terminology (thankfully I am not from the Windows > world!). > > I mean when the application looses focus (and is still running). Then there is no problem at all. When a Window lose focus you just register

Re: app/window deactivation handling

2008-03-18 Thread G Hasse
On Wed, Mar 12, 2008 at 03:20:15PM -0700, Steve Splonskowski wrote: > Hello, > > In an app we are working on we have some things that need to be done > when the app (or window since we only have one main window) is > deactivated. That is when the use switches to another application we > want

Re: Basic Differences

2008-03-18 Thread G Hasse
On Wed, Mar 12, 2008 at 03:24:03PM +0530, Aswathy Prasad wrote: > Hi > > > >Is there any basic difference between GTK+, Qt and Motif? Yes a lot! (As expected). Motif only runs att Unix:es (Look att openmotif). It has a small widgetset and are quite akward to work with. Qt has a "precompi

Size Requesition of User Defined Widget

2008-03-18 Thread Markus Müller
Hello all, i have an application running in one toplevel window showing two different views: The first is a schmetic overview with possibility of selecting graphical elements (network cameras), the second shows network video streams with mplayer which is embedded in a table (two instances atm