indow gets a subwindow?
Thanks,
Till
--
Dr. Till Harbaum
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
t; On Tue, Dec 01, 2009 at 09:59:07AM +0100, Till Harbaum wrote:
> > i am changing the UI of an existing app for mobile usage in a way that i
> replace
> > some gtkentry's with some gtkbuttons which the use some alternate input
> method.
> >
> > I want to keep as m
Hi,
i am changing the UI of an existing app for mobile usage in a way that i replace
some gtkentry's with some gtkbuttons which the use some alternate input method.
I want to keep as much of the application as it is and one of the things the
app expects
is that this particular widget emits a "ch
file);
> while (fgets(buf, sizeof(buf), master_file))
> printf("parent got: %s", buf);
>
> } else {
> // child
> fclose(master_file);
> for (int i = 0; i < 500; i++) {
> sleep(1);
> fprintf(sla
Hi,
thanks again for that hint. Unfortunately adding
/* switch to line buffered mode */
if(setvbuf(fh, NULL, _IOLBF, 0))
perror("setvbuf(_IOLBF)");
to the program posted by Dov doesn't change anything.
Are there limitations on changing the buffer mode? E.g.
only
run, "clicked",
> G_CALLBACK(cb_clicked_run), NULL);
>
> // Finally quit button
> GtkWidget *w_button_quit = gtk_button_new_with_label("Quit");
> gtk_box_pack_start(GTK_BOX(w_vbox), w_button_quit,
>FALS
Hi,
i am trying to run a text mode application in the background of my gtk one and
display its output in a textview. I know this is supposed to be done using
g_spawn_async_with_pipes and then link to the output via g_io_add_watch. I even
got something that sort of works, but the output is very
Hi,
i'd like to do some graphic overlay. In this particular case i'd like to put
two buttons on top of a goocanvas.
I tried to hook into the expose event and just draw something to the gdkwindow
of the widget. That simply doesn't work. It works with a gtkdrawingarea, but
not with the goocanvas
Hi,
i have problems created a shaped (partly transparent) cairo overlay over a
gdkwindow
(a gtkdrawablearea already being used to display a pixmap).
The problem:
i am adding some "OSD" controls to a gtk map renderer. My first attempt was to
directly
draw my controls into the pixmap used for th
etreff: Re: Convert png inline into a gdk-pixbuf?
Gesendet: Do, 09. Jul 2009
Von: David NeÄas
> On Thu, Jul 09, 2009 at 08:46:39AM +0200, Till Harbaum wrote:
> > How can i decode a png image stored in a memory buffer into a gdk-pixmap
> without
> > saving it in a file during
Hi,
works like a charm, thanks!
Till
- original Nachricht
Betreff: Re: Convert png inline into a gdk-pixbuf?
Gesendet: Do, 09. Jul 2009
Von: David NeÄas
> On Thu, Jul 09, 2009 at 08:46:39AM +0200, Till Harbaum wrote:
> > How can i decode a png image stored in a memo
Hi list,
How can i decode a png image stored in a memory buffer into a gdk-pixmap without
saving it in a file during that process?
I have a png image downloaded from the internet and thus now stored in a memory
buffer. Now i'd like to convert that into a gdk-pixbuf without saving the file
to dis
Hi,
i have buttons with icons inside. For some reason the button is slightly bigger
than it needs to
be. Where do i adjust the border that's drawn around an icon in a button? Also
this only affects
the height. Is there some kind of preferred vertical size of a button?
Regards,
Till
__
Hi,
Am Dienstag 20 Januar 2009 schrieb frederico schardong:
> But now I must use allegro and libglade together.
Why not:
gcc -o main main.c `pkg-config --cflags --libs libglade-2.0` `allegro-config
--libs`
Till
___
gtk-app-devel-list mailing list
gtk-
Hi,
is there a way to wait for gtk events via some file descriptor
given to a select call?
I am porting an application to gtk that calls some "gimme_input"
function every now and then and want's me to do some waiting
for net sockets there. Now i'd like to use the same select call
i am using for
on the heavily
customized gtk framework delivered with the nokia n810?
Till
Am Mittwoch 10 Dezember 2008 schrieb Till Harbaum:
> Hi,
>
> i can't manage to get the activity mode of the progress bar to work
> on a ubuntu hardy running gtk 2.12.9
>
> Even th
Hi,
i can't manage to get the activity mode of the progress bar to work
on a ubuntu hardy running gtk 2.12.9
Even the example from
http://library.gnome.org/devel/gtk-tutorial/stable/x831.html
just makes the progressbar stop when i activate "Activity mode".
I was expecting it to show this blob
Hi,
Am Freitag 14 November 2008 schrieb Garth's KidStuff:
> The one subtle point for me was that any Gtk::Entry controls in the dialog
> ate the return unless I did the following:
>
> Gtk::Entry m_IDC_ADD_PAGE_TITLE;
> ...
> m_IDC_ADD_PAGE_TITLE.set_activates_default(true); // Enter while
Hi,
sorry to bother you again with a question. I am trying to set the background
color of a
statusbar. I have found several postings in the net indicating that this is
just a matter
of adding the statusbar to an eventbox and setting the background color of that.
However ... that just doesn't wo
Hi,
i just noticed, that there seems to be some automatic key binding for
the Escape key to the cancel/No/Close buttons of gtkdialogs. But there
doesn't seem to be a binding for Open/Yes/Ok which i expected to be
the Return key.
Are these bindings documented somewhere? I can't find anything.
Al
Hi,
since my last question got unanswered, please let me rephrase it:
How do i make a scrolledwindow to expand to accommodate
its contents?
I do have a varying set of items to be placed in a scrolledwindow.
I want this to be displayed in a dialog as small as possible. This dialog
should be bigg
Hi,
i have the following problem: I have a dialog with variable contents. Since this
content may even exceed the screen size (which isn't too difficult on a nokia
n810) i have put the entire content into a scrolled window.
My problem now is the dialog size. I want the dialog as small as possible
Hi,
Am Samstag 25 Oktober 2008 schrieb James Scott Jr:
> -- vbutton_box(x,y,z) -- postioned using end
Argh ... i can't believe i never realized that there's also a
gtk_box_pack_end. Thanks for pointing this out :-)
Till
___
gtk-app-devel-list mailin
Hi,
i have a vbox with a bunch of buttons. I want some of them to appear at the top
and some of them at the bottom. The buttons should not be expanded and the
space between them should also not expand except the space between the two
groups. Something like this:
(a)
(b)
(c)
(x)
(y)
(z)
How i
Hi,
you have to make sure that the parameters of your callback function
exactly match what's been described for this particular event. In your
case your have to check the "clicked" event for a GtkButton which gives
us:
void user_function(GtkButton *button, gpointer user_data)
So this is how
Hi,
is this the right place to ask a question about gnomecanvas?
I am using gnomecanvas for a mapping application (an openstreetmap editor for
maemo). Sometimes items are stacked (e.g. a building is a polygon which may
be placed in some some park which also is a polygon). The problem is that i ne
Hi,
try calling gtk's main processing routine while your task is doing
its work. Something like
while(gtk_events_pending ())
gtk_main_iteration ();
right after your update of the state of the progress bar should do the trick.
Till
Am Mittwoch 09 April 2008 schrieb Garth's KidStuff
Hi,
i am searching for the gtkhtml2 pendant of gtk_text_buffer_copy_clipboard()
which
is the function to be called if the user selects "copy" from an edit menu.
Any hint?
Thanks,
Till
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.or
olled window. And in fact it _must_ be placed
directly to make the scrollbars work as expected.
Till
Am Montag 19 Mai 2008 schrieb Till Harbaum / Lists:
> Hi,
>
> i have simple problem but hakf an hour of googling didn't give me an answer:
>
> How do i make an editabl
t all tutorials dealing with textviews inside a scrolled
window do this with non-editable textviews ...
Thanks again,
Till
Am Montag 19 Mai 2008 schrieb [EMAIL PROTECTED]:
> On Monday 19 May 2008 13:23:39 Till Harbaum / Lists wrote:
> > Hi,
> >
> > i have simple problem but
Hi,
i have simple problem but hakf an hour of googling didn't give me an answer:
How do i make an editable gtktextview inside a scrolledwindow to automatically
scroll to the cursor position?
This must be a very basic issue and i am sure it is answered in various simple
examples. But i just don'
Till
>
> On Sat, 2008-04-26 at 11:16 +0100, Till Harbaum / Lists wrote:
> > Hi,
> >
> > in have solved this problem. Here's the answer for reference:
> >
> > Instead of using gtk_tree_view_insert_column_with_attributes t
ce to
the column. Thus one can use gtk_tree_view_column_set_expand(TRUE)
on that column and voila ... the column scales nicely with the window width.
Till
Am Freitag 25 April 2008 schrieb Till Harbaum / Lists:
> Hi,
>
> i have a gtktreeview filling the complete width of a window. Now i wa
Hi,
i have a gtktreeview filling the complete width of a window. Now i want the
view to always use the full width. I therefore want the middle column (a text
column) to be flexible. I want it to be as wide as possible for any given window
width. So if you make the window wider i want this column
Hi,
i am still fighting with a strange problem. Some things need to be combined to
trigger it:
- I have a tabbed notebook
- One initially not visible (read: not the first) tab contains a scrolled win
- Inside this win are mutliple textviews (or gtkhtml views) in a vbox or table
- At least one of
Hi,
i have recently run into a layout problem i am unable to solve. I have a dialog
with a notebook and one of the notebooks
tabs is filled with the widget returned by the funktion below. This function
creates a scrolled window, puts a vbox inside and then add several textviews
and some hboxes
36 matches
Mail list logo