I'm so sorry - when should I use weak reference?
Regards
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
For all which use google.
This is Simple class which allow popup menus:
public class TreeViewPopup : TreeView {
public TreeViewPopup(Menu m) {
this.m = m;
}
override protected bool OnButtonPressEvent(EventButton evnt) {
bool ret =
public class Kategorie : VBox {
public Kategorie() {
//...
PackStart(szukaj = new Entry(), false, false, 0); {
szukaj.Changed += delegate {filter.Refilter();};
} szukaj.Show();
return (nazwa.IndexOf(nazwa) -1);
^
I'm so sorry.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Dnia 14-10-2005, pią o godzinie 14:32 -0400, Matthias Clasen napisał(a):
On Fri, 2005-10-14 at 14:27 -0400, Brian Clark wrote:
(a.out:5100): libglade-WARNING **: could not find signal handler
'on_bok_clicked'.
(a.out:5100): libglade-WARNING **: could not find signal handler
I have singleton A and subclass B, C and D.
1. How do it in GObject?
2. Can I do something that I cannot have B or D at the same time?
Regards
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
I have class A(abstract), which is singleton. It have subclasses called
B, C and D.
Is it possible that create class B overload static A methods?
Something like:
mylib_b_init();
mylib_a_do_something(); //mylib_b_do_something
I prefer that user (it's library) can create next subclass.
Regards
Should I use gettext in GError messages?
In message is position of error in file.
Or it will be print on stdout or for example on GUI show fragment of
file.
Regards
--
Linux user: #376500 (see http://counter.li.org/)
--
W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym
Dnia 26-07-2005, wto o godzinie 10:42 +0200, Uzytkownik napisał(a):
I use GScanner to parse same file.
I test the first function of setting page size.
In file it's represent by: PAGE A4; or PAGE A4; etc.
This is parse loop:
static void parse_head(WocPagerParser *parser, GError **error
Error was in another place :)
Regards
--
W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym numerem
miesiêcznika Auto+.
http://www.a-plus.pl
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
I've this check function:
#include woc-pager-test.h
#include woc-pager-parser.c
#define TEST(name, cau) g_print(#name ...\t%s\n, cau ? OK : Fail)
void woc_pager_parser_test() {
WocPagerParser *parser = NULL;
TEST(Check GType, WOC_PAGER_PARSER_TYPE);
TEST(Init, parser =
Dnia 25-07-2005, pon o godzinie 15:21 +0100, Tim Müller napisał(a):
On Monday 25 July 2005 10:14, Uzytkownik wrote:
#define TEST(name, cau) g_print(#name ...\t%s\n, cau ? OK : Fail)
TEST(Init, parser = g_object_new(WOC_PAGER_PARSER_TYPE, NULL));
g_print(%p\n, parser-scanner
I'd like to check if libgda could create SQLite db.
$ cat sqlite-create.c
#include libgda/libgda.h
void do_connection() {
GdaClient *client;
GdaConnection *connection;
GdaCommand *command;
client = gda_client_new();
g_print(CONNECTING\n);
Dnia 24-06-2005, pią o godzinie 17:25 +0100, Tim Müller napisał(a):
On Friday 24 June 2005 16:59, Uzytkownik wrote:
I've problem with GHashTable:
(...)
self-private-check = g_hash_table_new(g_int_hash, g_int_equal);
g_hash_table_insert(self-private-check, GINT_TO_POINTER(3
Dnia 22-06-2005, śro o godzinie 18:25 -0400, Tristan Van Berkom
napisał(a):
Uzytkownik wrote:
Hi,
You should start off by reading:
http://www.le-hacker.org/papers/gobject/
1. In g_param_spec_enum I must have GType of this enum.
a) Why this function need it?
Its needed
1. In g_param_spec_enum I must have GType of this enum.
a) Why this function need it?
b) How create for enum GType?
2. I should register GType in package_name_get_type or
package_class_init:
a)
GType package_name_get_type() {
static GType type = 0;
if(type == 0) {
I'd like to call some function, when user select new file in
GtkFileChooserDialog.
What should I do?
I didn't find any signal like clicked or change?
Regards.
--
Linux user: #376500 (see http://counter.li.org/)
___
gtk-app-devel-list mailing list
Dnia 18-06-2005, sob o godzinie 12:05 +0200, Daniel Pekelharing
napisa(a):
On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote:
I'd like to call some function, when user select new file in
GtkFileChooserDialog.
GtkFileChooserButton
What should I do?
I didn't find any signal like clicked
1. How I should access to std{in,out,err} is recommended?
By FILE * or IOChannel *?
2. Can I create one GsfOutput, which automatically send to two(or more)
another?
Best regards
--
Linux user: #376500 (see http://counter.li.org/)
___
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
How copy hash table without g_hash_table_foreach?
Is it possible in one line of code?
Regards.
- --
Linux user: #376500 (patrz http://counter.li.org/)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I've got callback function:
void on_BUstaw_clicked(GtkWidget *widget, gpointer *_data)
{
Data* data = (Data*)_data;
if(data-id == 20)
{
DEB(g_print(id == 20\n));
return;
}
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I'm newbie in GObject(before I use C++).
Can I create object with arguments?
In C++:
class xyz
{
public:
xyz(int i);
};
Regards.
- --
Linux user: #376500 (see http://counter.li.org/)
-BEGIN PGP SIGNATURE-
Version:
22 matches
Mail list logo