Oops, It doesn't work, What's the problem.. ?
I describe in detail.
/* 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_NUMBER; i++)
{
val =
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
Greeting,
progress bar is updated "only" using timeouts ?
I read some big file and want to show up the progress how much App.
read file. so I use progress bar like below
double val;
for(i = 0; i< SOME_NUMBER; i++)
{
val = (100.0 /SOME_NUMBER)* i /100.0;
gtk_progress_bar_set_fraction(GTK_PR
On Sun, 2006-11-05 at 02:52 +, Peter Clifton wrote:
> Hi,
>
> I have been browsing the docs (and Google) to see if I can use an
> GtkEntryCompletion with a GtkComboBoxEntry widget. So far, it looks like
> the answer is "perhaps".
I implemented GtkComboBoxEntry completion for GnuCash. Take a
On Sun, 2006-11-05 at 03:36 +, Dena Ezra wrote:
> Hi,
>
> I have written a custom cell renderer for a list and would like to only draw
> text in the cell (inside the 'render' function) when it is the focused cell
> in the list.
Ok, so you have a render() function in your GtkCellRenderer-der
Hi,
I have written a custom cell renderer for a list and would like to only draw
text in the cell (inside the 'render' function) when it is the focused cell
in the list.
I have tried checking using ' if (GTK_WIDGET_HAS_FOCUS (widget))', but I
have found this does not make any difference and
Hi,
I have written a custom cell renderer for a list and would like to only draw
text in the cell (inside the 'render' function) when it is the focused cell
in the list.
I have tried checking using ' if (GTK_WIDGET_HAS_FOCUS (widget))', but I
have found this does not make any difference and th
Hi,
I have been browsing the docs (and Google) to see if I can use an
GtkEntryCompletion with a GtkComboBoxEntry widget. So far, it looks like
the answer is "perhaps".
I found this post, and the code does (in principle) what I want:
http://mail.gnome.org/archives/gtk-perl-list/2004-May/msg00145.
Adam Tee wrote:
> Hi,
>
> In my application, GNU Denemo, I have a toolbar which gets focussed on and I
> cannot seem to
> change the focus to the main drawing area widget.
>
> I have tried gtk_widget_grab_focus without success.
Probably your drawing area just cannot accept focus. Try
Hi,
In my application, GNU Denemo, I have a toolbar which gets focussed on and I
cannot seem to
change the focus to the main drawing area widget.
I have tried gtk_widget_grab_focus without success.
Thanks
Adam
Maintainer GNU Denemo
___
gtk-app-deve
Hello. I'm writing a function for the motion-notify-event event for my
window (the event is actually emited by the event box). But it simply
doesn't work. What's wrong?
gboolean window_move_event(GtkWidget *widget, GdkEventMotion *event,
gpointer data)
{
gint cur_x, cur_y, mouse_x, m
Hi,
I am new here, just found this cool place.
I am working on the cpp project which using gtk2+ for the GUI for cross
platform. It loads a configuation file (client.ui) and also reads a gtk rc
file (client.rc) together to work with the gtk part.
has anybody seem this kind of design before ? I
hello,
I want to know how to get the height of a treeview heading labels. I want to
have a drawing beside a treeview and line things up with rows in the treeview.
Any ideas?
Thanks,
Kim
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hello
I started porting GTK 1.2 applications to GTK 2.x.
Beside the porting guide is there a list with the new
api functions with examples of the depreceated functions.
Can I use the old api's? In what GTK 2.??? or 3.?? release in future
will this api's
be not longer supported?
Thanks
günthe
14 matches
Mail list logo