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.
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 r
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
On 10/2/05, Christian Neumair <[EMAIL PROTECTED]> wrote:
>Good luck! :)
...it sound like I need a lot of it!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 10/1/05, The Saltydog <[EMAIL PROTECTED]> wrote:
> On 10/1/05, Christian Neumair <[EMAIL PROTECTED]> wrote:
> >
> > Do you want to arrange that your tree view does no horizontal scrolling
> > at all, or that only the second column scrolls?
>
> No, I n
On 10/1/05, Christian Neumair <[EMAIL PROTECTED]> wrote:
>
> Do you want to arrange that your tree view does no horizontal scrolling
> at all, or that only the second column scrolls?
No, I need horizontal scrolling, but the first column must be fixed as
an header. The treeview should scroll from t
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
http://mail.gnome.org/mailman/listinfo/g
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
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
http://mail.gnome.org/mailman/listi
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 h
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 wo
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:
http://developer.gnome.org/projects
On 8/7/05, Yogesh M <[EMAIL PROTECTED]> wrote:
>
> how to hide close button in gtk dialog?
>
What do you mean by "hide"? If you don't want the close button, just
don't create it, if you need to set it to "grey" (unsensitive), you
should use
gtk_widget_set_sensitive(,FALSE);
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, John Coppens <[EMAIL PROTECTED]> wrote:
> Probably the easiest way to do that is to access the /etc/mtab file or
> the /proc filesystem (/proc/mounts)
Yes, I am currently accessing /etc/mtab, but I need some more data
such as total size, bytes available (a sort of df), so I should write
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
http://mail.gnome.org/mailman/listinfo/gtk-app-de
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
http://mail.gnome.org/mailm
On 8/5/05, Bhatnagar Achindra <[EMAIL PROTECTED]> wrote:
> I need to make http: Get/Post queries through my GTK application,
I have used successfully libcurl or libsoup.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.o
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 != CALLBACK_
On 7/30/05, xue_hu2001 <[EMAIL PROTECTED]> wrote:
> I am making a problem using glade . I have insert a image into the
> window , now I wang to copy one region to another place in the same
> picture . how can I do , if anybody have any ideas? Can
> gdk_draw_drawable do it ? how to use it ? help me
I have read that use of gnome_entry_new is deprecated, but
GtkComboBoxEntry doesn't have the same "history-saving"
functionality..
I need to set up a GtkComboBoxEntry with an "history" list. Should I
handle it by myself, or is there any replacement function?
___
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
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
In my program I need to include the right header for
gnome_vfs_get_file_mime_type. I have found that the header is in
/usr/include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime.h. If I
put this include line:
#include
the module is not found, even if I add the right path for inclusion.
The only
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 chang
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
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);
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 th
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 concerni
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
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 que
does anybody know where can I find documentation concerning use of GtkHTML?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 7/20/05, Søren Juul <[EMAIL PROTECTED]> wrote:
> Is it possible to use a int in labels? or is it only chars?
>
> Søren J
you can pack the int into a string with functions like sscanf() and
then set the resulting string into the label.
___
gtk-app-dev
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 ma
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
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
http://mail.gnome.org/mailman/listinfo/gtk
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 mail
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
cr
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 3
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
gtk-app-dev
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
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
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
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
gtk-app-devel-list@gnom
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 necessar
I have an annoying problem...
Open a GtkFileChooserDialog, select the file, click "Open"... then
execute a time-demanding subroutine. The dialog doesn't close until
the subroutine exists.
This is a snap of the code:
**
if (gtk_dialog_run (GTK_D
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 th
On 7/9/05, Maciej Katafiasz <[EMAIL PROTECTED]> wrote:
> This error means you don't have any mainloop running that could be
> stopped. Seems like you're running gtk_main_quit() too many times, you
> should rather exit the process (via exit() or return from main()).
It is due to the fact that I am
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 no
I need to send a data structure over an io_channel. In the reference
manual, I found that the only available instruction to write data in a
channel is:
GIOStatus g_io_channel_write_chars(GIOChannel *channel,
const gchar *buf,
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?
__
54 matches
Mail list logo