Sorry, looks like the attachment got stripped.
Here you've got the code.
#include
// gcc `pkg-config --cflags --libs gtk+-2.0` test_w.c
gboolean
scroll_viewport (gpointer data)
{
GtkWidget *viewport = (GtkWidget*)data;
GtkAdjustment *adj;
gdouble upper;
adj = gtk_viewport_get
g Hosler [EMAIL PROTECTED]|
> +-+
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
>
> iD8DBQFHoxEZ404fl/0CV/QRAt15AKDkFmYJ0O3r6I43gYCGt8CBERM5pQCgskNM
> bti/JRyFsA6JYX5C4
You need here a function to create the same submenu for every menu item.
It have nothing to do with reference counting.
P.S. Sorry for the private mail. It was meant to be sent to the list.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-dev
On Wed, 2007-01-03 at 13:02 -0200, Leandro A. F. Pereira wrote:
> Greetings!
>
> When you program with GTK+ (or GLib) with C, sometimes there's a need
> for temporary dynamically-allocated variables. The problem is to free
> them in the right time — or worse — having to use even more auxiliary
> v
ng on
> text/directory.
If you can use GtkFileFilter - as for GTK+-2.4 - you can use
GtkFileChooser and with the GtkFileAction set to
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnom
de the tabs, and pass from one page to another
trough the button's "cliked" event - so you should put one button on
each page.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gt;From int to gdouble ???
gdouble d;
int i = 3;
d = (gdouble) i;
or
d = i;
A gdouble doubles in size an int ... so, what's the problem ?
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Tue, 2006-08-22 at 11:54 +0200, Iago Rubio wrote:
> On Tue, 2006-08-22 at 09:22 +0200, Fernando Apesteguía wrote:
> > I'm still looking for a solution. My app has internationalization support.
> > So make the window fixed is not possible in order to allow all the different
ion.
>
> More ideas?
Have you tried to pick the child's requisition and resize the window to
it ?
Try out the example attached.
Cheers.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
re_set (store, &iter, 0, "Hi one", 1, 1, -1);
g_signal_connect_swapped ( dialog,
"response",
gtk_main_quit,
NULL );
gtk_widget_show (dialog);
gtk_main ();
return 0;
NULL );
gtk_widget_show (dialog);
gtk_main ();
return 0;
}
> And if more than one widgets can be passed to the function, how can I access
> them ?
This depends on the method you used.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
// want to continue
return FALSE;
}
void
traverse_model (GtkTreeModel *model)
{
gtk_tree_model_foreach (model, foreach_func, NULL);
}
Hope this helps.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gn
ries at once ?
If you're using those calls, your combo box uses a list store as tree
model so the function below will suffice.
void remove_all (GtkComboBox *combo_box)
{
GtkTreeModel* model;
model = gtk_combo_box_get_model (combo_box);
gtk_list_store_clear (GTK_LIST_STORE(model));
}
Ho
the iter twice - one on remove,
second on gtk_tree_model_iter_next.
Cheers.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
t - among a myriad other causes - will need redraw to happen - thus
the expose-event signal will be raised.
You can get rid of this loop, and you must not destroy the pixbuf until
the widget is destroyed.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
{
printf("@data is=0x%x\n",scanner->value.v_int);
sprintf(DATA,"0x%x",scanner->value.v_int);
printf("\n\n\ndata=%s\n",DATA);
}else{
printf ("data is not int (%s)\n&qu
ner without holding a
reference to it, as it can be destroyed when you do that.
The steps for re-parenting a widget should be:
g_object_ref()
gtk_container_remove
gtk_container_add
g_object_unref()
But better to try gtk_widget_reparent ().
--
Iago Rubio
r, but I bet they are false positives.
> ==29096==still reachable: 41,380 bytes in 618 blocks.
That's completely normal. Surely they're static variables holding
pointers to freed memory.
>From this output, I don't see an obvious leak.
--
Iago Rubio
___
On Sun, 2006-08-06 at 11:38 +0200, David Nečas (Yeti) wrote:
> On Sun, Aug 06, 2006 at 09:45:00AM +0200, Iago Rubio wrote:
> >
> > I've just compiled and run this code snippet with valgrind, and the
> > results are on my system (Fedora):
> >
> > E
On Sun, 2006-08-06 at 11:37 +0200, gwenhael wrote:
> On Sun, 06 Aug 2006 09:45:00 +0200
> Iago Rubio <[EMAIL PROTECTED]> wrote:
>
> > On Fri, 2006-08-04 at 13:25 +0200, gwenj wrote:
> > > Hello,
> > > I use gtk+ for my soft's graphic interface.
&g
#x27;s difficult to write more simple code...
Well if you catch the preprocessor output you'll realize that things are
not always as simpler as they look. Your code grows to 32603 lines
before compilation :)
--
Iago Rubio
___
gtk-app-devel-list ma
raries to your arm build system.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ogram from a DOS prompt ?
Can you post a code snippet reproducing your problem ?
What Win32 version are you using ?
With a little more information will be much easier to help you.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-lis
ou may take a look at GThread implementation.
http://developer.gnome.org/doc/API/2.0/glib/glib-Threads.html
Said that, it's much better not to start programming complex network
based multi-threaded applications unless you've got some programming
background on single-threaded environments
ttp://www.gtk.org/api/2.6/gtk/gtk-gtkfilefilter.html
2.- Do not allow the file chooser to move out of this directory:
http://www.gtk.org/api/2.6/gtk/GtkFileChooser.html#GtkFileChooser-current-folder-changed
http://www.gtk.org/api/2.6/gtk/GtkFileChooser.html#gtk-file-chooser-set-current-folder
--
0);
>
> the page exists, right?
>
> So, there is really something missing? What is it?
gtk_widget_show_all (vbox);// ??
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
create (widget->window);
cairo_set_operator(ct, CAIRO_OPERATOR_DEST_OVER);
// ...
This is available as for GTK+2.8.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
sX is not just bright but
sparkling.
Just a counsel if you're going to develop multi-platform GTK+ apps: glib
is your best friend, use it as much as you can.
Regards.
--
Iago Rubio
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app
gtk_widget_request_size and
> the alike requests?
If you mean gtk_widget_size_request yes there will be differences but
not what you want. This will set the preferred size of your window so
you won't be able to shrink it.
--
Iago Rubio
__
gtk-cell-renderer-start-editing
Regards.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
en);
while( item ){
if( GTK_IS_LABEL(item->data) ) return GTK_LABEL(item->data);
item = item->next;
}
return NULL;
}
Cheers.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
const gchar*
label_text)
{
gtk_button_set_label (GTK_BUTTON(radio_button), label_text);
}
Cheers.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
display support on GDK is active since 2.2
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gint *width,
gint *height);
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-get-size
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
You must use gdk_threads_enter and gdk_threads_leave surrounding any UI
change on the thread, to acquire the gdk global mutex.
On Mon, 2006-05-15 at 13:50 +0200, nik600 wrote:
> hi
>
> i upgrade a progress bar from the body of a thread with the following code:
>
> void *body_monitor_avanzamento(
.." from the stack (statusbar stack I mean)
gtk_statusbar_pop (statusbar, context_id);
gtk_statusbar_push (statusbar, context_id, "File open(ed)");
> I'm trying but the only sentence that is written is the last one."File
> Open".
> Thanks a
r end of list
gtk_dialog_run (GTK_DIALOG(aboutdialog)); // this will make it modal
gtk_widget_destroy (aboutdialog);
> return 1;
> }
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ur application will always 'live' in the gtk main loop proccesing GTK
events.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Wed, 2006-03-15 at 13:36 +0100, Iago Rubio wrote:
> void
> on_button1_clicked(GtkButton *button, gpointer user_data)
> {
> gchar *output;
> GError *error = NULL;
> GtkWidget *label = lookup_widget(GTK_WIDGET(button), "label1");
> GtkWidget *entry =
ry ){
output = g_strdup_printf("%s %s=%s",
BROWSER,
url,
gtk_entry_get_text(GTK_ENTRY(entry))
);
g_spawn_command_line_async (output, &error);
if( error ){
g_print( "Error: %s\n", error->message );
g_error_free(error);
}
}
}
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
e("Writing to disk...");
> writeTriggers();
> }
>
> g_message("Done!");
> return 0;
> }
> I suspect its something to do with the scope of newTrigger but since I'm
> dynamically allocating it I don't see how.
May be the deletion of the old trigger ??
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
7;/home/user/Project/project1/pixmaps/');
You can add as many as you want, but a better solution may be to try
gdk-pixbuf-csource and get rid of pixmap images.
Try `man gdk-pixbuf-csource`.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
g the same font, and in this case it's sure they're
not using the same font.
Take a look at /etc/fonts/fonts.conf - if it exists in AIX - and ensure
they're using a font with u+0020 support such as Bitstream Vera as
default.
--
Iago Rubio
__
On Tue, 2005-11-01 at 09:33 +0100, Gian Mario Tagliaretti wrote:
> 2005/11/1, Iago Rubio <[EMAIL PROTECTED]>:
>
> > Quoted text is from the doc.
> > http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html
>
> Thanks Iago but I've read the docs
r."
Quoted text is from the doc.
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html
Regards.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
course, just try it.
Meanwhile you use valid C identifiers there'll be no problem at all.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 2005-10-27 at 14:38 -0300, Jorge Monsalvo wrote:
> Hi all,
>
> I were working in a project with GTK 2.6.7 on Windows and I'm trying to move
> it to 2.8.5 to use some new capabilities. But when I compile the code, all
> the "gtk_combo_box_new_text" rutines instead of the old "button style"
On Wed, 2005-10-26 at 12:13 +0800, Falls Huang wrote:
> Thank u!
>
> Can I use the glibmm instead of STL in C++ ?
glibmm itself uses STL, so you can use STL with glibmm.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@
On Wed, 2005-10-26 at 11:35 +0800, Falls Huang wrote:
> Is a C++ GLib wrapper available or being worked on?
http://www.gtkmm.org/
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/
CHOOSER(dialog), filter);
>
> but that doesn't trigger the refiltering...
>
> Anybody an idea?
Not quite elegant and untested but, have you tried to re-set the
directory before to set the new filter ?
gtk_file_chooser_set_filter (chooser, filter);
gtk_file_choo
now if only i could find a simple way to break the
> path up.. oh well one step at a time..
>
> thanks for the help...
dirs = g_strsplit(path, "/", -1);
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
iter3,
iter2); // parent "/someuser"
SET "/subdirs" on iter3
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 2005-10-20 at 17:44 +0200, Iago Rubio wrote:
[snip]
> gint
> your_tree_iter_compare_func (GtkTreeModel *model,
> GtkTreeIter *a,
> GtkTreeIter *b,
> gpointer user_data)
&g
On Thu, 2005-10-20 at 19:12 +0200, Christian Neumair wrote:
> Am Donnerstag, den 20.10.2005, 17:44 +0200 schrieb Iago Rubio:
> > On Thu, 2005-10-20 at 19:06 +0800, searun wrote:
> > > Hi ,
> > >
> > > Now i want to use GtkTreeSortable to sort a list. The first
them
.
gtk_tree_path_free(path_first);
gtk_tree_path_free(path_a);
gtk_tree_path_free(path_b);
}
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
can't follow the lines. In other words, how to keep in
> synchro the textview with the scroll, while text is added?
gtk_text_view_scroll_to_iter(
textview,
gtk_text_buffer_get_end_iter (
gtk_text_view_get_buffer(textview)
)
nd does not allocate memory.
The first moves the text to the start of the buffer with g_memmove and
the second just places a null character in each space character from the
end of the buffer to the first non-space character.
http://cvs.gnome.org/viewcvs/glib/glib
On Sun, 2005-10-16 at 22:54 -0700, Brian J. Tarricone wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Iago Rubio wrote:
> > On Sun, 2005-10-16 at 15:03 +0800, 周清博 wrote:
> >
> >> If I use them as ordinary files, how can I know the path
> >>a
On Sun, 2005-10-16 at 15:03 +0800, 周清博 wrote:
> Hi,
>
> I'm new to GTK development.
> In Windows environment, pixmaps are often compiled into the binary as
> resources. Or by making an installer, they can be installed as
> ordinary files, in a location that fixed relative to the binary
> executabl
the .exe using dlltool, and
> link the plugin against that import library.
It seems to me that's using gcc and GNU tools but ...
How can it be done with the MSVC compiler ?
Thanks in advance.
--
Iago Rubio
___
gtk-app-devel-list
* callback function */
void
on_button_clicked (GtkButton * button,
gpointer user_data)
{
MyData *data;
data = (MyData*) user_data; // casting from gpointer
/* you can now access data->whatever */
}
Hope this helps.
--
Iago Rubio
();
// out the main loop free data
g_free(data);
}
GtkWidget*
create_window(MyData *data)
{
gchar** array;
array = data->array;
// from here you can pass it to callbacks
}
Hope this helps.
--
Iago Rubio
__
On Wed, 2005-10-05 at 08:15 +0200, Iago Rubio wrote:
> On Mon, 2005-10-03 at 01:37 -0700, lucapetra (sent by Nabble.com) wrote:
> > Thanks. Another question:
> > How i have to modify the makefile ? I have to compile using 'pkg-config
> > --cflags --libs gtk+-2.0 gth
> I tried to modify CFLAGS, LIBS, PKG-CONFIG but don't works.Thisi is the
> error: 'undefined reference to g_thread_init'
Modify your configure.in and Makefie.am files.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-de
e to read text that I had got with a camera.
> And the must wil be to read a music partition to translate in midi code
> or something else...
Take a look at ocrad,
http://www.gnu.org/software/ocrad/ocrad.html
--
Iago Rubio
___
gtk-app-devel-list
single line break,
with an editor expecting Unix/OsX EOLs - so LF - it will show double
spaces.
The first CR is taken as MacOs EOL, and the LF as Unix EOL.
What happens if you "dos2unix" all those files ?
Regards.
--
Iago Rubio
___
gtk-app
GET( tb_result ) );
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (tb_result));
gtk_text_buffer_insert_at_cursor ( buffer,
result,
strlen(result));
--
Iago Rubio
___
35)*255);
blue = (gint) ((b/65535)*255);
color = red | (green << 8) | (blue << 16);
return color;
}
It may be some loose of accuracy in both functions, on the gfloat ->
gint conversion.
--
Iago Rubio
___
p level container the last - to
avoid redrawing on screen - but I think it should have nothing to do
with using gtk_widget_show() or gtk_widget_show_all().
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
);
chdir((const gchar*) install_dir);
g_free(install_dir);
Hope this helps.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
u understand in deep memory
management, pointers and operators, will help a lot.
I also recommend you to read this tiny document (45 pages) where all the
pitfalls you made are described clearly:
http://cslibrary.stanford.edu/101/EssentialC.pdf
"basic types" at pag. 3
"= is not ==" at
pkg-config --exists gnome-vfs-2.0 ; then
echo "yes"
pkg_modules="$pkg_modules gnome-vfs-2.0"
else
echo "no"
AC_MSG_ERROR(gnome-vfs-2.0 not found please install the gnome
development package)
fi
Remember to run autoconf after the changes to let a
> what z wrong i am doing here;
It seems your Glade file may be messed a bit, so you're using two
variables to hold the GtkWindow pointer, but you initiallize one and
then use the other (uninitiallized) one.
--
Iago Rubio <[EMAIL PROTECTED]>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
const gchar *blurb,
GType object_type,
GParamFlags flags);
--
Iago Rubio <[EMAIL PROTECTED]>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
h
for each
> column; as far as i can remember, setting the model to NULL didn't work
> :-/
gtk_tree_store_clear(
GTK_TREE_STORE(gtk_tree_view_get_model(treeview))
);
--
Iago Rubio
___
gtk-app-devel-list mailing li
want to learn the most on GTK internals,
don't use gtkmm, use gtk.
Use gtkmm if you like C++ and you want good C++ bindings.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ler(gtk+1.2.10) gave the following error:
The function does not exists on gtk+-1.2
http://developer.gnome.org/doc/API/gtk/gtkwindow.html
Try to port your app to gtk+-2.0
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-
get-focus
--
Iago Rubio
_
emes/gtk2/
> and how do you invoke them?
> e.g., as a command-line option like ./helloworld --alternate_theme
Try gnome-theme-manager, on the "Preferences" menu the "Theme" entry.
--
Iago Rubio
___
gtk-app-devel-list mailing list
msgmerge msgfmt
Here you've got a primer on gettext i18n in a single page:
http://www.chennailug.org/wiki/HowTo_Gettext
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
at you call "light".
gnet
http://www.gnetlibrary.org/
gnome-vfs
http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/index.html
libwww
http://www.w3.org/Library/
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
h
/API/2.0/glib/glib-Key-value-file-parser.html
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RY ("OAFIID:ExampleApplet_Factory",
> PANEL_TYPE_APPLET,
> "The Hello World Applet",
> "0",
> myexample_applet_fill,
> NULL);
>
>
> 4) for diaologs we've used another fucntion but thats only a alert box
> which we wanted modal!
>
>
> so basically as u said to make a dialog creation signature etc to get
> a GTKWidget, i could nt quite get
>
> Sorry if this is a silly query but i'm new to this and dunno how to
> handle bonobo component etc.
>
> Btw can u suggest a comprehensive source for understanding the
> basics.The different versions and their references are confusing.
>
> Thank u so much!
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gt; //("/usr/share/pixmaps/InmarsatIcon.png");
> event_box = gtk_event_box_new();
>
> gtk_container_add (GTK_CONTAINER (event_box), image);
>
> gtk_container_add (GTK_CONTAINER (applet), event_box);
>
> gtk_widget_show_all (GTK_WIDGET (applet));
>
>
> panel_applet_setup_menu (PANEL_APPLET (applet),
> Context_menu_un_xml,
> myexample_menu_verbs,
> NULL);
>
>
> return TRUE;
> }
>
> PANEL_APPLET_BONOBO_FACTORY ("OAFIID:ExampleApplet_Factory",
> PANEL_TYPE_APPLET,
> "The Hello World Applet",
> "0",
> myexample_applet_fill,
> NULL);
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
context menubar attched!!
Frankly I don't completely understand you.
If you need a modal dialog try gtk_dialog_run()
But this won't disable a panel applet. You should set insensitive all
items you want to be disabled on dialog's construction and unset them on
it's destroy.
--
bo), "l");
gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "z");
gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "x");
gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "c");
gtk_combo_box_append_text(GTK_COMBO_BOX(combo), "v");
gtk_combo_box_a
GTK_TREE_MODEL (store));
gtk_tree_view_insert_column ( GTK_TREE_VIEW(treeview), image_col, 0);
gtk_tree_view_insert_column ( GTK_TREE_VIEW(treeview), text_col, 1);
// this is yours
gtk_tree_store_append (GTK_TREE_STORE (
On Sat, 2005-03-19 at 07:20 -0800, Deekshit M wrote:
> Hi,
> I wanted to know, if I remove a page from a notebook
> will it DESTROY the child for the page also ?
Yes, but you can avoid it by increasing the reference count before to
remove the page.
--
I
On Thu, 2005-03-17 at 22:57 +0100, Sandi Winter wrote:
> how to copy folder using glib?
AFAIK there're no specific function for this on glib.
You should make a loop reading all the files and copying them, or try a
system() call and pray for the best.
--
Ia
w *window,
GDK_WINDOW_TYPE_HINT_UTILITY);
... before to show the window should work.
Regards.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi Gus,
On Fri, 2005-03-11 at 13:41 +0100, Gus Koppel wrote:
> No need for that! Speaking of the Linux kernel, OPEN_MAX is a legacy
> value without meaning any more.
Thanks for the hint :)
--
Iago Rubio
___
gtk-app-devel-list mailing list
g
english I've been coding for so long my
> brain is dead,
Your english is quite good, at least much better than mine.
My recommendation: always have the docs at your side, always check the
signal's callback prototype.
Regards.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
oop when it tries to poll more than 256 fds at once.
It makes sense ... read /usr/include/linux/limits.h
#define OPEN_MAX 256/* # open files a process may have */
It's not glib, but your kernel.
If you need to open more files in a sin
snip]
> I now, that it has to be a really stupid beginner mistake, but i can't find
> it,
> so please help me a little bit!!
I hope I did :)
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
e we could help you.
What load image function are you using ?
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
s indeed true.
Take a look at the documentation on g_timeout_add()
Regards.
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ditor);
gtk_container_add (GTK_CONTAINER (my_top_level_window), dbtableeditor);
if(!errors){
gnome_db_grid_set_model( (GnomeDbGrid*) dbtableeditor, dm);
}
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Fri, 2005-03-04 at 15:01 +0100, Maciej Katafiasz wrote:
> Dnia 04-03-2005, piÄ o godzinie 12:35 +0100, Iago Rubio napisaÅ:
> > On Thu, 2005-03-03 at 16:24 -0400, Andrà Pedralho wrote:
> > > I took it as correct cause it is auto-generated by another third
> > > famous
ou showed us but you've got one on glib.
http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-
Parser.html
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ier, than try to understand the somewaht
complex code generated by Glade. As example, you don't need to separate
all functions in a bunch of files, but you can easily do it in one file
for small test applications as yours.
Regards.
--
Iago Rubio
_
quot;binded" widgets you can pick a pointer from one
to another by name, as example:
dialog = lookup_widget(entry, "dialog");
entry = lookup_widget(button, "entry");
button = lookup_widget(label, "button");
label = lookup_widget(button, "label");
... and so on ...
--
Iago Rubio
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
1 - 100 of 113 matches
Mail list logo