Hi,
--- Kim Jongha [EMAIL PROTECTED] wrote:
/* and the for loop */
double val;
for(i = 0; i SOME_NUMBER; i++)
{
val = (100.0 /SOME_NUMBER)* i /100.0;
g_idle_add(show_bar_idle_cb, INT_TO_POINT(val));
**SOMEWORK**
}
The problem is that timeout events don't occured
before
I would do it like this, but sorry i haven't got time
to confirm it would work.
/* pseudo code*/
gboolean * show_bar_idle_cb(pointer val)
{
gtk_progress_bar_set_fraction(POINT_TO_INT(val));
return FALSE to exit the idle
}
/* and the for loop */
double val;
for(i = 0; i
Hi,
Have you tried setting the sort func to NULL before
inserting the rows? That should basically disable the
sorting
Cheers,
TranVan Hoang
--- raul o [EMAIL PROTECTED] wrote:
Hello:
Well, I have a trouble when I add a lot of rows
(+700)in a list. I know that the problem are in the
sort
Hi all,
I'm just wondering if gtk-app-devel-list mailing list
should include some prefix, something like
[gtk-app-dev] before each subject?
I'm subscribed to a few mailing lists and it can get
quite confusing sometimes.
TranVan Hoang,
___
Hi all,
I want to have a FIXED_SIZED colum that displays some
text, followed immediately by some number. Here is the
code:
// cell renderers
textRenderer = gtk_cell_renderer_text_new();
numberRenderer = gtk_cell_renderer_text_new();
g_object_set(G_OBJECT(textRenderer), ellipsize,
Hi all,
I am trying to make my Gtktreeview able to truncate
the long text rows by doing this
textRenderer = gtk_cell_renderer_text_new();
/* Make the rows able to ellipzise (truncate with
...) the text */
g_object_set(G_OBJECT(textRenderer), ellipsize,
PANGO_ELLIPSIZE_END, NULL);
Hi, my guess is that the gtk_show_about_dialog(),
you're missing the value for verions, and also
argument list is ended with a NULL. In your case, it
does not. So that could the problem.
Cheers,
--- Peter Robinson [EMAIL PROTECTED] wrote:
Hi guys and gals,
I have recently started to learn
Hi all,
Anyone using gtkhtml, _not_ gtkhtml2, library out
there, please help me with this problem:
I have a gtkhtml widget contained in a scrolled
window. I want to be able to, when pressing Right
Arrow key, jump to the first focus-able object in that
html portion of the page displayed in that
Hi!
I want to have a scroll window, which contains a vbox.
This vbox will later on be added with a list of check
buttons, dynamically.
snip
GtkWidget *btn_list_vbox;
ui_create_dialog()
{
...create the dialog and few other widgets...
/* scrolled window */
scrolled_window =
Hi!
I want to implement some kind of FOLDER browser window
using GtkTreeView. This tree has 2 columns, first
column for some icon, and the second for the folder
name
I have 4 icons
1. icon of a Folder open
2. icon of a Folder closed
3. icon of a small + sign
4. icon of a small - sign
If icon 1
Hi all,
I get a Segmentation fault in a gtktreeview i'm
using. Basically, it's a Treeview with expandable
folders (like a file browser)
The problem is: The program crashes very randomly when
i just try to click to expand/collapse the folders,
particularly when the tree has depth = 3. After a
Hi,
I'm using gtkhtml library to display a list of items
in a webpage.
One possible way is to parse the whole page before
displaying it but it will keep users waiting.
I want to display some items, and then append it to
the page, without reloading the content,
_just_appending_, so that users
Hi all,
Does any one know a good site on gtkhtml? It seems
there are not that many compelete document on its
API.
Or are there any projects that use gtkhtml
_extensively_ somewhere so that i can refer to?
Thanks a lot for any reply
Best regards,
TranHoang
Hi all,
I have this GtkSocket embedded as a child (among a few
other children) to a parent window.
Whenver the focus is on the Socket, all the key events
are not caught and therefore the parent window doesn't
respond to these key events.
Is there any way for the parent window to catch these
14 matches
Mail list logo