Is GtkApplication example Bloatpad Parse supposed to be Paste?

2012-06-22 Thread Micah Carrick
I was working on getting up to speed with GtkApplication by implementing the Bloatpad example application in the GTK+ docs in Python. I noticed the UI XML has an action for win.parse for which there are not actions. There are actions for win.paste though. That's a typo... right?

Problem editing treeview cell from popup menu

2011-05-12 Thread Micah Carrick
I have a treeview which has files and folder. Folders are editable, files are not. This is set using the editable attribute on the treeview column. So users can click-to-edit the folders. Now I also have a popup menu with Rename which should start editing the folder. This is the code that does

gtk_tree_view_enable_model_drag_source() is missing the (array length=n_targets) annotation

2011-05-11 Thread Micah Carrick
I originally submitted a bug under pygobject introspection, however, I think I've figured out that the problem is with the missing (array length=n_targets) annotation in the gtk-doc for gtk_tree_view_enable_model_drag_source(). Not sure if this is more appropriate for this list instead. A patch is

Re: Signal to stop reordering a treeview

2011-05-11 Thread Micah Carrick
should to return -1 if left TreeIter (a) represents folder and right TreeIter (b) represents file, and return 1 when reversed. В Втр, 10/05/2011 в 21:56 -0700, Micah Carrick пишет: Is there a way I can stop an automatic treeview reorder based on the target row? Basically, I have files

Signal to stop reordering a treeview

2011-05-10 Thread Micah Carrick
Is there a way I can stop an automatic treeview reorder based on the target row? Basically, I have files and folders folders cannot be dropped onto files (or it they are, the reorder should be ignored). - Micah ___ gtk-list mailing list

Re: glade_xml_signal_autoconnect and user_data

2008-06-07 Thread Micah Carrick
gtk_builder_connect_signals(). - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com dhk wrote: Is glade_xml_signal_autoconnect()only used for callbacks that don't take user_data? If not, how can user_data be passed to a callback when using glade_xml_signal_autoconnect

Re: How do I catch right-click on a TreeView header?

2008-05-29 Thread Micah Carrick
You may be able to use gtk_tree_view_column_get_widget() since *I think* it's a GtkLabel (if not, you can make it so using set_widget()) and then connect to the button-press-event of that widget. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com

Using GtkTreeViewDropPosition in drag and drop

2008-05-28 Thread Micah Carrick
, but does not set the GtkTreeViewDropPosition. Thus, the row is not always dropped into the position that was indicated by the motion event. Can anybody tell me why the GtkTreeViewDropPosition wouldn't be obtainable in the drag-data-recieved handler? -- - Micah Carrick Developer - http

Re: Scrolling text in Gtk

2008-05-28 Thread Micah Carrick
In the book Foundations of GTK+ Development, there is a chapter on creating custom widgets in which a marquee widget is created (which scrolls text across the widget). You could take a look at the source code from the book available at www.gtkbook.com - Micah Carrick Developer - http

Re: GtkBuilder and popup menus

2008-05-27 Thread Micah Carrick
I've moved this to the glade-users list since this popup is coming from a glade file and being run through gtk-builder-convert. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Micah Carrick wrote: How do I use a popup in a UI file

GtkBuilder and popup menus

2008-05-26 Thread Micah Carrick
How do I use a popup in a UI file with GtkBuilder? I can't set id on the popup... do I have to get the GtkUIManager and get the popup menu widget from that? -- - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com

Mixing of memory allocation methods with application

2008-05-25 Thread Micah Carrick
(playlist-name); playlist-name = strdup (new_name); Also, these structures have arrays of tracks (uint32_t*). I have some routines which replace that array with the 'data' member of a GArray... that's probably *bad* since GArray doesn't use regular malloc()... right? -- - Micah Carrick Developer

Re: Drag and Drop Selection Content

2008-05-25 Thread Micah Carrick
as that is already going to be freed after the drag-drop is completed. Sound right? - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Micah Carrick wrote: Let me be more clear... In my callback for drag-data-get I'm trying to pass on a GArray which I

Re: Scrolling to end of scrolled window when first displayed

2008-05-14 Thread Micah Carrick
()) gtk_main_iteration (); before trying to scroll to the end. Or perhaps try connecting to the text view's show or realized signals. Not sure if that would work but it's an idea anyway. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com John M

Re: GtkTextView: how to stop default paste-clipboard handler ?

2008-05-13 Thread Micah Carrick
You may have to instead catch the Ctrl+V keybinding from within a handler for key-press-event and return TRUE to prevent further processing. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Miroslav Rajcic wrote: I've needed to override

Best way to capture scrolling

2008-05-11 Thread Micah Carrick
What's the best signal for capturing when a GtkTextView is scrolled. I don't need to know how much or anything... just that it was scrolled either vertically OR horizontally by the mouse OR keyboard. -- - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http

Padding for future expansion

2008-01-07 Thread Micah Carrick
When looking at some GTK widgets, you see things like... void (*_gtk_reserved0) (void); Why is it necessary to reserve the space for them? Why not just add the functions when new versions come out? -- - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http

Re: IP address entry widget

2008-01-06 Thread Micah Carrick
Andrew Krause's book Foundations of GTK+ Development uses an IP widget derived from an Entry as an example of writing custom widgets. Check it out at www.gtkbook.com - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Bin Chen wrote: Hi

Re: GtkTextView drag_data_received handler

2008-01-05 Thread Micah Carrick
Thanks, I had thought of deriving a class but it seems like a bit much for a simple task. Can't believe I didn't think of g_signal_stop_emission_by_name. Much appreciated. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Mathias Hasselmann

GtkTextView drag_data_received handler

2008-01-04 Thread Micah Carrick
The GtkTextView has it's own handler for the drag_data_received. I don't see any property or way to squash this handler. Am I missing something? -- - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com

Re: how to replace a child of a GtkBox ?

2007-12-30 Thread Micah Carrick
= gtk_notebook_get_tab_label (GTK_NOTEBOOK (notebook)); image = GTK_WIDGET (g_list_first(box-children)-data); gtk_image_set_from_file (GTK_IMAGE (image), new-image.png); - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Gregory Hosler wrote

Re: GtkTreeView row selection change events

2007-12-30 Thread Micah Carrick
I believe it's row-activated when a user double-clicks and cursor-changed when the selected row has changed. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Christopher Harvey wrote: Hello GTKers, What is the event name that fires when

Re: g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Micah Carrick
button-press-event. Whenever you find a signal that you don't know to which object it belongs, one easy way out is to search for it in Devhelp. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Charles Packer wrote: If I code a button widget

Re: g_signal_connect -- button-press-event vs pressed

2007-12-26 Thread Micah Carrick
, G_CALLBACK (on_pressed), The button was pressed on a GtkButton.); - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Micah Carrick wrote: Start with the API documentation for a GtkButton: http://library.gnome.org/devel/gtk/stable/GtkButton.html

Calling gtk-builder-convert from makefile

2007-12-20 Thread Micah Carrick
I have a glade file which I have to convert using gtk-builder-convert first. This converts it from .glade to .xml and the make file installs it. How would I run gtk-builder-convert on the source .glade file prior to copying the .xml file? -- - Micah Carrick Developer - http

Toolbars in Monodevelop

2007-12-11 Thread Micah Carrick
Does anybody know if the toolbars used by the application monodevelop are a library that might be available for C programmers like GDL is? -- - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com ___ gtk

Re: Developer COBOL + GTK

2007-12-07 Thread Micah Carrick
I don't know of COBOL for GTK. You can see a list of GTK+ programming language bindings at http://www.gtk.org/bindings.html - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Ronaldo Ottoni wrote: Hi, I am a developer of the COBOL language

Re: Nested Tree View

2007-11-30 Thread Micah Carrick
, text, FILE_NAME, NULL); gtk_tree_view_append_column( GTK_TREE_VIEW (panel-priv-tree_view), col); - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com

Re: Application with plugins

2007-11-28 Thread Micah Carrick
You may want to take a look at how Gedit created a GObject-based plugin system. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Adam Kłobukowski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm going do develop an application

Re: error message

2007-11-28 Thread Micah Carrick
This thread may also help: http://www.nabble.com/Xlib,-thread-and-gnome-t1620542.html - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Andres Gonzalez wrote: Thank you Michael for your response. What was confusing to me was that I

Re: layouts.c

2007-11-28 Thread Micah Carrick
Not sure what you're looking for, but, try installing Devhelp so you can easily browse and search for the functions and objects you need. http://developer.imendio.com/projects/devhelp - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com linux

Re: Changing a style property?

2007-11-27 Thread Micah Carrick
a specific look (such as a touchscreen application) then we just write our own theme or resource file. Read more at http://library.gnome.org/devel/gtk/2.12/gtk-Resource-Files.html#GtkRcStyle - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com

Re: Feedback on my Win32 GTK+ Experience

2007-11-25 Thread Micah Carrick
Thank you for your response. It is very helpful. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Tor Lillqvist wrote: 1. libxml-2.0 from libxml2-2.6.30.win32.zip was missing the .pc file for pkg-config. I guess libxml2-2.6.30.win32

Feedback on my Win32 GTK+ Experience

2007-11-24 Thread Micah Carrick
-- - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Problem compiling on Windows

2007-11-23 Thread Micah Carrick
:/MinGW/include -Lc:/MinGW/lib -lglade-2.0 -lgtk-win32-2.0 -lxml2 -lz -lws2_32 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -- - Micah Carrick Developer - http://www.micahcarrick.com

Re: Problem compiling on Windows

2007-11-23 Thread Micah Carrick
Shoot, sorry. I meant gcc -Wall -g `pkg-config --cflags --libs gtk+-2.0 libglade-2.0` -o hello hello.c - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Tristan Van Berkom wrote: On Nov 24, 2007 2:09 AM, Micah Carrick [EMAIL PROTECTED] wrote

Re: How to inserts a widget in the toolbar at the given position

2007-11-16 Thread Micah Carrick
to the tool item. - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com sphurti durgade wrote: hello, how to inserts a widget in the toolbar at the given position. because gtk_toolbar_insert_widget is deprecated i tried

Re: Howto embed a window into a gtk application?

2007-10-05 Thread Micah Carrick
You can use the VTE terminal to embed a terminal into your GTK+ application: http://developer.gnome.org/arch/gnome/widgets/vte.html - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Frank Müller wrote: Hi. I'd like to embed an application

Re: file chooser widget

2007-10-05 Thread Micah Carrick
Take a look at: http://library.gnome.org/devel/gtk/2.12/GtkFileChooser.html#gtk-file-chooser-set-extra-widget - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Luis de Bethencourt wrote: Hello all, In my application I have inserted

GnomeVFS, gvfs, and FUSE

2007-10-03 Thread Micah Carrick
I have been reading that GnomeVFS should be avoided in the future. I have a GNOME application which works on text files opened locally or remotely via FTP and SSH using GnomeVFS. Should I move towards other options, such as FUSE? Is GVFS going to be the next GnomeVFS? -- - Micah Carrick

Re: Problems with GtkFrame

2007-01-19 Thread Micah Carrick
), GTK_SHADOW_ETCHED_IN); gtk_container_set_border_width (GTK_CONTAINER (frame), 10); And the second equivalent to: frame = gtk_frame_new (NULL); gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_IN); gtk_container_set_border_width (GTK_CONTAINER (frame), 10); - Micah

Re: move cursor with keyboard in a window

2007-01-12 Thread Micah Carrick
+ (and GDK): http://www.gtkforums.com/viewtopic.php?p=462 -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: Emulating MDI

2007-01-12 Thread Micah Carrick
resizable panes and tabbed notebooks. I think it's a nicer UI personally. -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: Question about GtkComboBox entry....

2007-01-11 Thread Micah Carrick
: http://www.gtkforums.com/viewtopic.php?p=457 -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

Re: Button - Launch context menu? ^^

2007-01-11 Thread Micah Carrick
: http://developer.gimp.org/api/2.0/gtk/GtkMenu.html#gtk-menu-popup Cheers, -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Can you use g_mem_profile with GTK+ apps?

2007-01-11 Thread Micah Carrick
: allocated=664682, zero-initialized=47892 (7.21%), freed=508372 (76.48%), remaining=156310 -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org

[gedit-list] Is this a bug or a limitation?

2007-01-11 Thread Micah Carrick
at a time, as soon as I inserted the 4098th character, the line disappears and reappears again when scrolling near the beginning of the line but kind of flakey. -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com

Re: Large strings in GtkTextView

2007-01-10 Thread Micah Carrick
is the code you're using to load the textview? -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Large strings in GtkTextView

2007-01-10 Thread Micah Carrick
Andrew Sobala wrote: Micah Carrick wrote: Andrew Sobala wrote: Hi guys, I just tried to load a ~200 kb string into GtkTextView, and there are bugs in the viewing of the string. The most noticeable is that when you try to scroll, the text disappears and/or overlaps. Is GtkTextView

Re: GtkPlot

2007-01-08 Thread Micah Carrick
Luka Napotnik wrote: Where can I get a decent example of GtkPlot usage? greets, Luka Download the source from http://gtkextra.sourceforge.net/src/gtkplot-5.0.tar.gz, build the source using 'make' and then run ./demo (and view demo.c for how it's done). -- - Micah Carrick Freelance

Re: Anyone know how to use a larger font for an entire application using Glade?

2007-01-05 Thread Micah Carrick
' - 'Preferences' - 'Fonts' under GNOME in FC6. If you really want to specify your own font, you may want to use an rc file: http://developer.gnome.org/doc/API/2.2/gtk/gtk-Resource-Files.html -- - Micah Carrick Freelance Developer http://www.micahcarrick.com | http://www.gtkforums.com

Re: GtkEntry text selection

2007-01-03 Thread Micah Carrick
You can use the focus signal to set the cursor position using gtk_editable_set_position with a position of -1 to indicate the end of the text. - Micah Carrick http://www.micahcarrick.com | http://www.gtkforums.com Anurag Chaudhary wrote: When I bring focus to a GtkEntry, all of its text

[gtk-list] GtkHTML Widget

2007-01-03 Thread Micah Carrick
I hear that GtkHTML2 is NOT a predecessor to GtkHTML3 but rather a different branch. I cannot find any documentation on either. Does anybody know if there is any documentation and what the difference is between these two? - Micah Carrick http://www.micahcarrick.com | http://www.gtkforums.com

Re: gtk_label_set_text leaking?

2006-12-28 Thread Micah Carrick
Why would you have and infinite loop continually setting the label's text... and why would you create the label with a only to immediately change it to f over and over? Would simply using 'gtk_label_new (f)' not suffice? Or perhapse a 'gtk_label_set_text (GTK_LABEL (mylabel), f)' once PRIOR to

Re: GDK_2BUTTON_PRESS and GDK_BUTTON_PRESS

2006-12-28 Thread Micah Carrick
in the GDK_BUTTON_PRESS event for some short period of time and then check a flag that is set by GDK_2BUTTON_PRESS to see if you want to abort the GDK_BUTTON_PRESS. Doesn't seem like the most elegant solution-- and I'm sure it's not. Just an idea. - Micah Carrick www.micahcarrick.com

Re: Trimming GtkEntry Text

2006-12-21 Thread Micah Carrick
for the length of characters in the string, try using g_utf8_strlen() instead. - Micah Carrick www.micahcarrick.com www.gtkforums.com Tony Freeman wrote: Hello, I have two problems I'm trying to work through that maybe someone here can help me with. I have a GtkEntry called

Re: Color selection

2006-12-21 Thread Micah Carrick
If I had to guess, I would say that since the 255 scheme has 256 different values per color (including 0) element, you could simply divide the 0-65535 color element by 256. - Micah Carrick www.micahcarrick.com www.gtkforums.com Alexander S.Kresin wrote: Hi All, I have a problem

Re: Dialog-like window?

2006-12-19 Thread Micah Carrick
*/ } /* clean up */ gtk_widget_destroy (dialog); gtk_object_unref (GTK_OBJECT (gxml)); return str; } - Micah Carrick www.micahcarrick.com www.gtkforums.com Fabricio Rocha wrote: Dudes, Is there a way

Re: How to get and change the RadioButton's display texts

2006-07-07 Thread Micah Carrick
/* radio is a GtkWidget for your radio button */ gtk_button_set_label(GTK_BUTTON(radio), Some New Text); ___ - Micah Carrick http://www.micahcarrick.com | http://www.gtkforums.com chao yeaj wrote: Hello ,all You know,the radio button has its

Re: Why gtk_bin_get_child() does not work?

2006-07-07 Thread Micah Carrick
This should work: GtkWidget *radio /* More code here to get or create 'radio' as a GtkRadioButton widget */ gtk_label_set_markup(GTK_LABEL(GTK_BIN(radio)-child), bhello/b); - Micah Carrick http://www.micahcarrick.com | GTK+ Forums http://www.gtkforums.com chao yeaj wrote: Hello ,everyone

Re: Help, How to mange the id returned by g_timeout_add

2006-07-07 Thread Micah Carrick
one pointer. But then again, I haven't been doing this very long. I'm sure there are better ways. - Micah Carrick http://www.micahcarrick.com | GTK+ Forums http://www.gtkforums.com chao yeaj wrote: Hello,all You know ,we can register a timeout function using g_timeout_add

GTK+ Gnome application in Notification Area

2006-03-19 Thread Micah Carrick
I cannot seem to find any documentation regarding placing an application icon in the Gnome notification area. The only thing I have found is a proposed spec at freedesktop.org. Is there any more information about doing this that anybody knows of? - Micah

List of Data Types and Macros

2006-03-19 Thread Micah Carrick
I use Gedit for GTK+ development and I have a customized .lang file for GtkSourceView which I add GTK+ and Glib types and macros to as I use them. This helps me catch typos as I'm working as they don't highlight if I've mispelled them. I was wondering if anyone knows of a script or a already

Re: Non-editable GtkComboBoxEntry?

2006-03-09 Thread Micah Carrick
Can you maybe return TRUE from some of the GtkWidget signals to prevent further handling... like the enter-event and grab-focus or something along those lines? I'm not sure what/when all those events do what they do. But just an idea. - Micah Murray Cumming wrote: Is there any good way

Wait until widget is shown

2006-03-09 Thread Micah Carrick
I have a function that will take some time to run.. actually, it forks out another process which can take up to say 4 seconds. I want to display a modal dialog during this time, or perhaps just a statusbar message. In any case, whatever I do does not show up until AFTER the process is

Re: Wait until widget is shown

2006-03-09 Thread Micah Carrick
Yes, it is: gtk_main_iteration_do() (see also documentation of gtk_events_pending()). Yeti Hah! Perfect. I knew it. Thanks! :) - Micah ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Updated tutorial - feedback anyone?

2006-03-05 Thread Micah Carrick
Hey, I've updated my Gnome programming with GTK+ tutorial. I would love some feedback. I'm thinking it may try to discuss too many topics all at once. Thoughts? Tutorials is at http://www.micahcarrick.com/v2/content/view/28/20/ Cheers, - Micah

Help with GdkPIxbuf and GtkImage...

2005-12-23 Thread Micah Carrick
Hi. I have a GtkImage in my glade file which I am trying to get to display image data that I have in memory. The data is in raw format, 3 bytes per pixel RGB. So, this is sort of what I'm trying to do now (v-image_data is a struct member with the array of guchar containing my image

GTK Forum

2005-09-20 Thread Micah Carrick
I realize many of you may find the mailing list to be sufficient, however, I've thrown up a forum at http://gtkforum.micahcarrick.com anyway. I've been contemplating it for a few months and, other than this list, I have not found any discussion resources exclusive to GTK+ programming (or the

Oh yeah and...

2005-09-20 Thread Micah Carrick
one more thing about gtkforums.micahcarrick.com ... if anybody knows some tutorials that they have found and liked and would like to post it that'd be cool. They seem scattered all over the internet. I've found a few that I liked quite a bit and will post them soon. Micah

Re: GTK Forum

2005-09-20 Thread Micah Carrick
http://gtkforums.micahcarrick.com or... http://www.micahcarrick.com/gtkforums/ Andrew Krause wrote: I really like this idea, but the link doesn't work... --- Andrew Krause [EMAIL PROTECTED] www.openldev.org . ___ gtk-list mailing list

Re: undo/redo for gtk-text-view

2005-09-14 Thread Micah Carrick
GtkSourceView, which is derived from GtkTextView-- and it's corresponding GtkSourceBuffer (GtkTextBuffer) has built in undo/redo capability I believe. - Micah http://www.micahcarrick.com Hans Oesterholt wrote: Hi, Does anyone know of an implementation for a undo/redo mechanism for

Gnome VFS and GtkTextBuffer, character encodings?

2005-09-12 Thread Micah Carrick
I'm still wet behind the ears hear so bare with me. I'm trying to load a text file into a GtkTextBuffer. When doing so with local text files, no problem. However, when I open a file that I created on my Windows system, the program crashes due to utf8 validation. So used g_utf8_validate()

Re: Gnome VFS and GtkTextBuffer, character encodings?

2005-09-12 Thread Micah Carrick
PS. Please ignore the line that reads: text_buffer = g_strconcat(, NULL); My bad :) - Micah Micah Carrick wrote: I'm still wet behind the ears hear so bare with me. I'm trying to load a text file into a GtkTextBuffer. When doing so with local text files, no problem. However, when I

How to get character encoding...

2005-05-29 Thread Micah Carrick
Is there a routine I can use to determine the character encoding of a text file so I can then convert it to UTF-8 for display in a gtkTextView? Micah ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

GnomeApp and positioning toolbars

2005-05-17 Thread Micah Carrick
how would one go about saving and restoring the position of the various BonoboDockItems in a GnomeApp so that if the end user moves a toolbar to a particular position, it is restore on the next instance of running the application. I can't find any api documentation on a BonoboDockItem. Micah

filechooser dialog question...

2005-05-16 Thread Micah Carrick
I have a file chooser dialog which i use to open and save files. However, I can't figure out how to make the Open button change to Save when I'm using it with GTK_FILE_CHOOSER_ACTION_SAVE. Any help? Micah ___ gtk-list mailing list gtk-list@gnome.org