This is more related to Glib than to gtk+, but I wonder if anyone can help.
I have an array of strings, created with g_strsplit() function. Then I
need to add another array, also created with the same function, or
some single string.. Is there a shortcut to accomplish this, or should
I play with
On 10/5/05, Matthias Clasen [EMAIL PROTECTED] wrote:
On Wed, 2005-10-05 at 16:29 +0200, The Saltydog wrote:
If you are already scared by that, then maybe C is not the right
language for you ? How about using e.g python ?
I was jocking.
___
gtk-app
On 10/2/05, Christian Neumair [EMAIL PROTECTED] wrote:
Maybe you should create two GtkTreeViews that share one model and pack
both into scrolled windows with different scroll policies. These two
scrolled windows should then be packed into one hbox. Good luck! :)
The problem is that I want just
Is there any way to have the first column fixed in a GtkTreeView, not
scrolling to the left? I need to headers: the first row and the first
column...
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On 9/27/05, David Rosal [EMAIL PROTECTED] wrote:
In my GTK2 program, I use the macro _(str) to translate the strings.
str is in english (ASCII), but the translation may be encoded in an
arbitrary codeset (e.g. ISO-8859-1 or KOI-8...). The question is: Does
the glib macro _(str) convert the
On 9/10/05, Mystilleef [EMAIL PROTECTED] wrote:
The problem only seems to happen on Ubuntu for me. Are you by any chance using
Ubuntu?
yes. Breezy.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
How can I force the horizontal main window size, in order to show the
full toolbar elements?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I have recently updated to Gtk+ 2.8.3 and I have noticed that each
time I open a GtkFileChooserDialog in my application, I got this
message:
Gtk-CRITICAL **: gtk_file_system_path_is_local: assertion `path != NULL' failed
With previous version of Gtk+, I was not getting this. What am I missing?
On 8/13/05, Pseudo Nym [EMAIL PROTECTED] wrote:
The signal handler for a button in my main window launches a file
chooser dialog, then processes the selected files.
I try to hide the dialog during processing with 'gtk_widget_hide
(dialog);' but this does not take effect until the signal
On 8/8/05, Yogesh M [EMAIL PROTECTED] wrote:
found it, sometimes it is neccessary to avoid
confusion.
for example in a dialog i have a cancel button, now if
the window show a close button, it is a confusion that
whether the window closes or the cancel activates or
both.
You can work on
On 8/7/05, Yogesh M [EMAIL PROTECTED] wrote:
when i create a new dialog, it comes with close button, i am talking about
the button in the title bar. how to disable/remove it
You should NEVER play with this. It is against Gnome Human Interface Guidelines:
On 8/5/05, Brian J. Tarricone [EMAIL PROTECTED] wrote:
Note that /proc/mounts is not portable...
Is /etc/mtab portable?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 8/5/05, Bhatnagar Achindra [EMAIL PROTECTED] wrote:
Is there any XML library available in GTK natively,
try libxml http://xmlsoft.org/html/libxml-lib.html
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Is there some VFS or glib function to get the list of all mounted
devices with their mount points, or should I use standard GNU-C
libraries?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
I am using gnome_vfs_monitor_addto monitor a directory. When there
are subsequent changes to the dirctory, the application crashes with
this message:
libgnomevfs-ERROR **: file gnome-vfs-monitor.c: line 246
(actually_dispatch_callback): assertion failed:
(callback_data-send_state !=
On 7/29/05, Iago Rubio [EMAIL PROTECTED] wrote:
snip
Great and exhaustive reply, thank you!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I need to query a group of radiobuttons to know which one is active.
Should I get each one's state or is there a shortcut?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I am experiencing some problem on gtk_tree_store_set when compiled on
amd64 or powerpc. The segfault I have in such cases is referring to
the fact that the argument list is not ended with -1.
Looking at the gtk+ code, I have found that gtk_tree_store_set is
calling gtk_tree_store_set_valist, but
On 7/28/05, Brian J. Tarricone [EMAIL PROTECTED] wrote:
If you post a section of source code showing what you're trying to do,
we might be able to help.
sorry.
This is my code:
**
gtk_tree_store_append(model,firstiter,NULL);
On 7/28/05, Tim Müller [EMAIL PROTECTED] wrote:
So what GTypes are those columns, ie. what does your gtk_tree_store_new() line
look like?
What type does your calc() function return? float? int? something else?
What type is g_fs.used?
This is tree_store_new:
GtkTreeStore * mdl =
On 7/28/05, Stefan Kost [EMAIL PROTECTED] wrote:
hi,
and why do you pass the guint64 to a slot of type G_TYPE_DOUBLE?
Either cast to (double) or use G_TTYPE_UINT64 for the column.
Apart its a good idea to use an enum for the columns ids ;)
Yes, I have just realized that! I am changing to
On 7/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Could anyone tell me how to solve this problem? I'm quite lost. I tried
to google on this, but most results where either irrelevant, or ended up
with this same question, but not the answer :)
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
On 7/26/05, Tristan Van Berkom [EMAIL PROTECTED] wrote:
if you use threads for this you dont have to bother with all the
gdk_threads_enter/leave stuff as long as your child thread is just
a worker thread, it can communicate with a GAsyncQueue.
The online documentation is very poor concerning
I have an application that performs deep directory recurrent scanning.
During such scan, at each iteration, I execute while
(gtk_events_pending()) { gtk_main_iteration(); }in order to keep the
GUI updated from the directory scans results. It works fine, at an
acceptable speed.
Now my
On 7/19/05, Roger Leigh [EMAIL PROTECTED] wrote:
Yes. Just call gtk_tree_view_set_model().
Yes, but what if the alternative model requires a different
column-layout of the treeview? Can I change dynamically the layout
when switching to other model, or should I keep things separated and
On 7/20/05, Christian Schneider [EMAIL PROTECTED] wrote:
file == Null if a german special charakter is
involved!
You should use g_filename_to_utf8() or g_locale_to_utf8() before
displaying the string in a gtkwidget..
___
gtk-app-devel-list mailing
I was looking at libwww, but it doesn't seem to be suitable for gtk+
applications.. Is there any equivalent library with the same
functionalities?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On 7/20/05, The Saltydog [EMAIL PROTECTED] wrote:
I was looking at libwww, but it doesn't seem to be suitable for gtk+
applications.. Is there any equivalent library with the same
functionalities?
More on this... I have found libsoup, that is glib-based. But there is
no documentation around
On 7/20/05, Arx Henrique [EMAIL PROTECTED] wrote:
libcurl is very good too
i'm using here to get html content from one pabe and write in gtkhtml widget.
Thanks you.. And where can I get the API reference for libgtkhtml?
___
gtk-app-devel-list
I need to switch (from user action) 2 different models on the same gtktreeview.
Is it allowed?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I have problems with different versions of gcc.
With gcc v.3.3.5, this line complies fine:
g_array_append_val(hardLinkArray,(guint)inode);
with gcc v.4, I am getting this error:
error: invalid lvalue in unary ''
I have also tried removing the cast (guint) before the variable inode,
and with
How can I change the title of a TreeView column already inserted?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 7/15/05, The Saltydog [EMAIL PROTECTED] wrote:
How can I change the title of a TreeView column already inserted?
found, sorry: gtk_tree_view_column_set_title ()
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org
In my application I have a TreeViewColumn which holds a column of
checkboxes. Depending on user actions, I need to grey the whole
checkboxes, so they become un-editable... I didn't find the way to do
that.
___
gtk-app-devel-list mailing list
What I am really missing from Perl is the libwww library to create
user-agents, parse HTML code, etc...
Is there such a tool available also for gtk+/glib, or maybe I should
switch to mono/gtk#??
___
gtk-app-devel-list mailing list
You can find a nice tutorial here:
http://scentric.net/tutorial/treeview-tutorial.html
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 7/9/05, The Saltydog [EMAIL PROTECTED] wrote:
It is due to the fact that I am running a time-demanding deep routine
in main before executing gtk-main. Then, from the routine I am
executing
while (gtk_events_pending()) { gtk_main_iteration(); }
so that the GUI comes up
On 7/9/05, Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote:
If you only call the function to destroy the dialog after your long
subroutine, it will only be destroyed after the subroutine, naturally.
You must call gtk_widget_destroy before calling the subroutine. Besides,
it might be necessary to
On 7/8/05, Vivien Malerba [EMAIL PROTECTED] wrote:
Beware however that depending on the contents of your structure, you
may have some problems if you exchange data this way between machines
which do not have the same endian-ness (if it's on the same machine,
then no problem!).
should not be
I need to stop my application even if a loop is running. By executing
gtk_main_quit() I got this error:
Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed
..but I didn't started any new loop. It is the main loop that is
running. How can I safely stop it?
40 matches
Mail list logo