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 occure
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< SOME_NUMBE
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
>
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,
___
gtk-app-devel
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
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 sc
Maybe you can try to connect the "key-press-event"
signal. And in the callback, if it is F8 key, you can
return TRUE, i.e telling the lib that the signal is
handled properly, so the default action wouldn't take
place anymore?
Just my two cents,
BR,
VanHTran
--- Enrico Tröger <[EMAIL PROTECTED]> w
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.
GtkWidget *btn_list_vbox;
ui_create_dialog()
{
...create the dialog and few other widgets...
/* scrolled window */
scrolled_window = gtk_scrolled_win
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 can
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'm using a GtkBox to pack the child, more
specifically a GtkVbox,
How can i set the focus to a particular child?
And strangely gtk_widget_grab_focus(second_child)
doesn't work?
Best regards,
___
gtk-app-devel-list mailing list
gtk-app-devel-lis
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
event
16 matches
Mail list logo