GTK Create Folder permission question

2007-02-15 Thread Ken Siersma
Hello, I have noticed that on OpenSUSE 10.1, creating a folder with the 'Create Folder' button in a GtkFileChooser (mode: save) window creates a directory with the permissions drwxr-xr--. This behavior can be reproduced with: - Open an image in the GIMP - Select File: Save As - Expand the

Deactivate tabs in GtkNotebook

2006-05-12 Thread Ken Siersma
Hi list, I'd like to create a notebook that has 5 different pages in it, but the data to be displayed in the later pages depend on the first page. I want the tabs for all pages to be shown in the notebook, to indicate to the user that they need to step through the last 4 too, but I don't want

Re: gtk_file_chooser_unselect_all w/directory choosers

2006-03-08 Thread Ken Siersma
Ken Siersma wrote: I'm using GtkFileChooser with GtkFileChooserAction == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER so that the user can choose a directory. I'm using gtk_file_chooser_unselect_all in case there are any directories in the CWD. That way, if the user hits OK as soon

gtk_file_chooser_unselect_all w/directory choosers

2006-03-07 Thread Ken Siersma
I'm using GtkFileChooser with GtkFileChooserAction == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER so that the user can choose a directory. I'm using gtk_file_chooser_unselect_all in case there are any directories in the CWD. That way, if the user hits OK as soon as the chooser is opened, then

Re: XImage - GdkImage

2005-08-03 Thread Ken Siersma
Tristan Van Berkom wrote: Ken Siersma wrote: Is there an easy way to convert an XImage to a GdkImage? /* Draw your image to a Pixmap (now has an XID and is an X resource) */ XPutImage (); /* Make a Gdk representation of your X resource */ gdk_pixmap_foreign_new (); /* Get GdkImage

Re: What's the deal with gtkglarea?

2005-07-07 Thread Ken Siersma
included in more distros? I haven't seen it in any SuSE distro or RH EL 4. Is it included in Fedora or others? -Ken -- Ken Siersma, Software Engineer EKK, Inc. phone: (248) 624-9957 fax: (248) 624-7158 http://www.ekkinc.com -- Our lives begin to end the day we become silent about things

Re: Set number of rows in GtkTreeView

2005-02-09 Thread Ken Siersma
Stefan, Thanks for your reply. Maybe I wasn't clear - I don't want to add columns. I only want one column. I want to specify a number of rows to always display in my GtkTreeView widget, regardless of how many entities are in my GtkListStore. I'm using the GtkTreeView to display a list of

Re: Set number of rows in GtkTreeView

2005-02-09 Thread Ken Siersma
Tim Müller wrote: On Wednesday 09 February 2005 13:56, Ken Siersma wrote: I want to specify a number of rows to always display in my GtkTreeView widget, regardless of how many entities are in my GtkListStore. I'm using the GtkTreeView to display a list of files. Sometimes there are no files

Trouble with click - drag and GTK_SELECTION_MULTIPLE

2005-02-09 Thread Ken Siersma
Another issue with my GtkTreeView that I can't figure out: I want the user to be able to select multiple entries in my list by clicking on one entry and draggin the mouse down the list. I have: Wlist = gtk_tree_view_new(); sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(Wlist));